[Bucardo-general] sync is not active

Jaime Casanova jaime at 2ndquadrant.com
Tue Nov 22 19:42:43 UTC 2011

On Tue, Nov 22, 2011 at 1:37 PM, Greg Sabino Mullane <greg at endpoint.com> wrote:
> On Tue, Nov 22, 2011 at 11:38:01AM -0500, Jaime Casanova wrote:
> ...
>> if i execute "bucardo_ctl activate inicial" it never ends (at least i
>> leave it all night and it did nothing)
>> am i missing something? any ideas what's wrong?
> Something in the activation is failing, which will prevent it from
> becoming active. Check the logs, it should tell you why. The most
> usual cause is a schema mismatch between the source and the target
> (e.g. a target table is missing a column that is on the source).


Actually i recreate everything from scracht but this time added both
databases before add the tables and found out that log.bucardo has
root ownership so i changed it to postgres, not sure if any of that
made any difference but once i tried again the sync was "active" but
know is running and doing nothing
postgres at debian3:~$ bucardo_ctl kick inicial 0
Kick inicial: [1955 s]

in the log after inspecting all columns in all tables in the herd and
create the controller for the sync, last thing it appears is this:
[Tue Nov 22 14:06:57 2011]  CTL Created new kid 5370 for sync
"inicial" to database "clinica_slave"
[Tue Nov 22 14:06:58 2011]  KID New kid, syncs "clinica" to
"clinica_slave" for sync "inicial" alive=1 Parent=5332 Type=fullcopy
[Tue Nov 22 14:06:58 2011]  KID PID: 5370
[Tue Nov 22 14:06:58 2011]  KID Bucardo database backend PID is 5371
[Tue Nov 22 14:07:00 2011]  KID Source database backend PID is 5375
[Tue Nov 22 14:07:01 2011]  KID Target database backend PID is 22289
[Tue Nov 22 14:07:01 2011]  KID Source backend PID: 5375. Target
backend PID: 22289
[Tue Nov 22 14:07:02 2011]  KID Nothing to do: no entry found in the q
table for this sync

so, i guess i'm still missing something

Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

More information about the Bucardo-general mailing list