[Pacemaker] Error starting Apache on 2 nodes cluster

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Thu Nov 19 14:19:09 UTC 2009


On 11/19/2009 02:16 PM, Angie T. Muhammad wrote:
> On Node 1:
> # cat /var/log/messages | grep -i lrmd.*WebSite
> Nov 19 14:55:49 test1 lrmd: [19644]: info: rsc:WebSite:4: monitor
> Nov 19 14:55:49 test1 lrmd: [19644]: info: RA output:
> (WebSite:monitor:stderr) logd is not running
> Nov 19 14:55:49 test1 lrmd: [19644]: info: RA output:
> (WebSite:monitor:stderr) 2009/11/19_14:55:49 INFO: apache not running
> Nov 19 14:55:53 test1 lrmd: [19644]: info: rsc:WebSite:9: start
> Nov 19 14:55:54 test1 lrmd: [19644]: info: RA output:
> (WebSite:start:stderr) logd is not running
> Nov 19 14:55:54 test1 lrmd: [19644]: info: RA output:
> (WebSite:start:stderr) 2009/11/19_14:55:54 INFO: apache not running
> Nov 19 14:55:54 test1 lrmd: [19644]: info: RA output:
> (WebSite:start:stderr) logd is not running
> Nov 19 14:55:54 test1 lrmd: [19644]: info: RA output:
> (WebSite:start:stderr) 2009/11/19_14:55:54 INFO: waiting for apache
> /etc/httpd/conf/httpd.conf to come up
> Nov 19 14:55:55 test1 lrmd: [19644]: info: RA output:
> (WebSite:start:stderr) logd is not running
> Nov 19 14:55:55 test1 lrmd: [19644]: info: RA output:
> (WebSite:start:stderr) 2009/11/19_14:55:55 ERROR: command failed: sh -c
> wget -O- -q -L --no-proxy --bind-address=127.0.0.1 http://10.0.0.100:80
> | tr '\012' ' ' | grep -Ei "</ *body *>[[:space:]]*</ *html *>" >/dev/null

what happens if you manually issue the wget command?

> Nov 19 14:55:56 test1 lrmd: [19644]: info: rsc:WebSite:10: stop
> Nov 19 14:55:57 test1 lrmd: [19644]: info: RA output:
> (WebSite:stop:stderr) logd is not running
> Nov 19 14:55:57 test1 lrmd: [19644]: info: RA output:
> (WebSite:stop:stderr) 2009/11/19_14:55:57 INFO: Killing apache PID 19880
> Nov 19 14:55:57 test1 lrmd: [19644]: info: RA output:
> (WebSite:stop:stderr) logd is not running
> Nov 19 14:55:57 test1 lrmd: [19644]: info: RA output:
> (WebSite:stop:stderr) 2009/11/19_14:55:57 INFO: apache stopped.

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________




More information about the Pacemaker mailing list