[Pkg-nagios-devel] Bug#338391: nagios-common: nagios often leaves multiple processes around

Steve Greenland steveg at moregruel.net
Thu Nov 10 01:17:58 UTC 2005

Package: nagios-common
Version: 2:1.3-cvs.20050402-8
Severity: normal

First: this is going to be a pretty-much useless bug report, I
suspect, but maybe someone else has seen this and has a better idea. I
submitting this against nagios-common, because I've seen it both at work
(nagios-mysql) and home (nagios-text).

What happens: I often (every few days? weeks?) find multiple nagios
processes running -- not children, but independent master daemons.
While this occurs, I get multiple notifications for events (or at least
some -- I told you this would be useless). Running '/etc/init.d/nagios
stop' will kill one, while the other must be killed by hand, presumably
because the pidfile is wrong/missing.

I'm mildly suspicious of the use of 'start-stop-daemon --exec' in the
stop action of the init file, but I'm not sure what would be calling the
init script on a regular basis, as I don't see any logrotate scripts, or
cron scripts.

FWIW, my work system is sarge, and has the same problem. I've been
seeing this for a while, but I was never able to duplicate it under
controlled conditions.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-common depends on:
ii  adduser          3.77                    Add and remove users and groups
ii  apache [httpd]   1.3.34-1                versatile, high-performance HTTP s
ii  coreutils [fileu 5.2.1-2.1               The GNU core utilities
ii  debconf [debconf 1.4.58                  Debian configuration management sy
ii  fileutils        5.2.1-2.1               The GNU file management utilities 
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  nagios-plugins   1.4.2-5                 Plugins for the nagios network mon
ii  nagios-plugins-b 1.4.2-5                 Plugins for the nagios network mon

nagios-common recommends no packages.

-- debconf information:
* nagios/wwwsuid: true
* nagios/configapache: Apache

More information about the Pkg-nagios-devel mailing list