Hi!

First: I set up my configuration anew, and it works. I didn't change that much, 
just set the monitor-action differently from before.
Instead of:

> webserver_ressource ocf:heartbeat:apache \
>         params httpd="/usr/sbin/httpd2-prefork" \
>         op start interval="0" timeout="40s" \
>         op stop interval="0" timeout="60s" \
>         op monitor interval="10" timeout="20s" depth="0" \
>         meta target-role="Started"

I have now:

primitive web_res ocf:heartbeat:apache \
        params configfile="/etc/apache2/httpd.conf" \
        params httpd="/usr/sbin/httpd2-prefork" \
        op start interval="0" timeout="40s" \
        op stop interval="0" timeout="60s" \
        op monitor interval="1min"

As you can see, I added the "configfile".

This obviously did it, because when I gave the logs a closer look I found:

Feb 24 10:43:22 mgmt-01 apache[1191]: ERROR: httpd2-prefork: option requires an 
argument -- f

Somehow the ocf:heartbeat:apache did not supply the default-configfile. Thus, 
you have to supply the configfile. Well...

> The answer should be in the logs.
Your right, that's where it was. I somehow got lost in the vast amount of 
logs...

grep -i "error" | grep -i "apache"

That did it.

Is it, by the way possible, to influence the logging in any way? Make it more 
verbose, or redirect the logs to a different file (without using filtering in 
syslog)?

Thanks again,

Andreas

------------------------
CONET Solutions GmbH, Theodor-Heuss-Allee 19, 53773 Hennef.
Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 9136)
Geschäftsführer/Managing Directors: Jürgen Zender (Sprecher/Chairman), Anke 
Höfer
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Hans Jürgen 
Niemeier

CONET Technologies AG, Theodor-Heuss-Allee 19, 53773 Hennef.
Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 10328 )
Vorstand/Member of the Managementboard: Rüdiger Zeyen (Sprecher/Chairman), 
Wilfried Pütz
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Gerd 
Jakob
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to