Public bug reported:
Starting with Ubuntu 11.10, /etc/init.d/nagios-nrpe-server passes the
location of a PID file to start-stop-daemon. NRPE does not create this
pid file.
As a result, the service cannot be stopped since the PID file can not be
found.
I copied the init.d script from a previous version of Ubuntu, this
solved the problem for me.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nagios-nrpe-server 2.12-4ubuntu3.1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
Uname: Linux 3.0.4-yourmuze i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sun Oct 30 18:03:30 2011
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release i386
(20111011)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nagios-nrpe
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.init.d.nagios.nrpe.server: [modified]
modified.conffile..etc.nagios.nrpe.cfg: [modified]
mtime.conffile..etc.init.d.nagios.nrpe.server: 2011-10-30T17:38:55.297595
mtime.conffile..etc.nagios.nrpe.cfg: 2011-10-30T17:59:01.737577
** Affects: nagios-nrpe (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 oneiric
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/883904
Title:
nit.d script incorrectly assumes PID file --> can't stop service
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-nrpe/+bug/883904/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs