[DRBD-user] how to fix dopd-bug "Refusing to be Primarywhilepeer is not outdated"
lars.ellenberg at linbit.com
Mon Aug 4 18:30:32 CEST 2008
On Mon, Aug 04, 2008 at 11:17:50AM +0200, Schmidt, Florian wrote:
> > > 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: 2008/08/04_09:52:08 info: Starting "/usr/lib/heartbeat/dopd
> > " as uid 24 gid 24 (pid 16638)
> > > heartbeat: 2008/08/04_09:52:08 WARN: Managed /usr/lib/heartbeat/dopd
> > process 16638 exited with return code 127.
> > > heartbeat: 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*
> rpm -qa|grep heart
strange, it should have "just worked".
Johannes contacted you offlist and sent you re-built binaries.
I took the hotfix download thing offline until we can confirm for all of
these binaries that they actually work outside the linbit build
one would expect that downloading the src.rpm, patching
dopd.c and drbd-peer-outdater.c, and rpmbuild'ing the thing
would produce suitable hotfix binaries,
but as it did not work for you, aparently that would be too easy.
thanks for being our guinea pig ;)
: 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
More information about the drbd-user