Hi Experts,
After reboot, i unable to access my nagios via web. i has checked the httpd(apache) is up and running. below are the return. i has attached log file for you to review. do you have any idea where should i check or perform?
[root@ec var]# service httpd status
Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2018-06-07 12:05:45 +08; 1min 46s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 23055 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 23060 (httpd)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
CGroup: /system.slice/httpd.service
├─23060 /usr/sbin/httpd -DFOREGROUND
├─23061 /usr/sbin/httpd -DFOREGROUND
├─23062 /usr/sbin/httpd -DFOREGROUND
├─23063 /usr/sbin/httpd -DFOREGROUND
├─23064 /usr/sbin/httpd -DFOREGROUND
└─23065 /usr/sbin/httpd -DFOREGROUND
Jun 07 12:05:45 ec.nagios systemd[1]: Starting The Apache HTTP Server...
Jun 07 12:05:45 ec.nagios systemd[1]: Started The Apache HTTP Server.
[root@ec var]# service network status
Configured devices:
lo ens32
Currently active devices:
lo ens32
[root@ec var]# service nagios status
nagios (pid 23032) is running...
[root@ec var]# service mysqld status
Redirecting to /bin/systemctl status mysqld.service
● mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2018-06-07 12:06:46 +08; 1min 14s ago
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process: 23503 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=0/SUCCESS)
Process: 23485 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
Main PID: 23507 (mysqld)
CGroup: /system.slice/mysqld.service
└─23507 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
Jun 07 12:06:45 ec.nagios systemd[1]: Starting MySQL Server...
Jun 07 12:06:46 ec.nagios systemd[1]: Started MySQL Server.
[root@ec var]#
Nagios core 4.3.4 unaccessible via web
Nagios core 4.3.4 unaccessible via web
- Attachments
-
- Nagios error.txt
- (7.76 KiB) Downloaded 301 times
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios core 4.3.4 unaccessible via web
@plam63, Did you disable SELinux before installing the Nagios Core?
Please run the following commands:
Then:
Please run the following commands:
Code: Select all
sed -i 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
setenforce 0
Code: Select all
service nagios restart
service httpd restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios core 4.3.4 unaccessible via web
If its not working even please stop firewall and check once. It may be work.
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios core 4.3.4 unaccessible via web
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.