Docker-Nagios icon indicating copy to clipboard operation
Docker-Nagios copied to clipboard

there's already an NSCA server running (PID 16). Bailing out...

Open pathia opened this issue 11 months ago • 2 comments

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.

pathia avatar Mar 10 '24 15:03 pathia

any ideas @JasonRivers ?

pathia avatar Apr 14 '24 19:04 pathia

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.

pathia avatar May 30 '24 14:05 pathia