Public bug reported:

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

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

-- 
rgmanager does not recognize the format of the apache resource configuration
https://bugs.launchpad.net/bugs/206961
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to