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"
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
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
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"
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
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems