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

Andrew Beekhof andrew at beekhof.net
Thu Jul 10 23:36:55 UTC 2014


On 10 Jul 2014, at 7:58 pm, W Forum W <wforumw at gmail.com> wrote:

> Hi thanks for the help.
> the status url is configured and working, also no error in apache log when I start the service manually
> 
> any other ideas where to look??

selinux. if it starts from the command line but not in the cluster its very often selinux

> many thanks!!
> 
> 
> On 07/09/2014 12:53 AM, Andrew Beekhof wrote:
>> 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/20140711/cbcaec8f/attachment-0004.sig>


More information about the Pacemaker mailing list