PostgreSQL Problem

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Post Reply
Young Hen
Posts: 33
Joined: Mon May 14, 2012 22:40

PostgreSQL Problem

Post by vfafou » Tue Aug 27, 2013 21:43

I have a problem with PostgreSQL 9.2.
I have installed all required packages but when:

Code: Select all

[email protected] ~ $ /usr/lib/postgresql-9.2/bin/postgres -D /var/lib/postgresql/9.2/data

it returns:

Code: Select all

postgres cannot access the server configuration file "/var/lib/postgresql/9.2/data/postgresql.conf": Permission denied

Note that it is a fresh PostgreSQL installation. The file postgresql.conf has been placed in the path required by me manually and I have changed its permissions so vasilis can read and write it.

I have tried all pg documentation cases, all Gentoo forum suggestions but the problem still persists.

Thank you in advance!

Baby Hen
Posts: 6
Joined: Tue Aug 27, 2013 12:23

Re: PostgreSQL Problem

Post by wokko7 » Tue Aug 27, 2013 23:39

Try those commands as root instead of user.
I know this is gentoo but have a look at this.

Post Reply