The error I get in the messages file is. 

hb1 apache[18714]: [18782]: ERROR: command failed: sh -c wget -O- -q -L 
--bind-address=127.0.0.1 http://*:80 | tr '\012' ' ' | grep -Ei "</ 
*body *>[[:space:]]*</ *html *>" >/dev/null



-----Original Message-----
From: Chris May 
Sent: Wednesday, December 02, 2009 3:20 PM
To: linux-ha
Subject: [Linux-HA] Heartbeat and Apache

I have setup a basic two node cluster for apache failover. 

 

Ha.cf 

use_logd yes

logfacility daemon

node hb1

node hb2

 

keepalive 3

 

warntime 5

 

deadtime 10

auto_failback on

ucast eth0 172.16.101.239

ucast eth0 172.16.101.136

crm yes

 

Then the haresources file which I put the floating ip with node1 as
primary 

hb1        172.16.101.113 apache

 

This will work and start apache but I cant get it to listen on port 80

If I edit my httpd.conf file and add a Listen directive of 

Listen 172.16.101.113:80

Or even just 80

Then Heartbeat fails to launch. Any help would be appreciated. 

 

 

 

Thanks 

 

 

Chris May 

Sr. Linux Admin 

Stonemor Partners 

215.826.2944

[email protected] 

 


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to