Hi Andrew, Problem solved: for some unclear reason were permissions on the first server for:
/usr/lib64/heartbeat only "400" for root ! - so simple: chmod 755 /usr/lib64/heartbeat did the trick ... Thank you very much for your time! Nikita Michalko Am Montag, 28. November 2011 00:33:37 schrieb Andrew Beekhof: > On Fri, Nov 25, 2011 at 3:07 AM, Nikita Michalko > > <michalko.sys...@a-i-p.com> wrote: > > Hi Andrew, > > > > it did't help: I've #ifdef'd out. the reference to > > `terminate_ais_connection' i the file > > Pacemaker-1-1-c86cb93c5a57/crmd/control.c, succesfully compiled & > > installed PM, but after start of heartbeat am I faced with following > > errors: heartbeat: [14007]: WARN: Managed /usr/lib64/heartbeat/attrd > > process 14270 exited with return code 126 > > ERROR: Respawning client "/usr/lib64/heartbeat/attrd": and so on for > > other demons/programms too: crmd, ccm, cib. > > Ok, so it did help - it let you compile it. That it doesn't run is a > different issue. > > What distro/arch is this running on? > > > - see ha-log attached > > > > Interesting : > > on the second server runs all like a charm ... > > > > OS: SLES11/SP1 > > > > ha.cf: > > logfile /var/log/ha-log > > debugfile /var/log/ha-debug > > debug 0 > > cluster HLUG708 > > logfacility local1 > > udpport 708 > > ucast eth0 hlugl9 > > ucast eth1 hlugl9 > > ucast eth2 hlugl9 > > coredumps true > > auto_failback on > > keepalive 5 > > warntime 10 > > deadtime 15 > > initdead 120 > > node hlugl8 > > node hlugl9 > > crm respawn > > autojoin other > > > > Any ideas ? > > > > TIA! > > > > Nikita Michalko > > > > Am Freitag, 21. Oktober 2011 03:12:31 schrieb Andrew Beekhof: > >> Looks like do_ha_control() is calling corosync specific functions when > >> only support for heartbeat is being built. > >> They'd just need to be #ifdef'd out. > >> > >> > >> On Thu, Oct 20, 2011 at 9:54 PM, Nikita Michalko > >> > >> <michalko.sys...@a-i-p.com> wrote: > >> > Hi all, > >> > > >> > the next problem I need help ;-( > >> > PM Version: 1.1.5 (Pacemaker-1-1-c86cb93c5a57.tar.bz2) > >> > - configured with: > >> > configure --prefix=$PREFIX --localstatedir=/var --sysconfdir=/etc > >> > --with- heartbeat --with-stonith --with-pacemaker > >> > --with-daemon-user=$CLUSTER_USER -- with-daemon-group=$CLUSTER_GROUP > >> > --enable-fatal-warnings=no --with-ras- set=linux-ha > >> > > >> > After "make" I get the following error: > >> > ... > >> > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../include > >> > -I../include - I../libltdl -I../libltdl -I/usr/include/glib-2.0 - > >> > I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -g -O2 > >> > -I/usr/include - I/usr/include/heartbeat -ggdb3 -O0 -fgnu89-inline > >> > -fstack-protector-all -Wall - Waggregate-return -Wbad-function-cast > >> > -Wcast-align -Wdeclaration-after-statement -Wendif-labels > >> > -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral - > >> > Winline > >> > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs > >> > -Wno-long- long -Wno-strict-aliasing -Wpointer-arith > >> > -Wstrict-prototypes -Wwrite-strings - MT te_callbacks.o -MD -MP -MF > >> > .deps/te_callbacks.Tpo -c -o te_callbacks.o te_callbacks.c > >> > mv -f .deps/te_callbacks.Tpo .deps/te_callbacks.Po > >> > /bin/sh ../libtool --tag=CC --tag=CC --mode=link gcc -std=gnu99 -g > >> > -O2 - I/usr/include -I/usr/include/heartbeat -ggdb3 -O0 > >> > -fgnu89-inline -fstack- protector-all -Wall -Waggregate-return > >> > -Wbad-function-cast -Wcast-align - Wdeclaration-after-statement > >> > -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat- security > >> > -Wformat-nonliteral -Winline > >> > -Wmissing-prototypes -Wmissing- declarations -Wnested-externs > >> > -Wno-long-long -Wno-strict-aliasing -Wpointer- arith > >> > -Wstrict-prototypes -Wwrite-strings -o crmd main.o crmd.o corosync.o > >> > fsa.o control.o messages.o ccm.o callbacks.o election.o join_client.o > >> > join_dc.o subsystems.o cib.o pengine.o tengine.o lrm.o utils.o misc.o > >> > te_events.o te_actions.o te_utils.o te_callbacks.o -lhbclient > >> > -lccmclient -llrm ../lib/fencing/libstonithd.la > >> > ../lib/transition/libtransitioner.la ../lib/pengine/libpe_rules.la > >> > ../lib/cib/libcib.la > >> > ../lib/common/libcrmcluster.la ../lib/common/libcrmcommon.la -lplumb > >> > -lpils - lbz2 -lxslt -lxml2 -lc -lglib-2.0 -luuid -lrt -ldl > >> > -lglib-2.0 -lltdl libtool: link: gcc -std=gnu99 -g -O2 -I/usr/include > >> > -I/usr/include/heartbeat - ggdb3 -O0 -fgnu89-inline > >> > -fstack-protector-all -Wall -Waggregate-return -Wbad- function-cast > >> > -Wcast-align > >> > -Wdeclaration-after-statement -Wendif-labels -Wfloat- equal -Wformat=2 > >> > -Wformat-security -Wformat-nonliteral -Winline -Wmissing- prototypes > >> > -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict- > >> > aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -o > >> > .libs/crmd main.o crmd.o corosync.o fsa.o control.o messages.o ccm.o > >> > callbacks.o election.o join_client.o join_dc.o subsystems.o cib.o > >> > pengine.o tengine.o lrm.o utils.o misc.o te_events.o te_actions.o > >> > te_utils.o te_callbacks.o /usr/lib64/liblrm.so > >> > ../lib/fencing/.libs/libstonithd.so -L/usr/lib64 -L/lib64 > >> > /usr/lib64/libstonith.so ../lib/transition/.libs/libtransitioner.so > >> > ../lib/pengine/.libs/libpe_rules.so ../lib/cib/.libs/libcib.so > >> > /opt/HA/sourc/Pacemaker-1-1-c86cb93c5a57/lib/pengine/.libs/libpe_rules > >> >.so ../lib/common/.libs/libcrmcluster.so /usr/lib64/libhbclient.so > >> > /usr/lib64/libccmclient.so /opt/HA/sourc/Pacemaker-1-1- > >> > c86cb93c5a57/lib/common/.libs/libcrmcommon.so > >> > ../lib/common/.libs/libcrmcommon.so -lgnutls -lgcrypt -lgpg-error > >> > /usr/lib64/libplumb.so /usr/lib64/libpils.so -lbz2 > >> > /usr/lib64/libxslt.so /usr/lib64/libxml2.so -lz -lm -lc -luuid -lrt > >> > -lglib-2.0 > >> > /usr/lib64/libltdl.so - ldl > >> > control.o: In function `do_ha_control': > >> > /opt/HA/sourc/Pacemaker-1-1-c86cb93c5a57/crmd/control.c:69: undefined > >> > reference to `terminate_ais_connection' > >> > collect2: ld returned 1 exit status > >> > gmake[1]: *** [crmd] Fehler 1 > >> > gmake[1]: Leaving directory > >> > `/opt/HA/sourc/Pacemaker-1-1-c86cb93c5a57/crmd' make: *** > >> > [all-recursive] Fehler 1 > >> > > >> > What is wrong with it? > >> > > >> > > >> > Nikita Michalko > >> > > >> > > >> > _______________________________________________ > >> > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > >> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > >> > > >> > Project Home: http://www.clusterlabs.org > >> > Getting started: > >> > http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: > >> > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacema > >> >ker > >> > >> _______________________________________________ > >> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker > >> > >> Project Home: http://www.clusterlabs.org > >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > >> Bugs: > >> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemak > >>er > > > > _______________________________________________ > > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > > Project Home: http://www.clusterlabs.org > > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > > Bugs: http://bugs.clusterlabs.org > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org