Public bug reported:
Binary package hint: heartbeat-2
Dapper appears to mount /var/run as a tmpfs, which precludes Heartbeat from
working correctly, as it
needs the directories /var/run/heartbeat/ccm and /var/run/heartbeat/crm, which
is overmounted. So it fails:
Jul 5 10:28:59 hiro heartbeat: [5275]: ERROR: socket_wait_conn_new: trying to
create in /var/run/heartbeat/register bind:: No such file or directory
Jul 5 10:28:59 hiro heartbeat: [5275]: debug: Cannot open registration socket
at /var/run/heartbeat/register
Jul 5 10:28:59 hiro heartbeat: [5279]: CRIT: Emergency Shutdown: Master
Control process died.
Jul 5 10:28:59 hiro heartbeat: [5279]: CRIT: Killing pid 5275 with SIGTERM
Jul 5 10:28:59 hiro heartbeat: [5279]: CRIT: Killing pid 5280 with SIGTERM
Jul 5 10:28:59 hiro heartbeat: [5279]: CRIT: Killing pid 5281 with SIGTERM
Jul 5 10:28:59 hiro heartbeat: [5279]: CRIT: Killing pid 5282 with SIGTERM
Jul 5 10:28:59 hiro heartbeat: [5279]: CRIT: Killing pid 5283 with SIGTERM
Jul 5 10:28:59 hiro heartbeat: [5279]: CRIT: Killing pid 5284 with SIGTERM
Jul 5 10:28:59 hiro heartbeat: [5279]: CRIT: Killing pid 5285 with SIGTERM
Jul 5 10:28:59 hiro heartbeat: [5279]: CRIT: Emergency Shutdown(MCP dead):
Killing ourselves.
>From heartbeat-2.postinst:
for i in /var/lib/heartbeat/ccm /var/lib/heartbeat/crm \
/var/run/heartbeat/ccm /var/run/heartbeat/crm; do
chmod 750 $i
chown hacluster $i
chgrp haclient $i
done
Adding similar code to /etc/init.d/heartbeat to create and chmod/own the
missing directories on start alleviates the problem.
Tore
** Affects: heartbeat-2 (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
Heartbeat fails to start after Dapper upgrade
https://launchpad.net/bugs/51933
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs