Nagios core 4.3.4 unaccessible via web

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
plam63
Posts: 1
Joined: Wed Jun 06, 2018 10:53 pm
Location: Malaysia

Nagios core 4.3.4 unaccessible via web

Post by plam63 »

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? :cry:




[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]#
Attachments
Nagios error.txt
(7.76 KiB) Downloaded 301 times
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios core 4.3.4 unaccessible via web

Post by npolovenko »

@plam63, Did you disable SELinux before installing the Nagios Core?
Please run the following commands:

Code: Select all

sed -i 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
setenforce 0
Then:

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.
cssp
Posts: 21
Joined: Thu May 17, 2018 10:31 pm

Re: Nagios core 4.3.4 unaccessible via web

Post by cssp »

If its not working even please stop firewall and check once. It may be work.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Nagios core 4.3.4 unaccessible via web

Post by npolovenko »

@cssp, Good call. @plam63, Keep us updated on the issue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked