On 8 Jul 2014, at 11:15 pm, W Forum W <wfor...@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@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

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to