On Mar 21, 2011, at 9:01 PM, Leo wrote:
> The first problem was that the unix_socket_directory assumes '/tmp'
> DBD:Pg will not connect on /tmp so I had to change in postgresql.conf
>
> unix_socket_directory = '/var/run/postgresql'
>
> Now DBD:pg connects - (had to adjust Webmin also)
>
> However after changing the socket dir, the /etc/init.d/postgres-8.4-openscg start command says
>
> Starting PostgreSQL 8.4:
> waiting for server to start...............................................................could not start server
> The PostgreSQL server start seems to have some problems, please see logs for details.
>
Reason: PostgreSQL is running and you are using Start Option.
Try:
./postgres-9.0-openscg restart
Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
vibhor.kumar@enterprisedb.comBlog:
http://vibhork.blogspot.com