View Single Post
  #3  
Old 10th January 2007, 15:08
samu samu is offline
Junior Member
 
Join Date: Jan 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your answer.
I checked /var/log but there's no ha-log file.

I started heartbeat:
root@ron:/etc/ha.d# /etc/init.d/heartbeat start
Starting High-Availability services:
2007/01/10_13:41:29 INFO: IPaddr2 Resource is stopped
Done.

And tail -f /var/log/messages says:
Jan 10 13:41:28 localhost logd: [7047]: info: logd started with default configuration.
Jan 10 13:41:28 localhost logd: [7047]: WARN: Core dumps could be lost if multiple dumps occur
Jan 10 13:41:28 localhost logd: [7047]: WARN: Consider setting /proc/sys/kernel/core_uses_pid (or equivalent) to 1 for maximum supportability
Jan 10 13:41:28 localhost logd: [7048]: info: G_main_add_SignalHandler: Added signal handler for signal 15
Jan 10 13:41:28 localhost logd: [7047]: info: G_main_add_SignalHandler: Added signal handler for signal 15
Jan 10 13:41:29 localhost heartbeat: [7199]: WARN: Core dumps could be lost if multiple dumps occur
Jan 10 13:41:29 localhost heartbeat: [7199]: WARN: Consider setting /proc/sys/kernel/core_uses_pid (or equivalent) to 1 for maximum supportability
Jan 10 13:41:29 localhost heartbeat: [7199]: WARN: Logging daemon is disabled --enabling logging daemon is recommended
Jan 10 13:41:29 localhost heartbeat: [7199]: info: **************************
Jan 10 13:41:29 localhost heartbeat: [7199]: info: Configuration validated. Starting heartbeat 2.0.7
Jan 10 13:41:29 localhost heartbeat: [7200]: info: heartbeat: version 2.0.7
Jan 10 13:41:29 localhost heartbeat: [7200]: info: Heartbeat generation: 18
Jan 10 13:41:29 localhost heartbeat: [7200]: info: G_main_add_TriggerHandler: Added signal manual handler
Jan 10 13:41:29 localhost heartbeat: [7200]: info: G_main_add_TriggerHandler: Added signal manual handler
Jan 10 13:41:29 localhost heartbeat: [7200]: info: Removing /var/run/heartbeat/rsctmp failed, recreating.
Jan 10 13:41:29 localhost heartbeat: [7200]: info: glib: UDP Broadcast heartbeat started on port 694 (694) interface eth0
Jan 10 13:41:29 localhost heartbeat: [7200]: info: glib: UDP Broadcast heartbeat closed on port 694 interface eth0 - Status: 1
Jan 10 13:41:29 localhost heartbeat: [7200]: info: glib: UDP multicast heartbeat started for group 225.0.0.1 port 694 interface eth0 (ttl=1 loop=0)
Jan 10 13:41:29 localhost heartbeat: [7200]: info: G_main_add_SignalHandler: Added signal handler for signal 17
Jan 10 13:41:29 localhost heartbeat: [7200]: info: Comm_now_up(): updating status to active
Jan 10 13:41:29 localhost heartbeat: [7200]: info: Local status now set to: 'active'


I try these commands to check if heartbeat is running:

root@ron:/etc/ha.d# cl_status hbstatus
Heartbeat is stopped on this machine.

root@ron:/etc/ha.d# /etc/ha.d/resource.d/LVSSyncDaemonSwap master eth0 status
master stopped

root@ron:/etc/ha.d# ldirectord /etc/ha.d/ldirectord.cf status
ldirectord is stopped for /etc/ha.d/ldirectord.cf

It seems that heartbeat is not running... but why? I've just started it...
Reply With Quote