Public bug reported: When the bind address specified in nrpe.cfg is not available and the binding fails at startup, the startup/init script says that the service was successfully started but really it was not. The server does not stay resident and retry the bind. Therefore, I believe the proper behavior here should be to report a failure.
Steps to reproduce: apt-get install nagios-nrpe-server nano /etc/nagios/nrpe.cfg [change the bind address to one the system doesn't currently have, thus the binding will fail] service nagios-nrpe-server restart Expected results: init script reports [failed] like other services when they fail to start. Actual results: init script reports [OK], but service is not running. /var/log/syslog contains the following: Aug 31 18:24:35 ito nrpe[19683]: Starting up daemon Aug 31 18:24:35 ito nrpe[19683]: Network server bind failure (99: Cannot assign requested address) ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: nagios-nrpe-server 2.12-4ubuntu1 ProcVersionSignature: Ubuntu 2.6.38-8.42-server 2.6.38.2 Uname: Linux 2.6.38-8-server x86_64 Architecture: amd64 Date: Wed Aug 31 18:29:46 2011 InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426) ProcEnviron: PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: nagios-nrpe UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nagios-nrpe (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/838437 Title: startup script reports success, but nrpe server fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios-nrpe/+bug/838437/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs