Bug #4391
closedStatus | Services | nrpe2 | restart does not restart nrpe
100%
Description
On pfSense 2.2, I am unable to restart nrpe2
I click through: Status | Services | nrpe2 | restart service.
The webui says: nrpe2 has been restarted
The logs:
Feb 9 00:15:00 php-fpm92748: /status_services.php: The command '/usr/local/etc/rc.d/nrpe2.sh stop' returned exit code '1', the output was 'nrpe2 not running? (check /var/run/nrpe2.pid).'
Feb 9 00:15:00 nrpe32629: Starting up daemon
Feb 9 00:15:00 nrpe32629: There's already an NRPE server running (PID 39541). Bailing out...
The console show this before restart attempt
ps auwx | grep nrpe
nagios 39541 0.0 0.2 23188 4912 - Is 8:32PM 0:00.31 /usr/local/sbin/nrpe2 -d -c /usr/pbi/nrpe-amd64/etc/nrpe.cfg
root 98802 0.0 0.1 18884 2380 0 S+ 12:14AM 0:00.00 grep nrpe
And this after restart attempt
ps auwx | grep nrpe
nagios 39541 0.0 0.2 23188 4912 - Is 8:32PM 0:00.31 /usr/local/sbin/nrpe2 -d -c /usr/pbi/nrpe-amd64/etc/nrpe.cfg
root 37472 0.0 0.1 18884 2380 0 S+ 12:15AM 0:00.00 grep nrpe
i.e. nil change