Re: [GENERAL] postgresql fails to start after symlinking pgdata dir

2007-02-05 Thread Gene
Tom, You were right i just considered that a few minutes ago before getting your response. I set SELINUX=disabled in /etc/sysconfig/selinux and it started up ok. a note in this file: http://pgfoundry.org/docman/?group_id=148 would be handy for those who forget easily and aren't sysadmins :)

Re: [GENERAL] postgresql fails to start after symlinking pgdata dir

2007-02-05 Thread Tom Lane
Gene <[EMAIL PROTECTED]> writes: > In the past I've always done the following with success (this is under > fedora core 6 x86_64): > mv /var/lib/pgsql/data /data/pg/ > ln -s /data/pg/data /var/lib/pgsql/data > /etc/init.d/postgresql start > I just installed 8.2.2 on a new FC6 machine and when I d

[GENERAL] postgresql fails to start after symlinking pgdata dir

2007-02-05 Thread Gene
In the past I've always done the following with success (this is under fedora core 6 x86_64): mv /var/lib/pgsql/data /data/pg/ ln -s /data/pg/data /var/lib/pgsql/data /etc/init.d/postgresql start I just installed 8.2.2 on a new FC6 machine and when I do that it fails to start. The logs reveal no