Hi there, I'm afraid, I'm asking a question that several other people asked before. Believe me, I think I tried everything from the posts I've found yet.
I'm currently trying to get my apache webserver to be started by pacemaker. Here's the config: primitive sharedIP ocf:heartbeat:IPaddr2 \ params ip="*******" cidr_netmask="255.255.255.0" nic="eth0:0" primitive stonith_suicide stonith:suicide primitive webserver_ressource ocf:heartbeat:apache \ params httpd="/usr/sbin/httpd2-prefork" \ op start interval="0" timeout="40s" \ op stop interval="0" timeout="60s" \ op monitor interval="10" timeout="20s" depth="0" \ meta target-role="Started" group nagios_group sharedIP webserver_ressource \ meta target-role="Started" clone fencing stonith_suicide property $id="cib-bootstrap-options" \ dc-version="1.1.2-8b9ec9ccc5060457ac761dce1de719af86895b10" \ cluster-infrastructure="openais" \ expected-quorum-votes="3" \ stonith-enabled="false" According to ps -ef | grep apache , there's no apache server running. crm_mon says: webserver_ressource (ocf::heartbeat:apache): Stopped and Failed actions: webserver_ressource_start_0 (node=ipfuie-mgmt01, call=5, rc=-2, status=Timed Out): unknown exec error When I stop the server and test the ressource via ocf-tester, I get the following result: ocf-tester -n webserver_ressource -o httpd="/usr/sbin/httpd2-prefork" /usr/lib/ocf/resource.d/heartbeat/apache Beginning tests for /usr/lib/ocf/resource.d/heartbeat/apache... * rc=2: Validation failed. Did you supply enough options with -o ? Aborting tests If I start the OCF-Script manually, everything works fine: ipfuie-mgmt01:~ # export OCF_ROOT=/usr/lib/ocf mgmt01:~ # /usr/lib/ocf/resource.d/heartbeat/apache start apache[29822]: INFO: apache not running apache[29822]: INFO: waiting for apache /etc/apache2/httpd.conf to come up mgmt01:~ # /usr/lib/ocf/resource.d/heartbeat/apache status apache[29988]: INFO: apache is running (pid 29970). I grep'ed my logs for "webserver_ressource", but did not find anything that points me to an obvious error... Any ideas? -- CONET Solutions GmbH Andreas Stallmann, Theodor-Heuss-Allee 19, 53773 Hennef Tel.: +49 2242 939-677, Fax: +49 2242 939-393 Mobil: +49 172 2455051 Internet: http://www.conet.de, mailto: astallm...@conet.de<mailto:astallm...@conet.de> ------------------------ CONET Solutions GmbH, Theodor-Heuss-Allee 19, 53773 Hennef. Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 9136) Gesch?ftsf?hrer/Managing Directors: J?rgen Zender (Sprecher/Chairman), Anke H?fer Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Hans J?rgen Niemeier CONET Technologies AG, Theodor-Heuss-Allee 19, 53773 Hennef. Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 10328 ) Vorstand/Member of the Managementboard: R?diger Zeyen (Sprecher/Chairman), Wilfried P?tz Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Gerd Jakob _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems