-
Notifications
You must be signed in to change notification settings - Fork 453
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
Nagios Core 4.5.9 - Fresh install on Ubuntu 24.04 service takes approximately 17 minutes to start #1017
Comments
Just curious if you have localhost in your /etc/hosts file? Or some DNS failure? Sounds like it's waiting for a name translation. |
Does restarting it also take so long? Or only startup? |
Same delay |
What happens when you execute the following as root:
|
Okay, so I don't think it's Nagios itself that has the problem, it's something system related that it's expecting to do and that's hanging until a timeout finishes and then it continues. I'll see if I can get one of our techs to do this install on a box today and see what it does. I assume you did a normal 24.04 LTS minimal server install? |
Yes, normal 24.04 LTS install |
This issue is not specific to this version, it has been occurring since the versions released at the beginning of 2024 |
I'm curious if you still have the problem with the |
I have been seeing a lot of problems with the check_for_updates functionality, I will look into it |
What kind of environment do you have your nagios core system in? Is it offline? Can the nagios core system connect to api.nagios.com? |
It's not offline; it can connect to api.nagios.com, but we use a proxy server that might be affecting the update verification. |
As I wrote in my previous reply, it's hanging, waiting for something. In this case, likely getting to the update server through your proxy. We did the install on a 24.04 LTS box and had no problems. I'll see what happens if we redirect api.nagios.com to be a bitbucket IP, but I suspect we'll see your timeout issue. |
Could you try enabling the check for updates option again and then try running nagios in your terminal with timing points enabled like Then we'll be able to see where it's getting hung up during the start up process. |
So |
Today worked root@nagios:/usr/local/nagios/etc/servers# /usr/local/nagios/bin/nagios -T /usr/local/nagios/etc/nagios.cfg Nagios Core 4.5.9 Website: https://www.nagios.org |
"I followed the step-by-step installation several times and I can't figure out why the service takes so long to start. There are no errors in the Nagios, Apache, or Ubuntu logs. I've tried everything and there's no way to get Nagios to start normally."
The text was updated successfully, but these errors were encountered: