Page 2 of 6
Re: Web interface time out
Posted: Wed Jan 15, 2014 5:41 pm
by lmiltchev
You may have checked this one already, but is SELinux enabled?
Re: Web interface time out
Posted: Wed Jan 15, 2014 5:45 pm
by sreinhardt
Well that looks great, lets make sure php modules are loaded and see if you can access index.php directly.
in your browser visit
http://hostname/nagios/index.php
I was going to ask, is there a reason you went back to core from our XI demo the other day? We are going to help out either way, but if there was something you were not happy with it would be great to have improvement suggestions.
Re: Web interface time out
Posted: Wed Jan 15, 2014 5:57 pm
by rlevick
I did have an issue with the NagiosXI not verifying additional switches after I added 48. I'm still waiting on an educational price from sales.
[root@localhost ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted
[root@localhost ~]# httpd -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
auth_basic_module (shared)
auth_digest_module (shared)
authn_file_module (shared)
authn_alias_module (shared)
authn_anon_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authz_host_module (shared)
authz_user_module (shared)
authz_owner_module (shared)
authz_groupfile_module (shared)
authz_dbm_module (shared)
authz_default_module (shared)
ldap_module (shared)
authnz_ldap_module (shared)
include_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
ext_filter_module (shared)
mime_magic_module (shared)
expires_module (shared)
deflate_module (shared)
headers_module (shared)
usertrack_module (shared)
setenvif_module (shared)
mime_module (shared)
dav_module (shared)
status_module (shared)
autoindex_module (shared)
info_module (shared)
dav_fs_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
actions_module (shared)
speling_module (shared)
userdir_module (shared)
alias_module (shared)
substitute_module (shared)
rewrite_module (shared)
proxy_module (shared)
proxy_balancer_module (shared)
proxy_ftp_module (shared)
proxy_http_module (shared)
proxy_ajp_module (shared)
proxy_connect_module (shared)
cache_module (shared)
suexec_module (shared)
disk_cache_module (shared)
cgi_module (shared)
version_module (shared)
dnssd_module (shared)
php5_module (shared)
Syntax OK
[root@localhost ~]#
Re: Web interface time out
Posted: Wed Jan 15, 2014 6:02 pm
by rlevick
When I try to got to http://<serverIP>/nagios/index.php I timeout.
Re: Web interface time out
Posted: Thu Jan 16, 2014 10:47 am
by lmiltchev
Run the following command in the command line:
Let me know if this helped.
Re: Web interface time out
Posted: Thu Jan 16, 2014 11:10 am
by rlevick
Unfortunately web access is still unavailable after the command. Thanks.
Re: Web interface time out
Posted: Thu Jan 16, 2014 11:32 am
by abrist
Now that you have nmap, can you run a port scan?
Re: Web interface time out
Posted: Thu Jan 16, 2014 11:36 am
by rlevick
[root@localhost ~]# nmap localhost
Starting Nmap 5.51 (
http://nmap.org ) at 2014-01-16 10:35 CST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000011s latency).
rDNS record for 127.0.0.1: localhost.localdomain
Not shown: 995 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
111/tcp open rpcbind
631/tcp open ipp
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
[root@localhost ~]#
Re: Web interface time out
Posted: Thu Jan 16, 2014 11:41 am
by abrist
Try to browse to the page one more time, and then post the apache log here:
Re: Web interface time out
Posted: Thu Jan 16, 2014 11:45 am
by rlevick
[root@localhost ~]# tail -35 /var/log/httpd/error_log
[Thu Jan 16 08:24:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 08:29:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 08:34:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 08:39:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 08:44:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 08:49:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 08:54:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 08:59:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:04:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:09:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:14:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:19:18 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:24:17 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:29:17 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:34:17 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:39:17 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:44:17 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:49:17 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:54:17 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 09:59:05 2014] [notice] caught SIGTERM, shutting down
[Thu Jan 16 10:00:14 2014] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Jan 16 10:00:14 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 16 10:00:14 2014] [notice] Digest: generating secret for digest authentication ...
[Thu Jan 16 10:00:14 2014] [notice] Digest: done
[Thu Jan 16 10:00:14 2014] [warn] ./mod_dnssd.c: No services found to register
[Thu Jan 16 10:00:14 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Thu Jan 16 10:01:30 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 10:06:30 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 10:11:30 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 10:16:30 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 10:21:30 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 10:26:30 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 10:31:30 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 10:36:30 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Thu Jan 16 10:41:30 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[root@localhost ~]#