[Pacemaker] crm resourse (lsb:apache2) not starting
Andrew Beekhof
andrew at beekhof.net
Mon Jul 28 01:09:33 CEST 2014
On 27 Jul 2014, at 4:45 am, W Forum W <wforumw at gmail.com> wrote:
> Anyone can help??
Based on what?
> Many thanks
>
>
> On 07/13/2014 04:28 PM, W Forum W wrote:
>> Hi,
>>
>> The apache logs doesn't say a lot (LogLevel debug)
>>
>> [error] python_init: Python version mismatch, expected '2.7.2+', found '2.7.3'.
>> [error] python_init: Python executable found '/usr/bin/python'.
>> [error] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
>> [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
>> [notice] mod_python: using mutex_directory /tmp
>> [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u12 mod_python/3.3.1 Python/2.7.3 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
>> [notice] caught SIGTERM, shutting down
>>
>> The configuration should be ok, or do I miss something
>>
>> primitive p_ps_apache lsb:apache2 \
>> op monitor interval="60" timeout="30" \
>> op start interval="0" timeout="30" \
>> op start interval="0" timeout="30"
>>
>> Many thanks
>>
>> On 07/12/2014 12:00 PM, pacemaker-request at oss.clusterlabs.org wrote:
>>> Send Pacemaker mailing list submissions to
>>>
>>> pacemaker at oss.clusterlabs.org
>>>
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>
>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>
>>> or, via email, send a message with subject or body 'help' to
>>>
>>> pacemaker-request at oss.clusterlabs.org
>>>
>>>
>>> You can reach the person managing the list at
>>>
>>> pacemaker-owner at oss.clusterlabs.org
>>>
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Pacemaker digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>> 1. Re: crm resourse (lsb:apache2) not starting (Michael Monette)
>>> 2. Re: crm resourse (lsb:apache2) not starting (W Forum W)
>>> 3. Re: crm resourse (lsb:apache2) not starting (Vladislav Bogdanov)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Fri, 11 Jul 2014 11:41:09 -0400
>>> From: Michael Monette
>>> <mmonette at 2keys.ca>
>>>
>>> To:
>>> wforumw at gmail.com
>>> , The Pacemaker cluster resource manager
>>>
>>> <pacemaker at oss.clusterlabs.org>
>>>
>>> Subject: Re: [Pacemaker] crm resourse (lsb:apache2) not starting
>>> Message-ID:
>>> <2a776ccd-52a6-487d-bbc9-73e24a92b83b at email.android.com>
>>>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Is there a certificate passphrase when starting apache from command line?
>>>
>>> On July 11, 2014 11:38:11 AM EDT, W Forum W
>>> <wforumw at gmail.com>
>>> wrote:
>>>
>>>> hi,
>>>>
>>>> we are using debian and selinux is default disabled in debian.
>>>> we don't use it either
>>>>
>>>> is there no way to find what causes apache not to start?
>>>>
>>>> many thanks!!!!
>>>>
>>>> On 07/11/2014 01:36 AM, Andrew Beekhof wrote:
>>>>
>>>>> 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?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> 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 --------------
>>> An HTML attachment was scrubbed...
>>> URL:
>>> <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20140711/726c2f55/attachment-0001.html>
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Fri, 11 Jul 2014 17:44:52 +0200
>>> From: W Forum W
>>> <wforumw at gmail.com>
>>>
>>> To: Michael Monette
>>> <mmonette at 2keys.ca>
>>> , The Pacemaker cluster
>>> resource manager
>>> <pacemaker at oss.clusterlabs.org>
>>>
>>> Subject: Re: [Pacemaker] crm resourse (lsb:apache2) not starting
>>> Message-ID:
>>> <53C00674.9020809 at gmail.com>
>>>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> no, it starts normal without any errors
>>>
>>> On 07/11/2014 05:41 PM, Michael Monette wrote:
>>>
>>>> Is there a certificate passphrase when starting apache from command line?
>>>>
>>>> On July 11, 2014 11:38:11 AM EDT, W Forum W
>>>> <wforumw at gmail.com>
>>>> wrote:
>>>>
>>>> hi,
>>>>
>>>> we are using debian and selinux is default disabled in debian.
>>>> we don't use it either
>>>>
>>>> is there no way to find what causes apache not to start?
>>>>
>>>> many thanks!!!!
>>>>
>>>> On 07/11/2014 01:36 AM, Andrew Beekhof wrote:
>>>>
>>>>> 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?
>>>>>>>
>>>>>>>
>>>>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> 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 --------------
>>> An HTML attachment was scrubbed...
>>> URL:
>>> <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20140711/5a7f3e79/attachment-0001.html>
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 3
>>> Date: Fri, 11 Jul 2014 21:15:47 +0300
>>> From: Vladislav Bogdanov
>>> <bubble at hoster-ok.com>
>>>
>>> To:
>>> pacemaker at oss.clusterlabs.org
>>>
>>> Subject: Re: [Pacemaker] crm resourse (lsb:apache2) not starting
>>> Message-ID:
>>> <53C029D3.8020801 at hoster-ok.com>
>>>
>>> Content-Type: text/plain; charset=ISO-8859-1
>>>
>>> 08.07.2014 16:15, W Forum W 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?
>>>>
>>> Is it really not started, or just is not configured enough to be
>>> successfully monitored and then monitor op fails?
>>> What your apache logs say?
>>>
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Pacemaker mailing list
>>>
>>> Pacemaker at oss.clusterlabs.org
>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>
>>>
>>>
>>> End of Pacemaker Digest, Vol 80, Issue 32
>>> *****************************************
>>>
>>>
>>
> _______________________________________________
> 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: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20140728/d92528f8/attachment.sig>
More information about the Pacemaker
mailing list