Gentoo Archives: gentoo-user

From: Petric Frank <pfrank@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] heartbeat problem
Date: Tue, 16 Oct 2012 16:56:11
Message-Id: 201210161853.28355.pfrank@gmx.de
1 Hello,
2
3 i've tried to use heartbeat (v 3.0.5). It starts, but a bit later it kills
4 himself.
5 I complains that it can not access /var/run/heartbeat/*.pid which is true. The
6 directory /var/run/heartbeat does not exist.
7 Also - as far as i can see /var/run is cleaned at start of a system. So any
8 manually created directory here at install time will get lost.
9
10 As workaround i placed in /etc/init.d/heartbeat the following code:
11
12 ----------------- cut -----------------
13 if ! [ -d /var/run/heartbeat ]
14 then
15 mkdir /var/run/heartbeat
16 fi
17 ----------------- cut -----------------
18
19 With this change heartbeat starts without problems.
20
21 I don't know wheter this is the proper solution or the reason for this problem
22 is caused by an other source.
23
24 Before i place an item in bugzilla i would like to know if you think this
25 'hack' is the one to use.
26 Otherwise you could point mo to the proper solution of this issue.
27
28 regards
29 Petric

Replies

Subject Author
Re: [gentoo-user] heartbeat problem lists@×××××.de