[Bucardo-general] installation support

Greg Sabino Mullane greg at endpoint.com
Wed Jun 3 18:07:20 UTC 2015


On Wed, Jun 03, 2015 at 01:44:31AM +0200, Ahmed JABALLAH wrote:
> im trying to install bucardo after  bucardo install ihave this error :
> 
> 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"? at
> /usr/local/bin/bucardo line 308.

Well the obvious question is what port and socket is Postgres running on? 
My guess is that something is expecting /var/run/postgresql but the 
actual socket directory is /tmp. Debian doesn't like using /tmp, so you 
are probably using Debian (or Ubuntu). The easiest solution may be 
to simply adjust your postgresql.conf and add /tmp to your 
unix_socket_directories. That way programs are happy no matter which 
socket directory they expect.

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Digital signature
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20150603/5205de59/attachment.sig>


More information about the Bucardo-general mailing list