[Bucardo-general] Some more questions

Hadri Rahman hadri90 at gmail.com
Fri Nov 7 02:54:54 UTC 2014


A psql connection (via user postgres) seems to work:

postgres at vmachine:$ psql -h localhost -p -5432 -U bucardo bucardo
Password for user bucardo:
psql (9.1.14)
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.

bucardo=#

So I then quit the psql console, edited line 8627, and ran the installer
again, but I received the same error message:

"INSTALLATION FAILED! Looks like you already have Bucardo installed there.
Try running "Bucardo upgrade" instead.

On Fri, Nov 7, 2014 at 4:00 AM, Greg Sabino Mullane <greg at endpoint.com>
wrote:

> On Thu, Nov 06, 2014 at 12:18:00PM +0800, Hadri Rahman wrote:
> > DBI connect('dbname=bucardo;host=localhost;port=5432','bucardo',...)
> > failed: fe_sendauth: no password supplied at /usr/local/bin/bucardo line
> > 8627.
>
> Hmmm.. does a psql connection as the bucardo user work?:
>
> psql -h localhost -p 5432 -U bucardo bucardo
>
> If so, you might try changing the empty password string at line
> 8627 to an undef. It shouldn't matter, but might be worth a shot:
>
>   $dbh = DBI->connect($BDSN, 'bucardo', '',
> {AutoCommit=>0,RaiseError=>1,PrintError=>0});
> to:
>   $dbh = DBI->connect($BDSN, 'bucardo', undef,
> {AutoCommit=>0,RaiseError=>1,PrintError=>0});
>
>
> --
> Greg Sabino Mullane greg at endpoint.com
> End Point Corporation
> PGP Key: 0x14964AC8
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20141107/e3225016/attachment.html>


More information about the Bucardo-general mailing list