[Bucardo-general] Installer question

Alex Balashov abalashov at evaristesys.com
Fri Jan 7 09:30:17 UTC 2011


Tim,

I think I ran into this as well when installing.  In my case, the 
issue stems from the fact that from the point of the Postgres 
authentication mechanism, connecting to 127.0.0.1 is not the same as 
connecting to "localhost."  Try change your connection settings to 
have a host of 127.0.0.1.

Cheers,

-- Alex

On 01/07/2011 04:09 AM, Tim Lloyd wrote:

> Hi Everyone
>
> I'm new to Bucardo and looking to migrate a Slony cluster to it once
> I've got it up and running. I've got the package on an Ubuntu Lucid
> 10.04 platform with PostgreSQL 8.4 and all dependencies are met.
>
> When trying to install Bucardo, as follows:
>
> Current connection settings:
> 1. Host:          localhost
> 2. Port:          5432
> 3. User:          censornet
> 4. Database:      censornet
> 5. PID directory: /var/run/bucardo
> Enter a number to change it, P to proceed, or Q to quit:
>
> I press P to proceed, it prompts me for the password for user
> 'censornet' which I give it:
>
> Password for user censornet:
> Postgres version is: 8.4
> Attempting to create and populate the bucardo database and schema
> Password for user censornet:
>
> It then asks me for the password for 'bucardo' user:
>
> Password for user bucardo:
>
> Now according to the documentation on your wiki, it says the installer
> will create a Bucardo user with no password and what I should do is use
> pg_hba.conf to trust the connection.
>
> So I tried the following two lines separately in pg_hba.conf, each time
> restarting PostgreSQL:
>
> local all bucardo trust
>
> then
>
> host all bucardo 127.0.0.0/8 trust
>
> The installer always prompts for the Bucardo password and it bombs out
> with this error:
>
> INSTALLATION FAILED! (psql:/usr/local/share/bucardo/bucardo.schema:15:
> \connect: FATAL:  password authentication failed for user "bucardo"
> )
>
> Installation cannot proceed unless the Pl/PerlU language is available
> This is usually available as a separate package
> For example, you might try: yum install postgresql-plperl
> If compiling from source, add the --with-perl option to your ./configure
> command
>
> FYI I have postgresql-plperl-8.4 package also installed:
>
> postgresql-plperl-8.4                                 8.4.6-0ubuntu10.04
>
> I would appreciate it if anyone could point me in the right direction,
>
> Thanks,
>
> TIm
> _______________________________________________
> Bucardo-general mailing list
> Bucardo-general at bucardo.org
> https://mail.endcrypt.com/mailman/listinfo/bucardo-general


-- 
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/


More information about the Bucardo-general mailing list