------------------------------
------------------------------
Message: 9
Date: Mon, 16 Mar 2009 13:03:24 +0100
From: Marek Grac <mgrac@xxxxxxxxxx>
Subject: Re:
To: linux clustering <linux-cluster@xxxxxxxxxx>
Message-ID: <49BE400C.7030703@xxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
Henry Robertson wrote:
> I'm having an issue starting a clustered Apache service in 5.3.
>
> If I do a basic ip->httpd service, I get an error about a missing PID.
>
> snippet from cluster.conf
>
> <service autostart="1" domain="ecom.dev" exclusive="0" name="httpd1"
> recovery="relocate">
> <ip address="192.168.51.88" monitor_link="1">
> <apache config_file="conf/httpd.conf" httpd_options=""
> name="httpd1" server_root="/etc/httpd/httpd1" shutdown_wait="0"/>
> </ip>
> </service>
>
>
> Error:
> Mar 15 07:43:25 ag01 clurgmgrd: [18329]: <err> Checking Existence Of
> File /var/run/cluster/apache/apache:httpd1.pid [apache:httpd1] >
> Failed - File Doesn't Exist
> Mar 15 07:43:25 ag01 clurgmgrd: [18329]: <err> Stopping Service
> apache:httpd1 > Failed
>
> If I go into /etc/cluster/apache/apache:httpd/httpd.conf and uncomment
> the ###Listen 192.168.51.88:80 <http://192.168.51.88:80> it works
> fine. It also genereates the proper PID.
>
> Ideas on what's going on here? I'm pretty sure it's supposed to
> inherit the Listen address from the cluster.conf file, not have it
> commented out.
Apache is looking for IP in cluster.conf but as a sibling, not a parent
tag.
marx
------------------------------
https://bugzilla.redhat.com/show_bug.cgi?id=489785
After I patched apache.sh and removed all the old httpd.conf's everything worked fine.
Regards,
Henry Robertson
HJR Consulting LLC
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster