[Pkg-nagios-devel] Bug#284902: Upgrade launces duplicate nagios

Jeroen van Wolffelaar Jeroen van Wolffelaar <jeroen@wolffelaar.nl>, 284902@bugs.debian.org
Thu, 9 Dec 2004 12:58:53 +0100


Package: nagios-mysql
Version: 2:1.3-0+pre4
Severity: important

I just upgraded my nagios:

| (...)
| Reloading nagios configuration files.
| Not running.
| Starting nagios: named pipe exists - removing
| nagios.
| 
| mordor:/home/jeroen# ps aux|grep nagios
| nagios   18676  0.0  0.1  2752  996 ?        SNs  Nov29   3:48
| /usr/sbin/nagios /etc/nagios/nagios.cfg
| nagios   12358  0.0  0.2  2756 1256 ?        SNs  13:18   0:00
| /usr/sbin/nagios /etc/nagios/nagios.cfg
| nagios   12401  0.0  0.1  2756 1016 ?        SN   13:18   0:00
| /usr/sbin/nagios /etc/nagios/nagios.cfg

And now I've got two instances of nagios running.

Two things are going wrong here, the postinst doesn't correctly detect
nagios is already running, and fails to shut it down, and also, the
nagios start script doesn't check for existing nagios processes
(no/failing locking?).

I upgraded from 2:1.2-3.6 to 2:1.3-0+pre4.

--Jeroen

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)

Versions of packages nagios-mysql depends on:
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libgd2-xpm                  2.0.33-1     GD Graphics Library version 2
ii  libjpeg62                   6b-9         The Independent JPEG Group's JPEG 
ii  libmysqlclient10            3.23.56-2    LGPL-licensed client library for M
ii  libpng12-0                  1.2.8beta5-2 PNG library - runtime
ii  nagios-common               2:1.3-0+pre4 A host/service/network monitoring 
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- debconf information:
  nagios/warnmovedcommands:
  nagios/warncoords:
  nagios/wwwsuid: true
  nagios/newapachecfg:
  nagios/upgradefromnetsaint:
* nagios/configapache: None
  nagios/warnupgrade_5_6:

-- 
Jeroen van Wolffelaar
jeroen@wolffelaar.nl
http://jeroen.A-Eskwadraat.nl