This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
vhoover
Posts: 123 Joined: Mon Sep 09, 2013 12:17 pm
Post
by vhoover » Sun Sep 13, 2015 8:38 pm
the HTTP daemon won't start and as a result the nagios gui is unavailable. When attempting to start the daemon I receive the following error:
Code: Select all
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
tmcdonald
Posts: 9117 Joined: Mon Sep 23, 2013 8:40 am
Post
by tmcdonald » Mon Sep 14, 2015 8:54 am
What command are you using to start the httpd daemon? Does a service httpd restart clear it? It definitely sounds like something is already taking port 80, possibly the httpd process is already running?
Former Nagios employee
vhoover
Posts: 123 Joined: Mon Sep 09, 2013 12:17 pm
Post
by vhoover » Mon Sep 14, 2015 11:53 am
When attempting to clear it I get a failed message. Attached is the output from the service stop, start, restart, & the netstat command.
You do not have the required permissions to view the files attached to this post.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Mon Sep 14, 2015 1:05 pm
Try and force httpd to stop by running the following.
After that, make sure the pid file is removed from the system. Run this to remove it.
Then start httpd
Take a look in the /var/log/httpd/error_log file if this fails.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
vhoover
Posts: 123 Joined: Mon Sep 09, 2013 12:17 pm
Post
by vhoover » Mon Sep 14, 2015 1:15 pm
That solved it, thanks. I will make note of this, should (knock on wood) happen again.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Mon Sep 14, 2015 1:18 pm
That is good to hear. I'll close the post for you.
Be sure to check out our
Knowledgebase for helpful articles and solutions!