<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Arial">Hi Andrew,<br>
<br>
I am thank-full for the help but<br>
I can not find ken's instructions </font><font face="Arial"><font
face="Arial">anymore</font><br>
And I thought I answered all the questions of you guys.<br>
That's why I asked if someone still has an idea to look.<br>
<br>
I don't know where to look further <span class="moz-smiley-s7"><span>
:-\ </span></span><br>
<br>
Many thanks<br>
<br>
<br>
</font>
<div class="moz-cite-prefix">On 07/28/2014 03:17 PM, Andrew Beekhof
wrote:<br>
</div>
<blockquote
cite="mid:DA11D49D-C53E-4A56-B12E-6F052858E87F@beekhof.net"
type="cite">
<pre wrap="">
On 28 Jul 2014, at 9:45 pm, W Forum W <a class="moz-txt-link-rfc2396E" href="mailto:wforumw@gmail.com"><wforumw@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">What do you mean with 'based on what'?
</pre>
</blockquote>
<pre wrap="">
"On what" refers to the amount of information we have with which to assist you.
Ken has already given as good instructions as are possible based on the little information you provided.
</pre>
<blockquote type="cite">
<pre wrap="">
Like I said below
I can start apache normally from the console but not from the crm,I get
an error like
p_ps_apache_monitor_60000 (node=wegc203137, call=72, rc=7,
status=complete): not running
The problem is not selinux or the status url not configured correctly
I have also checked if the Init Script LSB is compatible (see
<a class="moz-txt-link-freetext" href="http://www.linux-ha.org/wiki/LSB_Resource_Agents">http://www.linux-ha.org/wiki/LSB_Resource_Agents</a> ).
All sequences tested are ok
Anyone can help where to look further?
Many thanks
On 27 Jul 2014, at 4:45 am, W Forum W <a class="moz-txt-link-rfc2396E" href="mailto:wforumw@gmail.com"><wforumw@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Anyone can help??
</pre>
</blockquote>
<pre wrap="">
Based on what?
</pre>
<blockquote type="cite">
<pre wrap="">Many thanks
On 07/13/2014 04:28 PM, W Forum W wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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, <a class="moz-txt-link-abbreviated" href="mailto:pacemaker-request@oss.clusterlabs.org">pacemaker-request@oss.clusterlabs.org</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Send Pacemaker mailing list submissions to
        
<a class="moz-txt-link-abbreviated" href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a>
To subscribe or unsubscribe via the World Wide Web, visit
        
<a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>
or, via email, send a message with subject or body 'help' to
        
<a class="moz-txt-link-abbreviated" href="mailto:pacemaker-request@oss.clusterlabs.org">pacemaker-request@oss.clusterlabs.org</a>
You can reach the person managing the list at
        
<a class="moz-txt-link-abbreviated" href="mailto:pacemaker-owner@oss.clusterlabs.org">pacemaker-owner@oss.clusterlabs.org</a>
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
<a class="moz-txt-link-rfc2396E" href="mailto:mmonette@2keys.ca"><mmonette@2keys.ca></a>
To:
<a class="moz-txt-link-abbreviated" href="mailto:wforumw@gmail.com">wforumw@gmail.com</a>
,        The Pacemaker cluster resource manager
        
<a class="moz-txt-link-rfc2396E" href="mailto:pacemaker@oss.clusterlabs.org"><pacemaker@oss.clusterlabs.org></a>
Subject: Re: [Pacemaker] crm resourse (lsb:apache2) not starting
Is there a certificate passphrase when starting apache from command line? </pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<small>No there is no<small> </small>passphrase</small>
<blockquote
cite="mid:DA11D49D-C53E-4A56-B12E-6F052858E87F@beekhof.net"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">
On July 11, 2014 11:38:11 AM EDT, W Forum W
<a class="moz-txt-link-rfc2396E" href="mailto:wforumw@gmail.com"><wforumw@gmail.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
<blockquote type="cite">
<pre wrap="">On 10 Jul 2014, at 7:58 pm, W Forum W <a class="moz-txt-link-rfc2396E" href="mailto:wforumw@gmail.com"><wforumw@gmail.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi thanks for the help.
the status url is configured and working, also no error in apache
</pre>
</blockquote>
</blockquote>
<pre wrap="">log when I start the service manually
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">any other ideas where to look??
</pre>
</blockquote>
<pre wrap="">selinux. if it starts from the command line but not in the cluster
</pre>
</blockquote>
<pre wrap="">its very often selinux
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">many thanks!!
On 07/09/2014 12:53 AM, Andrew Beekhof wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 8 Jul 2014, at 11:15 pm, W Forum W <a class="moz-txt-link-rfc2396E" href="mailto:wforumw@gmail.com"><wforumw@gmail.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I have a two node cluster with a DRBD, heartbeat and pacemaker (on
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">Debian Wheezy)
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">The cluster is working fine. 2 DRBD resources, Shared IP, 2 File
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">systems and a postgresql database start, stop, migrate, ... correctly.
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Now the problem is with the lsb:apache2 resource agent.
When I try to start is (crm resource start p_ps_apache)
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">immediately I got an error like
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">p_ps_apache_monitor_60000 (node=wegc203136, call=653, rc=7,
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">status=complete): not running
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">When I start Apache from the console (service apache2 start), it
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">works fine
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I have checked if the Init Script LSB is compatible (see
<a class="moz-txt-link-freetext" href="http://www.linux-ha.org/wiki/LSB_Resource_Agents">http://www.linux-ha.org/wiki/LSB_Resource_Agents</a>
).
All sequences tested are ok
How can I found out why crm is not starting Apache?
</pre>
</blockquote>
<pre wrap="">most likely the status url is not setup/configured.
have you checked the apache logs?
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">
------------------------------
Message: 2
Date: Fri, 11 Jul 2014 17:44:52 +0200
From: W Forum W
<a class="moz-txt-link-rfc2396E" href="mailto:wforumw@gmail.com"><wforumw@gmail.com></a>
To: Michael Monette
<a class="moz-txt-link-rfc2396E" href="mailto:mmonette@2keys.ca"><mmonette@2keys.ca></a>
,         The Pacemaker cluster
        resource manager
<a class="moz-txt-link-rfc2396E" href="mailto:pacemaker@oss.clusterlabs.org"><pacemaker@oss.clusterlabs.org></a>
Subject: Re: [Pacemaker] crm resourse (lsb:apache2) not starting
no, it starts normal without any errors
On 07/11/2014 05:41 PM, Michael Monette wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Is there a certificate passphrase when starting apache from command line?
On July 11, 2014 11:38:11 AM EDT, W Forum W
<a class="moz-txt-link-rfc2396E" href="mailto:wforumw@gmail.com"><wforumw@gmail.com></a>
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:
</pre>
<blockquote type="cite">
<pre wrap=""> On 10 Jul 2014, at 7:58 pm, W Forum W <a class="moz-txt-link-rfc2396E" href="mailto:wforumw@gmail.com"><wforumw@gmail.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> 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??
</pre>
</blockquote>
<pre wrap=""> selinux. if it starts from the command line but not in the cluster its very often selinux
</pre>
<blockquote type="cite">
<pre wrap=""> many thanks!!
On 07/09/2014 12:53 AM, Andrew Beekhof wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> On 8 Jul 2014, at 11:15 pm, W Forum W <a class="moz-txt-link-rfc2396E" href="mailto:wforumw@gmail.com"><wforumw@gmail.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> 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
<a class="moz-txt-link-freetext" href="http://www.linux-ha.org/wiki/LSB_Resource_Agents">http://www.linux-ha.org/wiki/LSB_Resource_Agents</a>
).
All sequences tested are ok
How can I found out why crm is not starting Apache?
</pre>
</blockquote>
<pre wrap=""> most likely the status url is not setup/configured.
have you checked the apache logs?
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">------------------------------
Message: 3
Date: Fri, 11 Jul 2014 21:15:47 +0300
From: Vladislav Bogdanov
<a class="moz-txt-link-rfc2396E" href="mailto:bubble@hoster-ok.com"><bubble@hoster-ok.com></a>
To:
<a class="moz-txt-link-abbreviated" href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a>
Subject: Re: [Pacemaker] crm resourse (lsb:apache2) not starting
08.07.2014 16:15, W Forum W wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-freetext" href="http://www.linux-ha.org/wiki/LSB_Resource_Agents">http://www.linux-ha.org/wiki/LSB_Resource_Agents</a>
).
All sequences tested are ok
How can I found out why crm is not starting Apache?
</pre>
</blockquote>
<pre wrap="">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?
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>