On Mar 22, 2011, at 8:24 PM, Leo wrote:
> Sorry, wrong answer.
> Postgres was NOT running - maybe I was not clear
>
> Editing postgres-8.4-openscg , I changed the -w (wait option on pg_ctl) to -W and now it behaves the same as when
unix_socket_directory had no value in postgresql.conf
>
> So it is clear that pg_ctl is waiting for some event that is not there when the socket dirrectory is modified.
>
> Try it yourself, put a value on unix_socket_directory and you will see what I am talking about
>
> BTW the /etc/init.d/postgres-8.4-openscg is also wrong : it fails to create the directory '/var/run/postgresql' -
Ihad to add a mkdir on the /etc/init.d/postgres-8.4-openscg
>
> Please check this out - thanks
>
Its of OpenSCG installer. I have tried on RHEL. Seems to me working. However, I would recommend to contact OpenSCG.
Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
vibhor.kumar@enterprisedb.com
Blog:http://vibhork.blogspot.com