[Linux-HA] ccm & crmd exit after signal 15
Alan Robertson
alanr at unix.sh
Tue Oct 18 14:14:52 MDT 2005
Lenaerts Jan wrote:
> Hello, I have some problem with heartbeat 2.0.2, I installed it on my debians 2.6.8-2-386 using the .deb files
> When I start heartbeat it exit's after signal 15. I don't know how to solve this...
> vnbak it the primary/active, vmsteven the slave/passive
> I included my logs, & conf files:
>
> the /etc/ha.d/ha.cf file on both pc's:
> logfacility local7 # waar gelogd wordt
> logfile /var/log/ha-log
> debugfile /var/log/ha-debug
> crm yes #nieuw
> use_logd on #nieuw
> udpport 700
> #baud 19200
> keepalive 1
> deadtime 10
> node vnbak vmsteven
> bcast eth0
> #serial /dev/ttyS0
> auto_failback yes
>
> the /var/lib/heartbeat/crm/cib.xml file on both pc's
> <?xml version="1.0" ?>
> <cib>
> <configuration>
> <crm_config/>
> <nodes/>
> <resources>
> <group id="group_1">
> <primitive class="ocf" id="IPaddr_1" provider="heartbeat" type="IPaddr">
> <operations>
> <op id="1" interval="5s" name="monitor" timeout="5s"/>
> </operations>
> <instance_attributes>
> <attributes>
> <nvpair name="ip" value="10.0.200.30"/>
> <nvpair name="netmask" value="16"/>
> <nvpair name="nic" value="eth0"/>
> </attributes>
> </instance_attributes>
> </primitive>
> <primitive class="heartbeat" id="apache2_2" provider="heartbeat" type="apache2">
> <operations>
> <op id="1" interval="120s" name="monitor" timeout="60s"/>
> </operations>
> </primitive>
> </group>
> </resources>
> <constraints>
> <rsc_location id="rsc_location_group_1" rsc="group_1">
> <rule id="prefered_location_group_1" score="100">
> <expression attribute="#uname" operation="eq" value="vnbak"/>
> </rule>
> </rsc_location>
> </constraints>
> </configuration>
> <status/>
> </cib>
>
> log on vmbak:
> Sep 24 12:58:12 localhost heartbeat: [2860]: WARN: Exiting /usr/lib/heartbeat/ccm process 2923 returned rc 1.
> Sep 24 12:58:12 localhost heartbeat: [2860]: info: Starting child client "/usr/lib/heartbeat/ccm" (1001,113)
> Sep 24 12:58:12 localhost cib: [2925]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 12:58:12 localhost cib: [2925]: info: mask(main.c:cib_register_ha): Signing in with Heartbeat
> Sep 24 12:58:12 localhost cib: [2925]: info: mask(main.c:cib_register_ha): FSA Hostname: vnbak
> Sep 24 12:58:12 localhost cib: [2925]: WARN: mask(assign_uuid): Updated object <nvpair name="ip" value="10.0.200.30" id="81ae21a4-86f5-405a-b2e8-6d34e7cdda61"/>
> Sep 24 12:58:12 localhost cib: [2925]: WARN: mask(assign_uuid): Updated object <nvpair name="netmask" value="16" id="4eae1262-d371-4039-895b-5a7aad63827a"/>
> Sep 24 12:58:12 localhost cib: [2925]: WARN: mask(assign_uuid): Updated object <nvpair name="nic" value="eth0" id="63de53ac-f39f-4614-8f1d-b4e767e64279"/>
> Sep 24 12:58:12 localhost cib: [2925]: WARN: mask(assign_uuid): Updated object <op id="c46fdc03-5054-4d00-ba0e-849c1dbde163" interval="120s" name="monitor" timeout="60s"/>
> Sep 24 12:58:12 localhost cib: [2925]: WARN: mask(assign_uuid): Updated object <expression attribute="#uname" operation="eq" value="vnbak" id="41a4ce9b-79c1-4df3-a341-3d4db589ab7f"/>
> Sep 24 12:58:12 localhost cib: [2925]: WARN: mask(io.c:initializeCib): Option suppress_cib_writes not set
> Sep 24 12:58:12 localhost cib: [2925]: info: mask(main.c:startCib): CIB Initialization completed successfully
> Sep 24 12:58:12 localhost heartbeat: [2860]: WARN: Exiting /usr/lib/heartbeat/cib process 2925 returned rc 1.
> Sep 24 12:58:12 localhost heartbeat: [2860]: info: Starting child client "/usr/lib/heartbeat/cib" (1001,113)
> Sep 24 12:58:12 localhost crmd: [2924]: WARN: Core dumps could be lost if multiple dumps occur
> Sep 24 12:58:12 localhost crmd: [2924]: WARN: Consider setting /proc/sys/kernel/core_uses_pid (or equivalent) to 1 for maximum supportability
> Sep 24 12:58:12 localhost crmd: [2924]: info: mask(main.c:init_start): Starting crmd
> Sep 24 12:58:12 localhost crmd: [2924]: info: mask(control.c:register_with_ha): FSA Hostname: vnbak
> Sep 24 12:58:12 localhost crmd: [2924]: info: mask(control.c:do_startup): Register Signal Handler
> Sep 24 12:58:12 localhost crmd: [2924]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 12:58:12 localhost crmd: [2924]: info: G_main_add_TriggerHandler: Added signal manual handler
> Sep 24 12:58:12 localhost crmd: [2924]: info: mask(control.c:do_startup): Init server comms
> Sep 24 12:58:12 localhost heartbeat: [2860]: WARN: Exiting /usr/lib/heartbeat/crmd process 2924 returned rc 1.
> Sep 24 12:58:12 localhost heartbeat: [2860]: info: Starting child client "/usr/lib/heartbeat/crmd" (1001,113)
> Sep 24 12:58:13 localhost heartbeat: [2860]: WARN: 1 lost packet(s) for [vmsteven] [145:147]
> Sep 24 12:58:13 localhost heartbeat: [2860]: info: No pkts missing from vmsteven!
> Sep 24 12:58:13 localhost heartbeat: [2926]: info: Starting "/usr/lib/heartbeat/ccm" as uid 1001 gid 113 (pid 2926)
> Sep 24 12:58:13 localhost heartbeat: [2927]: info: Starting "/usr/lib/heartbeat/cib" as uid 1001 gid 113 (pid 2927)
> Sep 24 12:58:13 localhost heartbeat: [2928]: info: Starting "/usr/lib/heartbeat/crmd" as uid 1001 gid 113 (pid 2928)
> Sep 24 12:58:13 localhost cib: [2927]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 12:58:13 localhost cib: [2927]: info: mask(main.c:cib_register_ha): Signing in with Heartbeat
> Sep 24 12:58:13 localhost cib: [2927]: info: mask(main.c:cib_register_ha): FSA Hostname: vnbak
> Sep 24 12:58:13 localhost cib: [2927]: WARN: mask(assign_uuid): Updated object <nvpair name="ip" value="10.0.200.30" id="1e898d11-7cf0-4d1b-9127-f3f2ad9fdfa4"/>
> Sep 24 12:58:13 localhost cib: [2927]: WARN: mask(assign_uuid): Updated object <nvpair name="netmask" value="16" id="6010da04-7601-48c0-9571-4e8092ed339d"/>
> Sep 24 12:58:13 localhost cib: [2927]: WARN: mask(assign_uuid): Updated object <nvpair name="nic" value="eth0" id="6d0bbe16-0a10-48a6-826b-b9cfa885c0f0"/>
> Sep 24 12:58:13 localhost cib: [2927]: WARN: mask(assign_uuid): Updated object <op id="f06b4e0f-1e41-44d4-9d07-a0f829dab9dc" interval="120s" name="monitor" timeout="60s"/>
> Sep 24 12:58:13 localhost cib: [2927]: WARN: mask(assign_uuid): Updated object <expression attribute="#uname" operation="eq" value="vnbak" id="1706ead0-836a-45b5-a88a-699c86fc7aac"/>
> Sep 24 12:58:13 localhost ccm: [2926]: info: Enable using logging daemon
> Sep 24 12:58:13 localhost ccm: [2926]: info: PID=2926
> Sep 24 12:58:13 localhost ccm: [2926]: info: Signing in with Heartbeat
> Sep 24 12:58:14 localhost ccm: [2926]: info: Switched to heartbeat syslog facility: 184
> Sep 24 12:58:14 localhost ccm: [2926]: info: Hostname: vnbak
> Sep 24 12:58:14 localhost ccm: [2926]: info: total node number is 2
> Sep 24 12:58:14 localhost ccm: [2926]: info: node 0 =vmsteven, status=active
> Sep 24 12:58:14 localhost ccm: [2926]: info: node 1 =vnbak, status=active
> Sep 24 12:58:14 localhost ccm: [2926]: info: change state from CCM_STATE_NONE to CCM_STATE_NONE, current leader is none
> Sep 24 12:58:14 localhost ccm: [2926]: info: change state from CCM_STATE_NONE to CCM_STATE_NONE, current leader is none
> Sep 24 12:58:14 localhost ccm: [2926]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 12:58:14 localhost heartbeat: [2860]: WARN: Exiting /usr/lib/heartbeat/ccm process 2926 returned rc 1.
> Sep 24 12:58:14 localhost crmd: [2928]: WARN: Core dumps could be lost if multiple dumps occur
> Sep 24 12:58:14 localhost crmd: [2928]: WARN: Consider setting /proc/sys/kernel/core_uses_pid (or equivalent) to 1 for maximum supportability
> Sep 24 12:58:14 localhost crmd: [2928]: info: mask(main.c:init_start): Starting crmd
> Sep 24 12:58:14 localhost crmd: [2928]: info: mask(control.c:register_with_ha): FSA Hostname: vnbak
> Sep 24 12:58:14 localhost crmd: [2928]: info: mask(control.c:do_startup): Register Signal Handler
> Sep 24 12:58:14 localhost crmd: [2928]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 12:58:14 localhost crmd: [2928]: info: G_main_add_TriggerHandler: Added signal manual handler
> Sep 24 12:58:14 localhost crmd: [2928]: info: mask(control.c:do_startup): Init server comms
> Sep 24 12:58:14 localhost heartbeat: [2860]: WARN: Exiting /usr/lib/heartbeat/crmd process 2928 returned rc 1.
> Sep 24 12:58:14 localhost cib: [2927]: WARN: mask(io.c:initializeCib): Option suppress_cib_writes not set
> Sep 24 12:58:14 localhost cib: [2927]: info: mask(main.c:startCib): CIB Initialization completed successfully
> Sep 24 12:58:14 localhost heartbeat: [2860]: WARN: Exiting /usr/lib/heartbeat/cib process 2927 returned rc 1.
> Sep 24 12:58:14 localhost heartbeat: [2860]: WARN: 1 lost packet(s) for [vmsteven] [162:164]
> Sep 24 12:58:14 localhost heartbeat: [2860]: info: No pkts missing from vmsteven!
>
>
> log on vmsteven:
> Sep 24 10:14:44 localhost crmd: [2225]: info: mask(main.c:init_start): Starting crmd
> Sep 24 10:14:44 localhost crmd: [2225]: info: mask(control.c:register_with_ha): FSA Hostname: vmsteven
> Sep 24 10:14:44 localhost crmd: [2225]: info: mask(control.c:do_startup): Register Signal Handler
> Sep 24 10:14:44 localhost crmd: [2225]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 10:14:44 localhost crmd: [2225]: info: G_main_add_TriggerHandler: Added signal manual handler
> Sep 24 10:14:44 localhost crmd: [2225]: info: mask(control.c:do_startup): Init server comms
> Sep 24 10:14:44 localhost heartbeat: [2189]: WARN: Exiting /usr/lib/heartbeat/crmd process 2225 returned rc 1.
> Sep 24 10:14:44 localhost heartbeat: [2189]: info: Starting child client "/usr/lib/heartbeat/crmd" (1001,105)
> Sep 24 10:14:44 localhost ccm: [2226]: info: Enable using logging daemon
> Sep 24 10:14:44 localhost ccm: [2226]: info: PID=2226
> Sep 24 10:14:44 localhost ccm: [2226]: info: Signing in with Heartbeat
> Sep 24 10:14:44 localhost ccm: [2226]: info: Switched to heartbeat syslog facility: 184
> Sep 24 10:14:44 localhost ccm: [2226]: info: Hostname: vmsteven
> Sep 24 10:14:44 localhost ccm: [2226]: info: total node number is 2
> Sep 24 10:14:44 localhost ccm: [2226]: info: node 0 =vmsteven, status=active
> Sep 24 10:14:44 localhost ccm: [2226]: info: node 1 =vnbak, status=active
> Sep 24 10:14:44 localhost ccm: [2226]: info: change state from CCM_STATE_NONE to CCM_STATE_NONE, current leader is none
> Sep 24 10:14:44 localhost ccm: [2226]: info: change state from CCM_STATE_NONE to CCM_STATE_NONE, current leader is none
> Sep 24 10:14:44 localhost ccm: [2226]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 10:14:44 localhost heartbeat: [2189]: WARN: Exiting /usr/lib/heartbeat/ccm process 2226 returned rc 1.
> Sep 24 10:14:44 localhost heartbeat: [2189]: info: Starting child client "/usr/lib/heartbeat/ccm" (1001,105)
> Sep 24 10:14:44 localhost cib: [2227]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 10:14:44 localhost cib: [2227]: info: mask(main.c:cib_register_ha): Signing in with Heartbeat
> Sep 24 10:14:44 localhost cib: [2227]: info: mask(main.c:cib_register_ha): FSA Hostname: vmsteven
> Sep 24 10:14:44 localhost cib: [2227]: WARN: mask(assign_uuid): Updated object <nvpair name="ip" value="10.0.200.30" id="9c1 3fada-194f-473b-ade1-3f49ab273bff"/>
> Sep 24 10:14:44 localhost cib: [2227]: WARN: mask(assign_uuid): Updated object <nvpair name="netmask" value="16" id="bd9469a e-1612-4545-9b9f-7ba86cd3b8b8"/>
> Sep 24 10:14:44 localhost cib: [2227]: WARN: mask(assign_uuid): Updated object <nvpair name="nic" value="eth0" id="df271696- eca4-4ead-9617-74b18b4f3edb"/>
> Sep 24 10:14:44 localhost cib: [2227]: WARN: mask(assign_uuid): Updated object <op id="4c4b6406-a7ca-4807-b7d7-1fc99483bbd8" interval="120s" name="monitor" timeout="60s"/>
> Sep 24 10:14:44 localhost cib: [2227]: WARN: mask(assign_uuid): Updated object <expression attribute="#uname" operation="eq" value="vnbak" id="a673afd6-b42a-44db-bd9f-a9be6b221275"/>
> Sep 24 10:14:44 localhost cib: [2227]: WARN: mask(io.c:initializeCib): Option suppress_cib_writes not set
> Sep 24 10:14:44 localhost cib: [2227]: info: mask(main.c:startCib): CIB Initialization completed successfully
> Sep 24 10:14:44 localhost heartbeat: [2189]: WARN: Exiting /usr/lib/heartbeat/cib process 2227 returned rc 1.
> Sep 24 10:14:44 localhost heartbeat: [2189]: info: Starting child client "/usr/lib/heartbeat/cib" (1001,105)
> Sep 24 10:14:45 localhost heartbeat: [2189]: WARN: 1 lost packet(s) for [vnbak] [149:151]
> Sep 24 10:14:45 localhost heartbeat: [2189]: info: No pkts missing from vnbak!
> Sep 24 10:14:45 localhost heartbeat: [2228]: info: Starting "/usr/lib/heartbeat/crmd" as uid 1001 gid 105 (pid 2228)
> Sep 24 10:14:45 localhost heartbeat: [2230]: info: Starting "/usr/lib/heartbeat/cib" as uid 1001 gid 105 (pid 2230)
> Sep 24 10:14:45 localhost heartbeat: [2229]: info: Starting "/usr/lib/heartbeat/ccm" as uid 1001 gid 105 (pid 2229)
> Sep 24 10:14:46 localhost cib: [2230]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 10:14:46 localhost cib: [2230]: info: mask(main.c:cib_register_ha): Signing in with Heartbeat
> Sep 24 10:14:46 localhost crmd: [2228]: WARN: Core dumps could be lost if multiple dumps occur
> Sep 24 10:14:46 localhost crmd: [2228]: WARN: Consider setting /proc/sys/kernel/core_uses_pid (or equivalent) to 1 for maxim um supportability
> Sep 24 10:14:46 localhost crmd: [2228]: info: mask(main.c:init_start): Starting crmd
> Sep 24 10:14:46 localhost crmd: [2228]: info: mask(control.c:register_with_ha): FSA Hostname: vmsteven
> Sep 24 10:14:46 localhost crmd: [2228]: info: mask(control.c:do_startup): Register Signal Handler
> Sep 24 10:14:46 localhost crmd: [2228]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 10:14:46 localhost crmd: [2228]: info: G_main_add_TriggerHandler: Added signal manual handler
> Sep 24 10:14:46 localhost crmd: [2228]: info: mask(control.c:do_startup): Init server comms
> Sep 24 10:14:46 localhost heartbeat: [2189]: WARN: Exiting /usr/lib/heartbeat/crmd process 2228 returned rc 1.
> Sep 24 10:14:46 localhost ccm: [2229]: info: Enable using logging daemon
> Sep 24 10:14:46 localhost ccm: [2229]: info: PID=2229
> Sep 24 10:14:46 localhost ccm: [2229]: info: Signing in with Heartbeat
> Sep 24 10:14:46 localhost ccm: [2229]: info: Switched to heartbeat syslog facility: 184
> Sep 24 10:14:46 localhost ccm: [2229]: info: Hostname: vmsteven
> Sep 24 10:14:46 localhost ccm: [2229]: info: total node number is 2
> Sep 24 10:14:46 localhost ccm: [2229]: info: node 0 =vmsteven, status=active
> Sep 24 10:14:46 localhost ccm: [2229]: info: node 1 =vnbak, status=active
> Sep 24 10:14:46 localhost ccm: [2229]: info: change state from CCM_STATE_NONE to CCM_STATE_NONE, current leader is none
> Sep 24 10:14:46 localhost ccm: [2229]: info: change state from CCM_STATE_NONE to CCM_STATE_NONE, current leader is none
> Sep 24 10:14:46 localhost ccm: [2229]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Sep 24 10:14:46 localhost heartbeat: [2189]: WARN: Exiting /usr/lib/heartbeat/ccm process 2229 returned rc 1.
> Sep 24 10:14:46 localhost cib: [2230]: info: mask(main.c:cib_register_ha): FSA Hostname: vmsteven
> Sep 24 10:14:46 localhost cib: [2230]: WARN: mask(assign_uuid): Updated object <nvpair name="ip" value="10.0.200.30" id="0fe 2b3d5-2303-4a07-b75a-79ebf3c86a7b"/>
> Sep 24 10:14:46 localhost cib: [2230]: WARN: mask(assign_uuid): Updated object <nvpair name="netmask" value="16" id="61f9002 d-4e6f-4804-a7aa-e9f6f644acad"/>
> Sep 24 10:14:46 localhost cib: [2230]: WARN: mask(assign_uuid): Updated object <nvpair name="nic" value="eth0" id="eb1dd52b- 25e4-4e8f-b23d-8ad40429cabc"/>
> Sep 24 10:14:46 localhost cib: [2230]: WARN: mask(assign_uuid): Updated object <op id="dd4558c4-d033-4836-9a85-8ca7e39f8869" interval="120s" name="monitor" timeout="60s"/>
> Sep 24 10:14:46 localhost cib: [2230]: WARN: mask(assign_uuid): Updated object <expression attribute="#uname" operation="eq" value="vnbak" id="0e093c59-1bf3-4881-bfe7-5fd3d1f0ffd1"/>
> Sep 24 10:14:46 localhost cib: [2230]: WARN: mask(io.c:initializeCib): Option suppress_cib_writes not set
> Sep 24 10:14:46 localhost cib: [2230]: info: mask(main.c:startCib): CIB Initialization completed successfully
> Sep 24 10:14:46 localhost heartbeat: [2189]: WARN: Exiting /usr/lib/heartbeat/cib process 2230 returned rc 1.
I have no idea why it exited with return code 1 (but it's unrelated to
the 'Added signal handler for signal 15'). Maybe Andrew could shed some
light on this...
--
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
More information about the Linux-HA
mailing list