Public bug reported:

Background:
I tried to setup the apache server using redhat-cluster-suite on three machines 
running Hardy. The apache server can be started on any single machine without 
any error, but not using the redhat-cluster-suite to start the apache service.

Symptom:
Once the apache service started from the redhat-cluster-suite, it will stated 
as start for 5 seconds and tried to restart again.

The log message (/var/log/syslog) looks like the following:
Jul 22 10:26:20 c3 clurgmgrd[6529]: <notice> Service service:Apache2 started 
Jul 22 10:26:24 c3 clurgmgrd: [6529]: <err> script:Web Services: status of 
/etc/init.d/apache2 failed (returned 1) 
Jul 22 10:26:24 c3 clurgmgrd[6529]: <notice> status on script "Web Services" 
returned 1 (generic error) 
Jul 22 10:26:24 c3 clurgmgrd[6529]: <notice> Stopping service service:Apache2 
Jul 22 10:26:24 c3 clurgmgrd[6529]: <notice> Service service:Apache2 is 
recovering 
Jul 22 10:26:24 c3 clurgmgrd[6529]: <notice> Recovering failed service 
service:Apache2 
Jul 22 10:26:24 c3 clurgmgrd[6529]: <notice> Service service:Apache2 started 

What I have tried:
I looked at the /usr/share/cluster/apache.sh file and found 1 obvious error at 
line 43 where it says:
declare APACHE_genConfig="$APACHE_conf_dir/httpd.conf"
In Ubuntu, that file (httpd.conf) is empty. I changed that to apache2.conf, but 
still have the same issue.

Also, in the same file at line 142 where it says:
        for i in `"$APACHE_parseConfig" -D"$OCF_RESKEY_name" < 
"$originalConfigFile" | grep -E '(^Listen)|(^Port)' | grep -v ':'`; do 
This refer to another file which will need some fixes too.

Hope this helps,

** Affects: redhat-cluster-suite (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Apache predefined script in redhat-cluster-suite is not properly setup for 
Ubuntu
https://bugs.launchpad.net/bugs/250847
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to