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.