Re: problem with pg_standby

From: Gerd Koenig <koenig(at)transporeon(dot)com>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: problem with pg_standby
Date: 2010-08-04 05:16:37
Message-ID: 201008040716.37369.koenig@transporeon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-08-04 05:19:57 Re: Question about Idle in TX
Previous Message Craig Ringer 2010-08-04 04:58:45 Re: PG 8.4 won't start on Windows Server 2008 64-bit