[Pacemaker] heartbeat init script breakage: heartbeat-2.1.3-23.1
Rainer Traut
tr.ml at gmx.de
Mon Jul 28 10:08:02 UTC 2008
Andrew Beekhof schrieb:
> is there a definition for HA_BIN in /etc/ha.d/shellfuncs ?
>
> On Mon, Jul 28, 2008 at 10:50, Rainer Traut <tr.ml at gmx.de> wrote:
>> Hi,
>>
>> it seems the init script is broken on centos 5 x86_64.
>>
>> Seems the $HA_BIN variable is not declared so it fails on line 111:
>>
>> [ -x $HA_BIN/heartbeat ] || exit 0
>>
It is:
# grep HA_BIN /etc/ha.d/shellfuncs
: ${HA_BIN:=/usr/lib/heartbeat}
export HA_DIR HA_RCDIR HA_FIFO HA_BIN
PATH=$HA_BIN:${HA_SBIN_DIR}:/usr/share/heartbeat:$PATH
But is wrong, should be '/usr/lib64/heartbeat'.
Looks like I have i386 + x64 package of heartbeat-common, maybe this is
the problem?
# rpm -qa heartbeat-common --qf "%{name}-%{version}-%{release} is for
%{arch}\n"
heartbeat-common-2.1.3-23.1 is for i386
heartbeat-common-2.1.3-23.1 is for x86_64
Rainer
More information about the Pacemaker
mailing list