Skip to content
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

Open
saitohas opened this issue Jan 10, 2025 · 8 comments
Labels

Comments

@saitohas
Copy link

"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."

image

@ericloyd
Copy link

Just curious if you have localhost in your /etc/hosts file? Or some DNS failure? Sounds like it's waiting for a name translation.

@saitohas
Copy link
Author

Yes, this is not the problem

image

@ericloyd
Copy link

Does restarting it also take so long? Or only startup?

@saitohas
Copy link
Author

Same delay

@ericloyd
Copy link

What happens when you execute the following as root:

time /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

@saitohas
Copy link
Author

image

@ericloyd
Copy link

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?

@saitohas
Copy link
Author

Yes, normal 24.04 LTS install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants