[Pkg-nagios-devel] Error start nagios3

André Moura andreoandre at gmail.com
Fri Jan 2 11:07:16 UTC 2009


Hi,

In the start nagios3 ( /etc/init.d/nagios3 start ), shows that error:

debian-movel:~# /etc/init.d/nagios3 start
Starting nagios3 monitoring daemon: nagios3/etc/init.d/nagios3: line
64: kill: (10390) - Processo inexistente
.

it only appears when the LC_ALL equals pt_BR

	
I fix the file by changing the line of 64:

if [ "$pid" ] && kill -0 $pid >/dev/null; then
to:
if [ "$pid" ] && [ $( kill -0 $pid >/dev/null ) ]; then


	
Attached nagios.diff

Ok?

-- 
André O Moura
http://andrem.wordpress.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios3.diff
Type: text/x-patch
Size: 351 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20090102/c120f6b4/attachment.bin 


More information about the Pkg-nagios-devel mailing list