[Bucardo-general] can't put a simple test working. :(

Alexandre Rodrigues alex454 at gmail.com
Mon Jun 28 10:42:24 UTC 2010


Hello Joshua.

Thanks for your response, I have initdb in my path, I also tried to run the
test under postgres user, but unfortunately the same result.

I tried also to installed and run bucardo with a simple example, but bucardo
doesn't update the slave table. I get this status:

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Days back: 3  User: bucardo  Database: bucardo  PID of Bucardo MCP: 13162
Name Type  State         PID   Last_good Time  I/U/D Last_bad Time
====+=====+=============+=====+=========+=====+=====+========+====
test| S   |WAIT:65h7m17s|13167|unknown  |     |     |unknown |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Is there a way to do a small debug to understand what is happening??


Thanks in advance,

Alex

2010/6/25 Joshua Tolley <josh at endpoint.com>

> On Fri, Jun 25, 2010 at 05:43:05PM +0100, Alexandre Rodrigues wrote:
> >    Hello all,
> >
> >    I installed bucardo in a CentOS release 5.5 with postgres 8.4.4, but i
> >    can't put a simple example working. Bucardo starts but the tables
> don't
> >    synchronize.
> >
> >    I get the following output in the bucardo make test:
> >
> >
>  /////////////////////////////////////////////////////////////////////////////////////////////////
> >
> >    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> >    "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> >    t/01-basic.....................ok
> >    t/02-monkey_with_db_table......Could not open
> >    "bucardo_test_database_A_8.4.4/postgresql.conf": No such file or
> directory
> >    # Looks like your test died before it could output anything.
>
> I wonder if maybe PostgreSQL's initdb command isn't in your path. The test
> needs to be able to find it to create test database clusters, but since it
> can't find postgresql.conf, it looks like initdb isn't correctly creating
> the
> test databases.
>
> --
> Josh Tolley   josh at endpoint.com   801-987-0252
> End Point Corporation  http://www.endpoint.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkwlMXkACgkQRiRfCGf1UMNz4ACgmvvb/21qk5sRCIwb2LtBPR7G
> uMsAn1pbdVOnl/mvFc+WG0fmy9x2h/aO
> =TIi+
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20100628/dd09b06d/attachment.html 


More information about the Bucardo-general mailing list