<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Arial">Hi <br>
<br>
Anyone who can help to get this working?<br>
Or where I can look?<br>
<br>
Many thanks<br>
<br>
</font>
<div class="moz-cite-prefix">On 07/13/2014 04:28 PM, W Forum W
wrote:<br>
</div>
<blockquote cite="mid:53C29784.2040905@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<font size="-1">Hi,<br>
<br>
The apache logs doesn't say a lot (LogLevel debug)<br>
<br>
[error] python_init: Python version mismatch, expected '2.7.2+',
found '2.7.3'.<br>
[error] python_init: Python executable found '/usr/bin/python'.<br>
[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'.<br>
[notice] mod_python: Creating 8 session mutexes based on 150 max
processes and 0 max threads.<br>
[notice] mod_python: using mutex_directory /tmp <br>
[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<br>
[notice] caught SIGTERM, shutting down<br>
<br>
The configuration should be ok, or do I miss something<br>
<br>
primitive p_ps_apache lsb:apache2 \<br>
op monitor interval="60" timeout="30" \<br>
op start interval="0" timeout="30" \<br>
op start interval="0" timeout="30"<br>
<br>
Many thanks<br>
</font></blockquote>
<br>
<blockquote cite="mid:53C29784.2040905@gmail.com" type="cite">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:
<blockquote
cite="mid:mailman.1.1405159201.26096.pacemaker@oss.clusterlabs.org"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">On 10 Jul 2014, at 7:58 pm, W Forum W <a moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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>
On 07/11/2014 05:41 PM, Michael Monette wrote:
</blockquote>
<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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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>
<small> </small></blockquote>
<small> </small></blockquote>
<small> </small></blockquote>
<small>
08.07.2014 16:15, W Forum W wrote:
</small></blockquote>
<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 moz-do-not-send="true" 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>
<br>
</blockquote>
</body>
</html>