-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache2 and NSCA not removing PID on reboot #139
Comments
Solved this issue and others I was having by rolling back to v4.4.4 |
I believe the issues you were seeing were resolved in |
4.4.8 still does: |
I see this issue from time to time.
(repeated) The nagios web UI was up and running, and in the container the /var/run/nsca.pid file was present and had a PID in it of the existing running process. I guess something is trying to launch another instance of NSCA and is failing with that message. Here's the PID file contents and currently running processes, including the /bin/bash as root that I used to get into the container.
The dates on the PID (May 18) don't match with what I assume is the start time of the process (May 19). This might be a hint. I removed the container and recreated it and this problem went away. I thought it might have been triggered by restarting the container, but restarting it worked fine. I wonder actually if this is caused by an unclean shutdown of the container, which would leave the PID file there, followed by a subsequent restart? Version: latest, image hash 79a7fc3a2f88 (https://hub.docker.com/layers/jasonrivers/nagios/latest/images/sha256-a341182a89e6888c27cc283ca22e36b9f9ebd96deaa4b76063bdaeb8f025a16d?context=explore) |
Web access to nagios goes down after resetting my server. Logs show,
httpd (pid 18) already running
nsca[20039]: There's already an NSCA server running (PID 17). Bailing out...
Removing those PIDs manually in the docker container fixes it until the next reboot.
The text was updated successfully, but these errors were encountered: