On Mon, Oct 19, 2009 at 10:11 AM, dembi <[email protected]> wrote: > > > 1. I have a very simple Apache configuration. > I can start Apache from init.d. Please see: > > sudo /etc/init.d/apache2 start > Starting web server: apache2. > j...@aps-1:~$ sudo /etc/init.d/apache2 status > Apache is running (pid 1565).. > > And If I use lsb script all work fine. > If I kill Apache process, he restarted after 5 sec as I set in option of > monitor. > > <primitive id="apache" class="lsb" provider="heartbeat" > type="apache"> > <operations> > <op id="apache-app_mon" interval="5s" name="monitor" > timeout="5s"/> > </operations> > </primitive> > > As you can see Apache has successfully working. > > 2. But If I manually try to start ocf script I get following error: > > /usr/lib/ocf/resource.d/heartbeat/apache start > /usr/lib/ocf/resource.d/heartbeat/apache: line 37: > /resource.d/heartbeat/.ocf-shellfuncs: No such file or directory > > May be someone can to explain me what is it the error and how I can fix it?
Where'd you get the packages from, looks like there is an expansion error in /etc/ha.d/shellfuncs The correct file to include is /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
