Any updates on this bug?
** Changed in: redhat-cluster (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to redhat-cluster in Ubuntu.
https://bugs.launchpad.net/bugs/206961
Title:
rgmanager does not recognize the format of the apache resource
configuration
Status in “redhat-cluster” package in Ubuntu:
Incomplete
Bug description:
Binary package hint: rgmanager
Hi,
It seems that the Apache resource configuration is wrong on the latest
rgmanager in Hardy.
When am Apache service is configured with an Apache resource, the
service fails to start because rgmanager does not recognize the format
of the configuration file generated.
/etc/cluster/cluster.conf:
...
<rm>
<failoverdomains>
<failoverdomain name="Web-FailOver" ordered="1"
restricted="1">
<failoverdomainnode name="prdc1web01"
priority="1"/>
<failoverdomainnode name="prdc1web02"
priority="2"/>
</failoverdomain>
</failoverdomains>
<resources>
<ip address="10.10.11.18" monitor_link="1"/>
<apache name="Web" server_root="/etc/apache2"
config_file="/etc/apache2/apache2.conf" shutdown_wait="5"/>
</resources>
<service autostart="1" domain="Web-FailOver" exclusive="0"
name="APACHE" recovery="relocate">
<ip ref="10.10.11.18"/>
<apache ref="Web"/>
</service>
</rm>
...
/var/log/daemon.log when starting the service:
...
Mar 26 12:08:02 prdc1web01 clurgmgrd[4900]: <notice> Starting disabled
service service:APACHE
Mar 26 12:08:03 prdc1web01 clurgmgrd: [4900]: <err> Checking Syntax Of The
File [apache:Web] > Failed
Mar 26 12:08:03 prdc1web01 clurgmgrd[4900]: <notice> start on apache "Web"
returned 1 (generic error)
Mar 26 12:08:03 prdc1web01 clurgmgrd[4900]: <warning> #68: Failed to start
service:APACHE; return value: 1
Mar 26 12:08:03 prdc1web01 clurgmgrd[4900]: <notice> Stopping service
service:APACHE
...
It seems like the resource manager creates a temporary file named
"[servicetype:servicename]" and tries to validate the syntax but it
fails.
Every other resources/services seem to be working correctly.
Versions used (Hardy Heron with latest updates):
$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04
$ dpkg --list linux-image-server rgmanager redhat-cluster-suite
...
||/ Name Version Description
+++-==========================-==========================-====================================================================
ii linux-image-server 2.6.24.12.13 Linux kernel image
on Server Equipment.
ii redhat-cluster-suite 2.20080227-0ubuntu1 Red Hat cluster
suite (meta package)
ii rgmanager 2.20080227-0ubuntu1 clustered resource
group manager
Alex
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redhat-cluster/+bug/206961/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp