From: rocael@usa.net
To: pgsql-sql@postgresql.org
Subject: `postgresql.conf' has wrong permissions???
Date: 3 Aug 2001 13:08:13 MDT
Message-ID: <20010803190813.1536.qmail@nwcst31g.netaddress.usa.net> (raw)
Hi,
I have a trouble when I try to start my postgres server (pg7.1 installed from
source), it has been running postgres ok, then my linux redhat 7.1 box was
rebooted (without stoping postgres), now I tried to run again the postgres
server and I got this message:
FATAL 1: configuration file `postgresql.conf' has wrong permissions
I tried to run it as usual with this commands:
as root
su -l postgres -c '/usr/local/pgsql/bin/postmaster -B 1000 -o "-S 2000" -S -D
/usr/local/pgsql/data'
as postgres
[postgres@localhost pgsql]$ bin/postmaster -D data/
in both cases I got the same error message, this is the first time I have this
trouble, I have stopped and restarted that DB server a lot of times.
my directories permissions says:
ls -la /usr/local/
drwxr-x--x 9 postgres web 4096 Jul 30 18:07 pgsql
ls -la /usr/local/pgsql
drwxrwxrwx 2 postgres web 4096 Jun 29 23:15 bin
drwxrwxrwx 5 postgres web 4096 Aug 3 09:19 data
drwxrwxrwx 3 postgres web 4096 Jun 29 23:15 doc
-rwxrwxrwx 1 postgres web 747 Jun 29 17:22 .emacs
drwxrwxrwx 4 postgres web 4096 Jun 29 23:15 include
drwxrwxrwx 2 postgres web 4096 Jul 2 10:09 lib
drwxrwxrwx 4 postgres web 4096 Jun 29 23:15 man
-rwxrwxrwx 1 postgres web 46 Jul 30 20:29 .psql_history
-rwxrwxrwx 1 postgres web 3728 Jun 29 17:22 .screenrc
drwxrwxrwx 2 postgres web 4096 Jun 29 23:15 share
ls -la /usr/local/pgsql/data/
drwxrwxrwx 5 postgres web 4096 Aug 3 09:19 .
drwxr-x--x 9 postgres web 4096 Jul 30 18:07 ..
drwxrwxrwx 10 postgres web 4096 Jul 26 12:46 base
drwxrwxrwx 2 postgres web 4096 Jul 2 10:52 global
-rwxrwxrwx 1 postgres web 7399 Jun 29 23:15 pg_hba.conf
-rwxrwxrwx 1 postgres web 1118 Jun 29 23:15 pg_ident.conf
-rwxrwxrwx 1 postgres web 4 Jun 29 23:15 PG_VERSION
drwxrwxrwx 2 postgres web 4096 Aug 2 23:09 pg_xlog
-rwxrwxrwx 1 postgres web 3137 Jun 29 23:15 postgresql.conf
-rwxrwxrwx 1 postgres web 93 Jul 30 22:31 postmaster.opts
I just did chmod 777 -R /usr/local/pgsql
Is not working...
One thing to note is that before I rebooted linux I did this:
chmod 755 -R /usr/local/pgsql
I did this when postgresql was alredy running, and the reason is because I
needed that for a driver works well.
Please help me, I don't know what to do now!
Thank you,
Greetings,
Rocael.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: rocael@usa.net
Subject: Re: `postgresql.conf' has wrong permissions???
In-Reply-To: <20010803190813.1536.qmail@nwcst31g.netaddress.usa.net>
References: <20010803190813.1536.qmail@nwcst31g.netaddress.usa.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox