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: Lars Ellenberg [mailto:lars.ellenberg at linbit.com] > Gesendet: Montag, 4. August 2008 18:31 > An: Schmidt, Florian > Cc: drbd-user at lists.linbit.com > Betreff: Re: [DRBD-user] how to fix dopd-bug "Refusing to bePrimarywhilepeer is > not outdated" > > 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[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 > > 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 > environment, too. > > 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. Yes, the plan sounds good for me, too. Are there any news concerning this problem? Can I help somehow? > thanks for being our guinea pig ;) No problem ;) > > -- > : 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