On Fri, Dec 05, 2014 at 09:21:27AM +0800, Najwa Hasdi wrote:
> DBI connect('dbname=bucardo','bucardo',...) failed: could not connect to
> server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?This seems to indicate that you have a mismatch in where the socket directory is. Can you verify that the file /var/run/postgresql/.s.PGSQL.5432 does not exist? You may want to see if /tmp/.s.PGSQL.5432 exists, as /tmp is a more common socket directory than /var/run/postgresql. If it *is* /tmp and not /var/run/postgresql, then you have to fix the mismatch somehow. Make sure no environment variables are pointing you there (esp. PGHOST). You could force it to behave by setting PGHOST to /tmp, but it would be better to figure out what is trying to set /var/run/postgresql first. Your best bet to unraveling this is to probably talk through it on the #postgresl channel on irc.freenode.net. -- Greg Sabino Mullane [email protected] End Point Corporation PGP Key: 0x14964AC8
signature.asc
Description: Digital signature
_______________________________________________ Bucardo-general mailing list [email protected] https://mail.endcrypt.com/mailman/listinfo/bucardo-general
