On Tue, Dec 18, 2007 at 09:10:04AM -0500, Jason W. Allen wrote:
Hello,

> >From what I have been able to deduce, I don't think it's a problem with
> apache.  Everything runs fine if I start apache manually, or if I let
> heartbeat start apache.  The only time it doesn't work is when I try to fail
> back to the Sys1 computer.  And only after It has already been reported as
> started.   For some reason it looks like heartbeat tries to start everything
> twice, it is at this point that apache returns and RC=1 error.  Heartbeat

I believe that start action on already started resource should return
success, not error (RC=1).

Look at http://wiki.linux-ha.org/LSBResourceAgent
...
The most common problems are:
- Starting a started resource returns an error (this violates the LSB spec)
...

Fix it or switch to apache RA from heartbeat.

> then shuts everything down. After it has been stopped I can run heartbeat
> start again and it all comes back as good as new.  If I look in the apache
> logs (all the way at the bottom of my original email) apache returns NO
> error.

> I may be mistaken, but I thought the Apache RA is only for version 2. These
> are production machines and I'm a bit apprehensive to go to version 2 with
> no experience with it. 

My systems have /etc/ha.d/resource.d/apache wrapper for OCF
apache RA. I think it should work with heartbeat v1.

Kupson
-- 
Great software without the knowledge to run it is pretty useless.
(Linux Gazette #1)
_______________________________________________
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