Bug#465564: OCF heartbeat/apache monitor doesn't contain proper path to apache2 binaries

2008-02-13 Thread Artur Kaminski

Package: heartbeat-2
Version: 2.0.7-2


Apache monitoring script provided by heartbeat doesn't contain path
to apache2 binaries installed in Debian.

Error message:
lisa:~# /usr/lib/ocf/resource.d/heartbeat/apache status
/usr/lib/ocf/resource.d/heartbeat/apache: line 551: return: can only `return' 
from a function or sourced script
2008/02/13_09:55:27 ERROR: No valid httpd found! Please revise your HTTPDLIST 
item

After correction

47c47
 HTTPDLIST=/sbin/httpd2 /usr/sbin/httpd2 /sbin/httpd /usr/sbin/httpd 
$IBMHTTPD
---

HTTPDLIST=/usr/sbin/apache2 /sbin/httpd2 /usr/sbin/httpd2 /sbin/httpd 
/usr/sbin/httpd $IBMHTTPD



the status is displayed correctly.

/etc/issue: Debian GNU/Linux 4.0
uname -a: Linux lisa 2.6.18-6-686 #1 SMP Wed Jan 23 03:23:22 UTC 2008 i686 
GNU/Linux
No ports/backports/binaries compiled from source.


___
Artur Kaminski
Canall Communication Ltd.
___
Documentation — if there is one word that installs fear in
most developers, it must be this one.

begin:vcard
fn:Artur N. Kaminski
n:Kaminski;Artur
org:;IT
adr:Higher Union Street;;Old Workshop;Kingsbridge;Devon;TQ7 1EQ;United Kingdom
email;internet:[EMAIL PROTECTED]
title:Computer Systems Administrator
tel;work:+448701229990
tel;cell:+447504653963
x-mozilla-html:TRUE
url:http://www.canall.com/
version:2.1
end:vcard



Bug#465564: OCF heartbeat/apache monitor doesn't contain proper path to apache2 binaries

2008-02-13 Thread Simon Horman
Hi,

Thanks for bringing this to my attention.
I'll endevour to get it fixed up for the next release.


-- 
Horms




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]