Hi,
>> <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 >> have you tried using ocf-tester ? ocf-tester -n proc_apache -o configfile=/etc/apache2/httpd.conf -o ... /usr/lib/ocf/resource.d/heartbeat/apache Ocf agents usually have its own environment. Its not used normally as a lsb-script replacement. Kind regards, Malte Geierhos >> May be someone can to explain me what is it the error and how I can fix it? >> _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
