Again run it manually: sh -c wget -0- -q -L http://ha.mtu.edu/index.html | tr '\012' ' ' | grep -Ei "</ *body *>[[:space:]]* </ *html *>"
Possible reasons: 1. You don't have wget 2. Your status page doesn't have a </body> neither </html> tag in it. BTW, I can't get to http://ha.mtu.edu/index.html either. On Mon, Feb 25, 2008 at 2:12 PM, Jason Erickson <[EMAIL PROTECTED]> wrote: > > I am running the new version 2.1.3 > I added the pidfile dir to httpd.conf so it sees that file but this is > the error that I get. > ERROR: command failed: sh -c wget -0- -q -L > http://ha.mtu.edu/index.html | tr '\012' ' ' | grep -Ei "</ *body > *>[[:space:]]* </ *html *>" >/dev/null > > > > > Serge Dubrouski wrote: > > That means that it can't check status of your Apache. Most probably it > > can't find your PidFile. Again check that you have PidFile defined in > > your httpd.conf and that it points to the correct file. > > > > Also there was some problems with Apache RA if PidFile was defined in > > included config files, like your httpd.conf has Include > > mpm_worker.conf and that included conf file had PidFile directive. > > Those problems were fixed in 2.1.3, if you use older version and has > > PidFile defined in an included file then move that directive to > > httpd.conf. > > > > On Mon, Feb 25, 2008 at 12:51 PM, Jason Erickson <[EMAIL PROTECTED]> wrote: > > > >> I ran those commands and this is what I got: > >> > >> 208/02/25_14:53:26 INFO: apache not running > >> INFO: waiting for apache > >> /opt/apache/conf/httpd.conf > >> > >> After I do that crm_mon shows that it is not running but if i do a ps -e > >> |grep httpd it shows it as running and I can access the site from > >> another computer. > >> > >> > >> > >> > >> Serge Dubrouski wrote: > >> > Have you tried to run Apache RA manually? > >> > > >> > export OCF_RESKEY_configfile="your_config_file" > >> > export OCF_RESKEY_statusurl="your_status_url" > >> > export OCF_ROOT=/usr/lib/ocf/ > >> > > >> > /usr/lib/ocf/resource.d/heartbeat/apache start > >> > > >> > On Mon, Feb 25, 2008 at 11:59 AM, Jason Erickson <[EMAIL PROTECTED]> > wrote: > >> > > >> >> Yah that is set to /opt/apache > >> >> apache will start up find with an init script. For whatever reason > >> >> heartbeat will not start up apache > >> >> > >> >> > >> >> > >> >> Serge Dubrouski wrote: > >> >> > It looks like Apache RA can't find PidFile for your Apache > instance. > >> >> > Do you have PidFile directive configured in your httpd.conf? > >> >> > > >> >> > On Mon, Feb 25, 2008 at 10:03 AM, Jason Erickson <[EMAIL > PROTECTED]> wrote: > >> >> > > >> >> >> Attached is my log. Maybe that will helped. If not what other > logs can i > >> >> >> check. > >> >> >> > >> >> >> > >> >> >> > >> >> >> Dejan Muhamedagic wrote: > >> >> >> > Hi, > >> >> >> > > >> >> >> > On Mon, Feb 25, 2008 at 11:25:24AM -0500, Jason Erickson wrote: > >> >> >> > > >> >> >> >> This is what crm_verify said > >> >> >> >> > >> >> >> >> crm_verify[26987]: 2008/02/25_11:30:41 WARN: unpack_rsc_op: > Processing > >> >> >> >> failed op Web_start_0 on postit.mtu.edu: Error > >> >> >> >> > >> >> >> > > >> >> >> > The Web resource failed to start. Aren't there more messages > from > >> >> >> > the RA itself around? They should be reported by lrmd. > >> >> >> > > >> >> >> > Thanks, > >> >> >> > > >> >> >> > Dejan > >> >> >> > > >> >> >> > > >> >> >> >> crm_verify[26987]: 2008/02/25_11:30:41 WARN: unpack_rsc_op: > Compatability > >> >> >> >> handling for failed op Web_start_0 on postit.mtu.edu > >> >> >> >> crm_verify[26987]: 2008/02/25_11:30:41 WARN: unpack_rsc_op: > Processing > >> >> >> >> failed op Web_start_0 on linux.mtu.edu: Error > >> >> >> >> crm_verify[26987]: 2008/02/25_11:30:41 WARN: unpack_rsc_op: > Compatability > >> >> >> >> handling for failed op Web_start_0 on linux.mtu.edu > >> >> >> >> > >> >> >> > _______________________________________________ > >> >> >> > Linux-HA mailing list > >> >> >> > [email protected] > >> >> >> > http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> >> >> > See also: http://linux-ha.org/ReportingProblems > >> >> >> > > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> > >> >> >> > >> >> >> Jason Erickson > >> >> >> Co-op > >> >> >> > >> >> >> Michigan Technological University > >> >> >> System Administration Services > >> >> >> http://help.admin.mtu.edu > >> >> >> (906) 487-3636 > >> >> >> > >> >> >> > >> >> >> _______________________________________________ > >> >> >> Linux-HA mailing list > >> >> >> [email protected] > >> >> >> http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> >> >> See also: http://linux-ha.org/ReportingProblems > >> >> >> > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > >> >> > >> >> -- > >> >> Jason Erickson > >> >> Co-op > >> >> > >> >> Michigan Technological University > >> >> System Administration Services > >> >> http://help.admin.mtu.edu > >> >> (906) 487-3636 > >> >> > >> >> _______________________________________________ > >> >> Linux-HA mailing list > >> >> [email protected] > >> >> http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> >> See also: http://linux-ha.org/ReportingProblems > >> >> > >> >> > >> > > >> > > >> > > >> > > >> > >> > >> -- > >> Jason Erickson > >> Co-op > >> > >> Michigan Technological University > >> System Administration Services > >> http://help.admin.mtu.edu > >> (906) 487-3636 > >> > >> _______________________________________________ > >> Linux-HA mailing list > >> [email protected] > >> http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> See also: http://linux-ha.org/ReportingProblems > >> > >> > > > > > > > > > > > -- > Jason Erickson > Co-op > > Michigan Technological University > System Administration Services > http://help.admin.mtu.edu > (906) 487-3636 > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > -- Serge Dubrouski. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
