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

postgres@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 <[email protected]>
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 [email protected]
> End Point Corporation
> PGP Key: 0x14964AC8
>
_______________________________________________
Bucardo-general mailing list
[email protected]
https://mail.endcrypt.com/mailman/listinfo/bucardo-general

Reply via email to