Skip site navigation (1) Skip section navigation (2)

postmaster -D PGDATA and

From: "Medi Montaseri" <montaseri(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: postmaster -D PGDATA and
Date: 2007-11-27 03:34:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

I am configuring a PG 8.1.9 on CentOS 5. I am seeing some anomalies and
would like you feedback.
I have defined a new PGDATA=/qmsvol/pg_8.1.9/data, ran initdb -D
/qmsvol/pg_8.1.9/data successfully and can start the engine with pg_ctl -D

I have also populated /etc/sysconfig/pgsql/postgresql which overrides PGDATA
and PGLOG to my values.

However if I try to start the engine with "/etc/init.d/postgresql start " or
service postgresql start" I see the following error message in my PGLOG (ie

postmaster cannot access the server configuration file
"/qmsvol/pg_8.1.9/data/postgresql.conf": Permission denied

ls -ld /qmsvol /qmsvol/pg_8.1.9 /qmsvol/pg_8.1.9/data
drwxrwxrwx  4 root     root     4096 Nov 26 10:39 /qmsvol
drwx------  3 postgres postgres 4096 Nov 26 11:25 /qmsvol/pg_8.1.9
drwx------ 11 postgres postgres 4096 Nov 26 12:04 /qmsvol/pg_8.1.9/data
-rw------- 1 postgres postgres 13699 Nov 26 11:25

Any ideas ?



pgsql-admin by date

Next:From: Tom LaneDate: 2007-11-27 03:48:46
Subject: Re: postmaster -D PGDATA and
Previous:From: Elvis HenrĂ­quezDate: 2007-11-27 03:34:09
Subject: Case studies

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group