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

sean finney sean finney <seanius@debian.org>, 284902@bugs.debian.org
Thu, 9 Dec 2004 12:12:45 -0500


--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

close 284902=20
thanks

he jeroen,

please see bug #283875; this issue has been reported and should be fixed
in the version of nagios in unstable (pre5).  i believe there are also
suggestions for what you can do in the meantime if you don't want to
wait the 7 days it has left to make it into sarge.


thanks,
	sean

On Thu, Dec 09, 2004 at 12:58:53PM +0100, Jeroen van Wolffelaar wrote:
> Package: nagios-mysql
> Version: 2:1.3-0+pre4
> Severity: important
>=20
> I just upgraded my nagios:
>=20
> | (...)
> | Reloading nagios configuration files.
> | Not running.
> | Starting nagios: named pipe exists - removing
> | nagios.
> |=20
> | 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
>=20
> And now I've got two instances of nagios running.
>=20
> 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?).
>=20
> I upgraded from 2:1.2-3.6 to 2:1.3-0+pre4.
>=20
> --Jeroen
>=20
> -- System Information:
> Debian Release: 3.1
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.7
> Locale: LANG=3Dnl_NL.UTF-8, LC_CTYPE=3Dnl_NL.UTF-8 (charmap=3DUTF-8)
>=20
> Versions of packages nagios-mysql depends on:
> ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared librar=
ies an
> ii  libgd2-xpm                  2.0.33-1     GD Graphics Library version 2
> ii  libjpeg62                   6b-9         The Independent JPEG Group's=
 JPEG=20
> 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 monit=
oring=20
> ii  zlib1g                      1:1.2.2-3    compression library - runtime
>=20
> -- debconf information:
>   nagios/warnmovedcommands:
>   nagios/warncoords:
>   nagios/wwwsuid: true
>   nagios/newapachecfg:
>   nagios/upgradefromnetsaint:
> * nagios/configapache: None
>   nagios/warnupgrade_5_6:
>=20
> --=20
> Jeroen van Wolffelaar
> jeroen@wolffelaar.nl
> http://jeroen.A-Eskwadraat.nl
>=20
>=20
> _______________________________________________
> Pkg-nagios-devel mailing list
> Pkg-nagios-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-nagios-devel

--=20

--XsQoSWH+UP9D9v3l
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFBuIeNynjLPm522B0RAoRvAJ4ieXXyls5Jri4RVh+MhOJtjdm2+QCeIYDE
lQ5xX3/7BckFZOJDvkZ34Tg=
=Bc4V
-----END PGP SIGNATURE-----

--XsQoSWH+UP9D9v3l--