Package: zabbix-agent Version: 1.1.6-1 Severity: normal restarting zabbix-agent several times a row causes zabbix-agent die with the following info in zabbix-agent.log:
030087:20070306:224732 Cannot bind to port 10050. Error [Address already in use]. Another zabbix_agentd already running ? how to reproduce: rtr:~# ps -ef | grep -i zabbix_agent | grep -v grep | wc -l 6 rtr:~# /etc/init.d/zabbix-agent restart Stopping Zabbix agent: zabbix_agentd Starting Zabbix agent: zabbix_agentd rtr:~# /etc/init.d/zabbix-agent restart Stopping Zabbix agent: zabbix_agentd Starting Zabbix agent: zabbix_agentd rtr:~# ps -ef | grep -i zabbix_agent | grep -v grep | wc -l 0 rtr:~# (notice < 1s delay between restarts) tried to reproduce on grsec kernel and no grsec kernels, same behavior. strange, seems like a ghost of #377038. Correct me if I'm wrong. solution is to hack init.d script and add 'sleep 1' between stop and start, just like in #377038. I was not able to kill zabbix-agent by excessive amount of restarts after this little hack. Regards, -- [: Patryk Dawidziuk ~~~ :] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]