[Pacemaker] mysql ocf error 5
Andrew Beekhof
andrew at beekhof.net
Wed May 27 18:32:26 UTC 2009
On Wed, May 27, 2009 at 6:39 PM, Jason Woodward
<jason.woodward at joslin.harvard.edu> wrote:
> I am trying to configure my cluster to run mysql. I am using the following
> CRM command:
>
> primitive mysql ocf:heartbeat:mysql \
> params binary=/usr/local/mysql/bin/mysqld_safe \
> datadir=/usr/local/data/mysqldata
>
> When I check the logs, I get this in the error log:
>
> crmd[3957]: 2009/05/27_12:33:51 WARN: update_failcount: Updating failcount
> for mysql on 3eb19aee-71e3-438b-af0a-2a39b6c0d44f after failed start: rc=5
> (update=INFINITY, time=1243442031)
>
> Looking in the manual, I see that error 5 means "The tools required by the
> resource are not installed on this machine." Can anyone elaborate on that?
> I can run mysqld manually. I am running pacemaker on CentOS with the rpms
> from the ha-clustering repo.
Have a look in the script to see why it might be returning 5
More information about the Pacemaker
mailing list