Hi, I am using linux-ha heartbeat on a two simple nodes cluster. For some reason which I can't figure out, the socket /var/run/heartbeat/register is not created though the directory /var/run/heartbeat/ exist:
ll /var/run/heartbeat/
total 24
drwxr-x--- 6 hacluster haclient 4096 2012-01-19 14:30 .
drwxr-xr-x 16 root root 4096 2012-01-19 14:30 ..
drwxr-x--- 2 hacluster haclient 4096 2012-01-19 14:30 ccm
drwxr-x--- 2 hacluster haclient 4096 2012-01-19 14:30 crm
drwxr-x--- 2 hacluster haclient 4096 2012-01-19 14:30 dopd
drwxr-xr-t 2 root root 4096 2012-01-19 14:30 rsctmp
/etc/init.d/heartbeat status
heartbeat OK [pid 14685 et al] is running on vs-158 [vs-158]...
cl_status hbstatus
Heartbeat is stopped on this machine.
I ran cl_status with strace and I saw this error:
connect(3, {sa_family=AF_FILE, path="/var/run/heartbeat/register"...}, 110) =
-1 ENOENT (No such file or directory)
Who created this socket? How can I find out why isn't the socket created?
Is there a workaround I can do to create the socket?
I am attaching log files and ha configuration.
This problem doesn't happen all the time. I have another node with the same
configuration and the socket was created there.
Thanks,
Efrat
Efrat Lefeber
R&D SW Engineer
M86 Security
1 Hamachshev St., New Industrial Area
Netanya 42504, Israel
T: +972 (0) 98648 200 ext. 377
[email protected]<mailto:[email protected]>
Skype: lefrat
www.m86security.com<http://www.m86security.com/>
#####################################################################################
Scanned by MailMarshal - M86 Security's comprehensive email content security
solution.
Download a free evaluation of MailMarshal at www.m86security.com
#####################################################################################
ha.cf
Description: ha.cf
haresources
Description: haresources
hb.strace
Description: hb.strace
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
