tags 374758 + upstream thanks hi Krzysztof,
On Wed, Jun 21, 2006 at 08:59:42AM +0200, Krzysztof Raczkowski wrote: > Output from zabbix_agent.log: > Cannot bind to port 10050. Error [Address already in use]. Another > zabbix_agentd already running ? > > netstat shows: > netstat -an | grep 10050 > tcp 0 0 192.168.101.20:10050 192.168.101.20:32848 > TIME_WAIT > > I found this on Zabbix Forum: > http://www.zabbix.com/forum/printthread.php?t=1826 yeah, i have discovered this problem myself one or two times. However, this did only happen when killing the agent in a unusual way (i was not able to reproduce this using the init scripts). > Problem could be fixed by adding this line after stopping the zabbix_agent > in init file: > while [ `netstat -an | grep 10050 | wc -l` -ne 0 ]; do :; done > > and this line after stopping zabbix_server: > while [ `netstat -an | grep 10051 | wc -l` -ne 0 ]; do :; done > > assuming, that agent and server listen on default port. i don't think this work around does solve the essential problem: both zabbix server and agent should (at least try to) close all connections when stopped/killed. bye, - michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]