[Pacemaker] crm resourse (lsb:apache2) not starting

Andrew Beekhof andrew at beekhof.net
Tue Jul 8 18:53:42 EDT 2014


On 8 Jul 2014, at 11:15 pm, W Forum W <wforumw at gmail.com> wrote:

> Hi,
> 
> I have a two node cluster with a DRBD, heartbeat and pacemaker (on Debian Wheezy)
> The cluster is working fine. 2 DRBD resources, Shared IP, 2 File systems and a postgresql database start, stop, migrate, ... correctly.
> 
> Now the problem is with the lsb:apache2 resource agent.
> When I try to start is (crm resource start p_ps_apache) immediately I got an error like
> 
> p_ps_apache_monitor_60000 (node=wegc203136, call=653, rc=7, status=complete): not running
> 
> When I start Apache from the console (service apache2 start), it works fine
> 
> I have checked if the Init Script LSB is compatible  (see http://www.linux-ha.org/wiki/LSB_Resource_Agents).
> All sequences tested are ok
> 
> How can I found out why crm is not starting Apache?

most likely the status url is not setup/configured.
have you checked the apache logs?

> 
> Many thanks
> _______________________________________________
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140709/66be065a/attachment-0003.sig>


More information about the Pacemaker mailing list