[Pacemaker] Missing ha_logger command

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Oct 9 10:03:42 EDT 2013


Hi,

On Wed, Oct 09, 2013 at 03:20:14PM +0200, D.Gossrau wrote:
> Hi Dejan !
> 
> 
> On 10/08/2013 10:59 PM, Dejan Muhamedagic wrote:
> >Hi,
> >
> >On Tue, Oct 08, 2013 at 11:14:41AM +0200, D.Gossrau wrote:
> >>Hi,
> >>
> >>I'm seeing an error message in the log file regarding missing
> >>ha_logger command:
> >>
> >>Oct 08 03:17:06 apas5-prod-i64-01 lrmd: [1187]: info: RA output:
> >>(resTOMCAT:monitor:stderr)
> >>/usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs: line 202:
> >>ha_logger: command not found
> >>
> >>Which packages are needed to solve this problem ? There are no
> >>missing dependencies in my environment.
> >>
> >>My environment :
> >>
> >>Scientific Linux 6.3
> >>pacemaker-cluster-libs-1.1.7-6.el6.x86_64
> >>pacemaker-cli-1.1.7-6.el6.x86_64
> >>pacemaker-libs-1.1.7-6.el6.x86_64
> >>pacemaker-1.1.7-6.el6.x86_64
> >>corosynclib-1.4.1-7.el6.x86_64
> >>corosync-1.4.1-7.el6.x86_64
> >>resource-agents-3.9.2-12.el6.x86_64
> >>
> >>Thanks for any hints !
> >
> >You need cluster-glue. Either that or change the logging settings
> >in corosync.conf.
> >
> >Thanks,
> >
> >Dejan
> 
> Sorry, I missed to mention the version of cluster-glue.
> 
> It is installed on the nodes:
> 
> cluster-glue-libs-1.0.5-6.el6.x86_64
> cluster-glue-1.0.5-6.el6.x86_64

Those versions are really very old.

> I checked the contents of both packages and didn't found the command
> ha_logger.

Strange. Where did you get those packages? Looks like some parts
of glue were not packaged. Normally, you should have:

$ rpm -ql cluster-glue | grep logger
/usr/sbin/ha_logger
/usr/share/man/man1/ha_logger.1.gz

> What exactly have to be changed in the corosync.conf  ?

There should be something like use_logd set to yes. Try setting
that to no.

Thanks,

Dejan

> Thanks !
> 
> Kind regards,
> Detlef
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org




More information about the Pacemaker mailing list