Am Dienstag, 28. August 2007 14:09 schrieb Dejan Muhamedagic: > On Tue, Aug 28, 2007 at 09:26:52AM +0200, Martin Bene wrote: > > Hi, > > > > I've just run into a problem trying to use apache resource agent in > > heartbeat 2.1.2; cluster is running with v1 style configuration. > > > > If there's an error in the apache config file, startup hangs > > indefinitely: > > > > ocf_run $HTTPD $HTTPDOPTS $OPTIONS -f $CONFIGFILE > > tries=0 > > while : # wait until the user set timeout > > do > > monitor_apache > > ec=$? > > if [ $ec -eq $OCF_NOT_RUNNING ] > > then > > tries=`expr $tries + 1` > > ocf_log info "waiting for apache $CONFIGFILE to come up" > > sleep 1 > > else > > break > > fi > > done > > return $ec > > } > > > > Ocf_run tries to start the apache server; the followin loop doesn't seem > > to have any exit (other than apache comming up). (...)
What is your testregexp? Does this really appear in the output of your webserver? What happens if you set your testrexgexp to "body"? -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [EMAIL PROTECTED] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
