On Tue, Sep 20, 2011 at 06:05:43PM -0400, Nick Khamis wrote: > Trying to get the linbit drbd ocf script going, I tried: > > root@mydrbd1:export OCF_ROOT=/usr/lib/ocf > root@mydrbd1:export OCF_RESKEY_device="/dev/drbd/by-res/r0.res" > root@mydrbd1:export OCF_RESKEY_directory="/service" > root@mydrbd1:./drbd start > ./drbd: line 45: /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs: No > such file or directory > ./drbd: line 668: check_binary: command not found > ./drbd: line 669: check_binary: command not found > ./drbd: line 661: ocf_log: command not found > ./drbd: line 644: ocf_log: command not found > > .ocf-shellfuncs is nowhere to be found.
That file is supposed to be a link to $OCF_ROOT/lib/heartbeat/ocf-shellfuncs. It is created by make (see the top level Makefile.am). Looks like your resource-agents package is broken. Thanks, Dejan > > Thanks in Advance, > > Nick. > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
