Dejan Muhamedagic wrote: > On Wed, Mar 28, 2007 at 04:01:05PM +0200, Benjamin Watine wrote: >> Hello the list :) >> >> I'm trying to get running a simple Heartbeat configuration : 2 nodes, >> active / passive configuration, running LDAP on a drbd disk. >> >> When Heartbeat is launched, it loads slapd, that start well. But a few >> second later, heartbeat try to load slapd a second time, and because >> slapd is already loaded, it return an error code and heartbeat fail. You >> can see the problem in the above log. > > It is sometimes OK for heartbeat to try to start a resource twice > (though that's probably not the case here). A resource agent > should be able to handle that, but yours obviously can't, i.e. it > is not LSB compliant. Pls check this: > > http://www.linux-ha.org/ResourceAgent > http://www.linux-ha.org/LSBResourceAgent > >> Why is heartbeat trying to load slapd twice ? Help would be appreciate :) > > Not sure. Unless we see the configuration. Pls check out this one > too: > > http://linux-ha.org/ReportingProblems > >> Thank you, and sorry for my english ! > > English good, reporting a tad lacking ;-)
It would typically try to start it twice if it didn't report status "correctly". For R1 configurations read http://linux-ha.org/HeartbeatResourceAgent for probable problems. -- Alan Robertson <[EMAIL PROTECTED]> "Openness is the foundation and preservative of friendship... Let me claim from you at all times your undisguised opinions." - William Wilberforce _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
