Wednesday, May 5, 2010

Heartbeat on CentOS

When you try to install heartbeat using yum when the dependencies are not installed you get the following error.

yum -y install heartbeat

useradd: user hacluster exists
error: %pre(heartbeat-2.1.3-3.el5.centos.x86_64) scriptlet failed, exit status 9
error: install: %pre scriptlet failed (2), skipping heartbeat-2.1.3-3.el5.centos

Due to this error heartbeat is not installed.

A simple fix is install heartbeat again using yum and that should solve the problem until someone upstream fixes the installer.