AW: [Linux-HA] heartbeat v2 2.0.7 won't start. Config error

Martin Bene martin.bene at icomedias.com
Tue Jan 23 00:59:17 MST 2007


Hi Davide,

> please, look at: 
> 
> http://bugs.gentoo.org/show_bug.cgi?id=152776
> 
> I wrote an ebuild for the new 2.0.8 version. Look at the 
> following bug:
> 
> http://bugs.gentoo.org/show_bug.cgi?id=162162

Thanks for the ebuild;

I notice a few things regarding logd start/stop

  - ha_logd should only be started if use_logd directive is set in ha.cf
  - ha_logd looks for its config file in /etc/logd.cf; gentoo puts
heartbeat configs in /etc/ha.d so a parameter to use
/etc/ha.d/ha_logd.cf should probably be used.
  - exit codes from ha_logd are 0 => running, 1 => stopped (pid exists)
3 => stopped. Given these exit codes, it looks like startup of logd
should use <status request> || <start daemon> and stop should use
<status request> && <shutdown request>, not the other way round as it's
done now.

Thanks for the 2.0.8 ebuild, trying to get my first crm cluster up &
running right now...

Bye, Martin


More information about the Linux-HA mailing list