Re: problem with pg_standby - Mailing list pgsql-general

From Gerd Koenig
Subject Re: problem with pg_standby
Date
Msg-id 201008040716.37369.koenig@transporeon.com
Whole thread Raw
In response to Re: problem with pg_standby  (Greg Smith <greg@2ndquadrant.com>)
Responses Re: problem with pg_standby
List pgsql-general
Hello Greg,

thanks for the hint, yes, SELinux caused the troubles. It complained about
wrong filecontext while starting postgres via init-script.

Filecontext was: var_lib_t and it should be: postgresql_t

regards...GERD....

On Tuesday, August 03, 2010 11:54:45 pm Greg Smith wrote:
> Gerd Koenig wrote:
> > Since even the init-script starts pg as user postgres I have no idea what
> > differs from init-script to direct call of pg_ctl as user postgres...?!?!
>
> Do you have SELinux turned on?  That can do weird stuff like this--the
> init script will be running with restrictions the manual pg_ctl launch
> will not have.  Should be information in /var/log/ somewhere if that's
> the case.

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: PG 8.4 won't start on Windows Server 2008 64-bit
Next
From: Tom Lane
Date:
Subject: Re: PG 8.4 won't start on Windows Server 2008 64-bit