AW: [DRBD-user] how to fix dopd-bug "Refusing to be Primarywhilepeer is not outdated"

Schmidt, Florian florian.schmidt at centric-it.de
Mon Aug 4 11:17:50 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.



> -----Ursprüngliche Nachricht-----
> Von: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-
> bounces at lists.linbit.com] Im Auftrag von Lars Ellenberg
> Gesendet: Montag, 4. August 2008 11:11
> An: drbd-user at lists.linbit.com
> Betreff: Re: [DRBD-user] how to fix dopd-bug "Refusing to be Primarywhilepeer is
> not outdated"
> 
> On Mon, Aug 04, 2008 at 10:19:01AM +0200, Schmidt, Florian wrote:
> > >
> > > you can find and download fixed dopd and drbd-peer-outdater binaries for
> some
> > > distributions there:
> > > http://www.linbit.com/support/hotfix/dopd_heartbeat_2.1.3/
> > >
> >
> > Hey Lars,
> >
> > At first thanks a lot for the URL :)
> >
> > I just replaced the two binaries on my RHEL5 Kernel: 2.6.18-53.el5
> > with the 2 binaries from RHEL5-directory
> > http://www.linbit.com/support/hotfix/dopd_heartbeat_2.1.3/rhel5-i386/
> >
> > But somehow heartbeat cannot start dopd:
> >
> > In /var/log/Linux-debug I can find this:
> >
> > heartbeat[16638]: 2008/08/04_09:52:08 info: Starting "/usr/lib/heartbeat/dopd
> " as uid 24  gid 24 (pid 16638)
> > heartbeat[16310]: 2008/08/04_09:52:08 WARN: Managed /usr/lib/heartbeat/dopd
> process 16638 exited with return code 127.
> > heartbeat[16310]: 2008/08/04_09:52:08 ERROR: Respawning client
> "/usr/lib/heartbeat/dopd         ":
> >
> > And triggering /usr/lib/heartbeat/dopd prints this:
> > ./dopd: symbol lookup error: ./dopd: undefined symbol: cl_strdup
> 
> oh :(
> 
> > did I choose the wrong binaries or is something still misconfigured?
> 
> Maybe we screwed up, and forgot some build step.  I have to recheck that.
> 
> unlikely (because the replaced (but broken) dopd seemed to work), but
> maybe there is something missing in your setup?
> 
> what is "ldd dopd" saying?

# ldd dopd
        linux-gate.so.1 =>  (0x00b8d000)
        libplumb.so.1 => /usr/lib/libplumb.so.1 (0x00b4b000)
        libpils.so.1 => /usr/lib/libpils.so.1 (0x00b73000)
        libhbclient.so.1 => /usr/lib/libhbclient.so.1 (0x00b81000)
        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x006e2000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x0079f000)
        libz.so.1 => /usr/lib/libz.so.1 (0x006cd000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00c90000)
        libc.so.6 => /lib/libc.so.6 (0x004d7000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x0049b000)
        libpam.so.0 => /lib/libpam.so.0 (0x0082a000)
        librt.so.1 => /lib/librt.so.1 (0x006c2000)
        libdl.so.2 => /lib/libdl.so.2 (0x00619000)
        libm.so.6 => /lib/libm.so.6 (0x00638000)
        /lib/ld-linux.so.2 (0x004ba000)
        libaudit.so.0 => /lib/libaudit.so.0 (0x004a1000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x0061f000)

> my current understanding is, that symbol (cl_strdup) should be defined
> in "libplumb.so" which is part of the plumbing library of heartbeat.


> find / -name *libplumb*
/usr/lib/libplumbgpl.so.1.0.0
/usr/lib/libplumb.so.1.0.0
/usr/lib/libplumbgpl.so.1
/usr/lib/libplumb.so.1


rpm -qa|grep heart
heartbeat-common-2.1.3-23.1
pacemaker-heartbeat-0.6.5-8.2
heartbeat-resources-2.1.3-23.1
heartbeat-devel-2.1.3-23.1
heartbeat-2.1.3-23.1

Greetings
Florian

> --
> : Lars Ellenberg                           http://www.linbit.com :
> : DRBD/HA support and consulting             sales at linbit.com :
> : LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
> : Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
> __
> please don't Cc me, but send to list -- I'm subscribed
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list