>>> "Hoffmann, Matthias" <[email protected]> schrieb am
10.06.2014 um 10:10 in Nachricht
<3ec985b70510fe48bcc8a77e9b1ef50c70f...@exchange2010.worms.schlemmerblock.de>:

EST)> Hello,
> 
> there is a problem with my apache2 resource ->
> 
> primitive prim_Apache ocf:heartbeat:apache \
>         params configfile="/etc/apache2/apache2.conf" 
> httpd="/usr/sbin/apache2" statusurl="127.0.0.1/server-status" 
> envfiles="/etc/apache2/envvars" \
>         op monitor interval="20" timeout="30"

I wonder how strict the rules for URLs are. Do you have to use "http://"; maybe?

> 
> syslog:
> 
> ERROR: command failed: /usr/sbin/apache2 -DSTATUS -f /etc/apache2/apache2.conf
> Jun 10 09:54:32 visn1 apache[12195]: INFO: apache not running
> Jun 10 09:54:32 visn1 apache[12195]: INFO: waiting for apache 
> /etc/apache2/apache2.conf to come up
> 
> When I try to manually  "/usr/sbin/apache2 -DSTATUS -f 
> /etc/apache2/apache2.conf" it says
> 
> apache2: bad user name ${APACHE_RUN_USER}
> 
> Then I exported manually all things that is in /etc/apache2/envvars, then 
> the -DSTATS command works, but apache still not starting in cluster.
> thats why i configured envfiles (but it should be default the same anyway?)
> 
> Weird thing is, that it DID work before a few hours (but only one node was 
> online), but i dont get any hint WHY it did work...
> 
> /etc/init.d/apache2 start works and status-server IS avaiable... (tested via 
> lynx and 127.0.0.1/server-status
> 
> Any ideas? Please...
> 
> regards,
> Matthias
> _______________________________________________
> Linux-HA mailing list
> [email protected] 
> http://lists.linux-ha.org/mailman/listinfo/linux-ha 
> See also: http://linux-ha.org/ReportingProblems 



_______________________________________________
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