[Linux-HA] resource's from /etc/init.d won't start

Alan Robertson alanr at unix.sh
Wed Oct 5 06:21:13 MDT 2005

Jan Lenaerts wrote:
> hello,
> when I configure a few IPaddr recources they start without a problem, but
> when I configure any resource from the /etc/init.d/ dir(apache2, samba,
> bind) the logs always repeat the same warnings. Can you guys please look at
> it, cause I have no idea how to fix this.
> how i config a IPaddr:
> <primitive class="ocf" id="IPaddr_2" provider="heartbeat" type="IPaddr">
> <operations>
> <op id="1" interval="5s" name="monitor" timeout="5s"/>
> </operations>
> <instance_attributes>
> <attributes>
> <nvpair name="ip" value=" <>"/>
> <nvpair name="netmask" value="16"/>
> <nvpair name="nic" value="eth0"/>
> </attributes>
> </instance_attributes>
> </primitive>
> how I config a resource from the init.d
> <primitive id="IPaddr_Apache" class="ocf" type="apache2"/>

Try type=lsb.  It's a Linux Standards Base init script.

     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 

More information about the Linux-HA mailing list