Forum .LRN Q&A: postgresql socket problem

42: postgresql socket problem (response to 1)
Posted by Jeremy Monnet on
Hi all,

I've just tried that package, and it works fine, except one problem I also had with a manual install : aolserver looks for the postgresql socket in /tmp/.s.PGSQL.5432, while it is created (default debian startup script) in /var/run/postgresql/.s.PGSQL.5432.

I'm not sur if it should try and look for the socket anyway : in the logs the network port is specified "Notice: dbdrv: opening database 'postgres::5432:dotlrn'". Does this mean that the host is not entered correctly ?
What I have experienced with aolserver is : if the database is on localhost, it will try the socket, if it is another ip address, it will connect via the network. What is the prefered way ?

Thanks for your help !