vars-ubuntu

15 views
Skip to first unread message

ssm...@txbiomed.org

unread,
Sep 24, 2018, 1:23:50 PM9/24/18
to transmart-discuss

Hi, 


I ran the following commands to try and set up the environment:  


sudo make -C env ubuntu_deps_root


make -C env ubuntu_deps_regular


I then ran the php cars-ubuntu.php and still getting the error:


Patch dir permits for TABLESPACES

chmod: cannot access '/home/transmart/pg/tablespaces//*': No such file or directory


Can I set these up manually or will it give me problems later?


Thanks, 


Sandy











Peter Rice

unread,
Sep 24, 2018, 2:07:04 PM9/24/18
to transmar...@googlegroups.com, ssm...@txbiomed.org
Hi Sandy,

Maybe the home directory is not the best place.

The tablespace directories should be owned by user postgres, group
postgres and no access to other users.

For postgres, it should set them up for you but can have a problem if
the postgres user cannot see the directory

You can also add them by hand. They should look like this:

ls -al /data/POSTGRESQL_tablespaces/
total 28
drwxr-xr-x 7 postgres postgres 4096 Mar 24 2016 ./
drwxrwxrwx 10 root root 4096 Oct 27 2017 ../
drwx------ 3 postgres postgres 4096 Sep 21 08:13 indx/
drwx------ 3 postgres postgres 4096 Sep 21 08:13 transmart/

Ah, looks like you ran the install script for this part (that's where
the 'Patch dir permits' message appears when it tries to set the
tablespace directory access with chmod 700) - that will put the
tablespaces in /var/lib/postgresql/tablespaces.

Once created successfully it should happily use existing directories.

Hope that helps

Peter Rice
Axiomedix Inc.
> --
> For more ways to get in contact with the tranSMART community visit
> https://wiki.transmartfoundation.org/display/transmartwiki/Getting+Support
> ---
> You received this message because you are subscribed to the Google
> Groups "transmart-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to transmart-disc...@googlegroups.com
> <mailto:transmart-disc...@googlegroups.com>.
> To post to this group, send email to transmar...@googlegroups.com
> <mailto:transmar...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/transmart-discuss/fd719fbe-c8f8-4556-ad07-263f80075b71%40googlegroups.com
> <https://groups.google.com/d/msgid/transmart-discuss/fd719fbe-c8f8-4556-ad07-263f80075b71%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

---
This email has been checked for viruses by AVG.
https://www.avg.com

Reply all
Reply to author
Forward
0 new messages