[Linux-HA] Re: Newbie heartbeat stops a few seconds after its started address already in use [with logs]

Nick Peterson yahooglesoft at gmail.com
Mon Jun 4 10:16:11 MDT 2007


Hi there,

UPDATE: I'm including the ha.cf, output of ifconfig, and the netstat
like asked.  221 and 222 are the ending ip addresses of the machines I
have and thats why the files end in 221 or 222.  The ha.cf file is the
same on both.

I've got heartbeat 2.0.8 on two servers connected with public IPs.
 When I start Heartbeat on either of them it starts and then ends a few
 seconds later.  I think the problem is where it says  "Unable to bind
 socket (Address already in use). Giving up".  Anyone have any idea
 what this means?

 Thanks,
   Nick




 ************************ Start /var/log/messages ************************
 Jun  1 12:14:49 Fex1 heartbeat: [11057]: WARN: Logging daemon is
 disabled --enabling logging daemon is recommended
 Jun  1 12:14:49 Fex1 heartbeat: [11057]: info: **************************
 Jun  1 12:14:49 Fex1 heartbeat: [11057]: info: Configuration
 validated. Starting heartbeat 2.0.8
 Jun  1 12:14:49 Fex1 heartbeat: [11058]: info: heartbeat: version 2.0.8
 Jun  1 12:14:49 Fex1 heartbeat: [11058]: info: Heartbeat generation: 32
 Jun  1 12:14:49 Fex1 heartbeat: [11058]: info:
 G_main_add_TriggerHandler: Added signal manual handler
 Jun  1 12:14:49 Fex1 heartbeat: [11058]: info:
 G_main_add_TriggerHandler: Added signal manual handler
 Jun  1 12:14:49 Fex1 heartbeat: [11058]: info: Removing
 /var/run/heartbeat/rsctmp failed, recreating.
 Jun  1 12:14:49 Fex1 heartbeat: [11058]: ERROR: glib: Error binding
 socket (Address already in use). Retrying.
 Jun  1 12:14:58 Fex1 last message repeated 9 times
 Jun  1 12:14:59 Fex1 heartbeat: [11058]: ERROR: glib: Unable to bind
 socket (Address already in use). Giving up.
 Jun  1 12:14:59 Fex1 heartbeat: [11058]: info: glib: UDP Broadcast
 heartbeat closed on port 694 interface eth0 - Status: 1
 Jun  1 12:14:59 Fex1 heartbeat: [11058]: ERROR: cannot open bcast eth0
 Jun  1 12:15:00 Fex1 heartbeat: [11061]: CRIT: Emergency Shutdown:
 Master Control process died.
 Jun  1 12:15:00 Fex1 heartbeat: [11061]: CRIT: Killing pid 11058 with SIGTERM
 Jun  1 12:15:00 Fex1 heartbeat: [11061]: CRIT: Emergency Shutdown(MCP
 dead): Killing ourselves.
 ************************ End Log **************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifconfig_221
Type: application/octet-stream
Size: 1648 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20070604/9299f0d4/ifconfig_221-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netstat_221
Type: application/octet-stream
Size: 916 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20070604/9299f0d4/netstat_221-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ha.cf
Type: application/octet-stream
Size: 10943 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20070604/9299f0d4/ha-0001.obj
-------------- next part --------------
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 0.0.0.0:32769               0.0.0.0:*                   LISTEN      1790/rpc.statd      
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1770/portmap        
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      11370/cupsd         
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      2097/sendmail: acce 
tcp        0      0 :::80                       :::*                        LISTEN      1136/httpd          
tcp        0      0 :::22                       :::*                        LISTEN      1952/sshd           
tcp        0      0 :::443                      :::*                        LISTEN      1136/httpd    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifconfig_222
Type: application/octet-stream
Size: 1658 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20070604/9299f0d4/ifconfig_222-0001.obj


More information about the Linux-HA mailing list