[Bug 463795] [NEW] When using --bindto and/or --allowedhosts nagios-statd stops accepting connections after a while

Rhomboid rhomboid at gmail.com
Thu Oct 29 21:33:44 UTC 2009


Public bug reported:

Ubuntu 9.04 server:

nagios-statd-server:
  Installed: 3.12-1
  Candidate: 3.12-1
  Version table:
 *** 3.12-1 0
        500 http://us.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status


This is happening on 3 machines now. There are 7 others with the same version of Ubuntu installed on the same hardware but do not require either of these options because they're only on a private network. Those 7 work properly with the same Nagios server. The 3 using --bindto stop allowing connections after some period of time. The 3 machines with this problem have a public and private interface and I'm trying to bind to the private interface.

There does not seem to be any logging to view but for lack of anything
else here's an strace during a connection attempt using telnet. The
other end just gets an immediate dropped connection.

select(4, [3], [], [], {0, 500000})     = 0 (Timeout)
select(4, [3], [], [], {0, 500000})     = 0 (Timeout)
select(4, [3], [], [], {0, 500000})     = 1 (in [3], left {0, 248772})
accept(3, {sa_family=AF_INET, sin_port=htons(41078), sin_addr=inet_addr("10.2.2.246")}, [8547832101339136016]) = 4
stat("/usr/lib/python2.6/SocketServer.py", {st_mode=S_IFREG|0644, st_size=21922, ...}) = 0
stat("/usr/lib/python2.6/SocketServer.py", {st_mode=S_IFREG|0644, st_size=21922, ...}) = 0
stat("/usr/lib/python2.6/SocketServer.py", {st_mode=S_IFREG|0644, st_size=21922, ...}) = 0
close(4)                                = 0
select(4, [3], [], [], {0, 500000})     = 0 (Timeout)
select(4, [3], [], [], {0, 500000})     = 0 (Timeout)

Yet the port appears to be listening:

Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 10.2.2.1:1040           0.0.0.0:*               LISTEN

** Affects: nagios-statd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
When using --bindto and/or --allowedhosts nagios-statd stops accepting connections after a while
https://bugs.launchpad.net/bugs/463795
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list