Package: zabbix-agent
Severity: normal
Tags: patch

--- zabbix-1.1/debian/zabbix-agent.init~        2006-07-06 11:38:20.000000000 
+0200
+++ zabbix-1.1/debian/zabbix-agent.init 2006-07-06 11:43:44.000000000 +0200
@@ -23,6 +23,7 @@
        ;;
   restart|force-reload)
        $0 stop
+       sleep 2
        $0 start
        ;;
   *)


After stopping zabbix, there's a race condition with the old process terminating
its children, which still are binding ports, and new process starting that
attempt to claim the same port.

This patch works around the problem by sleeping for 2s.  Not a perfect solution,
but will work in most cases.

-- 
Robert Millan

ACK STORM, S.L.  -  http://www.ackstorm.es


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

Reply via email to