Docker-Nagios
Docker-Nagios copied to clipboard
there's already an NSCA server running (PID 16). Bailing out...
Thanks for your efforts in providing this container!
Whenever I restart the Docker container I get: nagios | nagios: Successfully launched command file worker with pid 35 nagios | nsca[43]: There's already an NSCA server running (PID 16). Bailing out... nagios | nsca[44]: There's already an NSCA server running (PID 16). Bailing out... nagios | postfix/master[16]: daemon started -- version 3.6.4, configuration /etc/postfix nagios | nsca[47]: There's already an NSCA server running (PID 16). Bailing out... nagios | nsca[48]: There's already an NSCA server running (PID 16). Bailing out... nagios | nsca[49]: There's already an NSCA server running (PID 16). Bailing out...
If I just force-recreate it this doesn't happen.
any ideas @JasonRivers ?
I found that the following command followed by a restart of the container "fixes" it. docker exec -it nagios rm /var/run/nsca.pid But it's far from a permanent solution.