Your message dated Fri, 07 Jul 2006 05:17:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#374758: fixed in zabbix 1:1.1-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: zabbix
Version: 1:1.1-5

I'm using zabbix backported to Sarge (made by myself).
I found both agent and server sometimes fail to restart during log rotation, 
because tcp port they listen is still in use (in TIME_WAIT state). It 
happen about one on ten restarts of agnet or daemon (when restarted 
mannually).

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

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 suggest adding some kind of detection if tcp port, agent or server is 
using
a) before agent or server start
or
b) after agent or server is stopped

My system:
Debian Sarge
Linux monitor.prz.edu.pl 2.6.16-2-vserver-686 #2 SMP Tue May 23 07:55:55 
CEST 2006 i686 GNU/Linux

-- 
Krzysztof Raczkowski
Rzeszow University of Technology
System Administrator of CZ RMSK
tel.: (017) 865-13-93; e-mail: [EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Source: zabbix
Source-Version: 1:1.1-6

We believe that the bug you reported is fixed in the latest version of
zabbix, which is due to be installed in the Debian FTP archive:

zabbix-agent_1.1-6_amd64.deb
  to pool/main/z/zabbix/zabbix-agent_1.1-6_amd64.deb
zabbix-frontend-php_1.1-6_all.deb
  to pool/main/z/zabbix/zabbix-frontend-php_1.1-6_all.deb
zabbix-server-mysql_1.1-6_amd64.deb
  to pool/main/z/zabbix/zabbix-server-mysql_1.1-6_amd64.deb
zabbix_1.1-6.diff.gz
  to pool/main/z/zabbix/zabbix_1.1-6.diff.gz
zabbix_1.1-6.dsc
  to pool/main/z/zabbix/zabbix_1.1-6.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Ablassmeier <[EMAIL PROTECTED]> (supplier of updated zabbix package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 15 Jun 2006 12:02:04 +0200
Source: zabbix
Binary: zabbix-server-mysql zabbix-agent zabbix-frontend-php
Architecture: source amd64 all
Version: 1:1.1-6
Distribution: unstable
Urgency: low
Maintainer: Zabbix Maintainers <[EMAIL PROTECTED]>
Changed-By: Michael Ablassmeier <[EMAIL PROTECTED]>
Description: 
 zabbix-agent - software for monitoring of your networks -- agent
 zabbix-frontend-php - software for monitoring of your servers -- php frontend
 zabbix-server-mysql - software for monitoring of your networks -- server
Closes: 374493 374758 375569 376681 377038
Changes: 
 zabbix (1:1.1-6) unstable; urgency=low
 .
   * all:
     + integrate dpatch:
     + Adjust debconf templates (Closes: #374493)
     + Add French Translation, thanks Yves Rutschle (Closes: #375569)
   * zabbix-agent:
       + add debian/patches/01_zabbix_agentd.c.dpatch: patch from CVS
         for re-using open Sockets (Closes: #374758)
       + add debian/patches/03_zabbix_agentd.c-tmp.dpatch: rough patch
         for removing tmp file on agent shutdown. (Closes: #376681)
   * zabbix-server:
       + add debian/patches/02_zabbix_suckerd.c.dpatch: patch from CVS
         for re-using open Sockets (Closes: #377038)
Files: 
 ad1c90eaffa51f9c0011f5754bcec90e 772 net optional zabbix_1.1-6.dsc
 3ebfd460814cfcb1c42838f175f04903 26420 net optional zabbix_1.1-6.diff.gz
 8b1b22011c60475f092f4eb9a514e85f 114968 net optional 
zabbix-agent_1.1-6_amd64.deb
 58ccc2af15c5263244b28e669e02a85b 206390 net optional 
zabbix-server-mysql_1.1-6_amd64.deb
 20bc7b1f83545b20900ad9fae0b1e89b 301518 net optional 
zabbix-frontend-php_1.1-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFErk1kEFV7g4B8rCURAij1AKCR254rQrnoTNa0Wx9+Lxn0oRyyUACgsjyz
jUVHZt8+nklbbWziIv9ecqg=
=fhC9
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to