Hi,
Followed the install instruction on a clean RHEL 7.4 HP Gen9 server.
When running the ./fullinstall as root it fails due to failure to start httpd. Trying to start httpd manually using systemctl start httpd.service using bash also fails.
¤ httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor prese
t: disabled)
Active: inactive (dead)
Docs: man:httpd(8)
man:apachectl(8)
Unit -.service could not be found.
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor prese
t: disabled)
Active: failed (Result: signal) since Mon 2017-09-25 12:23:37 BST; 1min 46s a go
Docs: man:httpd(8)
man:apachectl(8)
Process: 2620 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, si
gnal=KILL)
Main PID: 2620 (code=killed, signal=KILL)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/s
ec"
CGroup: /system.slice/httpd.service
Sep 25 12:20:36 xxxxxx systemd[1]: Starting The Apache HTT...
Sep 25 12:22:07 xxxxxx systemd[1]: httpd.service start ope...
Sep 25 12:23:37 xxxxxx systemd[1]: httpd.service stop-fina...
Sep 25 12:23:37 xxxxxx systemd[1]: httpd.service: main pro...
Sep 25 12:23:37 xxxxxx systemd[1]: Failed to start The Apa...
Sep 25 12:23:37 xxxxxx systemd[1]: Unit httpd.service ente...
Sep 25 12:23:37 xxxxxx systemd[1]: httpd.service failed.
./fullinstall script failed to start httpd.service
-
dwasswa
Re: ./fullinstall script failed to start httpd.service
Hi @ btgnrw,
What version of Nagios XI are you trying to install?
The reason why am asking is because XI runs or is configured differently for some versions of linux.
Also, please check if port 80 on your XI server is open.This is because the firewall (iptables) could be blocking blocking port 80.
Please run the command below to check if port 80 is open.
If the port is open,you should get the following output...
In addition,httpd runs on port 80 so you need to make sure you didn't already assign another application or service to that port.
Here is how you can check on what ports are open or closed on your server and what services or applications are listening on those ports.
For example when i run the command, it gives me back
You can run for more options ports,hosts and services on your server or network
What version of Nagios XI are you trying to install?
The reason why am asking is because XI runs or is configured differently for some versions of linux.
Also, please check if port 80 on your XI server is open.This is because the firewall (iptables) could be blocking blocking port 80.
Please run the command below to check if port 80 is open.
Code: Select all
iptables -L -n | grep 80Code: Select all
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80Here is how you can check on what ports are open or closed on your server and what services or applications are listening on those ports.
For example when i run the command
Code: Select all
nmap <my ip address>Code: Select all
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
3306/tcp open mysql
5666/tcp open nrpe
Code: Select all
man nmap -
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: ./fullinstall script failed to start httpd.service
In addition to what @dwassea asked, what's the output of sestatus? Also, please attach your /etc/sudoers, the install log (in the same directory as the fullinstall script), and the contents of conf.d.
Lastly, can you link us to the install instructions you are using?
Lastly, can you link us to the install instructions you are using?
Re: ./fullinstall script failed to start httpd.service
I rebuilt the server and did a clean curl https://nagios.com/downloads/nagiosxi/install.sh | sh
The install was successful this time.
Thanks
The install was successful this time.
Thanks
-
kyang
Re: ./fullinstall script failed to start httpd.service
Glad the curl was successful!
I'll be locking this thread now as resolved if you have more questions feel free to create another thread.
Thank you for using Nagios Support Forums!
I'll be locking this thread now as resolved if you have more questions feel free to create another thread.
Thank you for using Nagios Support Forums!