Not getting the web interface


#1

Hi

I am using REDHAT LINUX 9
NAGIOS 2.10
NAGIOS PLUGINS 1.4.11

Problem is When i point my browser to localhost/nagios/
I am getting Forbidden error(403)
But, Nagios is running. Problem is only with web interface.

Please help me in this regard.


#2

Hi!

the problem is: you don’t really give a lot of info on this issue; so it will be hard to guess where the problem comes from :slight_smile:

anyway:
-is there anything useful written in your acces_log and error_log files of your apache ?
-I assume you’ve set “use_authentication=1” in your cgi.cfg
-have you set “AuthType Basic” and “AuthUserFile path_to_your_htpasswd_file” in your aliases ? (that’s not very clear … don’t hesitate to read the doc on the subject of configuring apache :))


#3

Hi

I am attaching the file. Please check it


#4

[Wed Mar 05 12:01:41 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 05 12:01:42 2008] [notice] Digest: generating secret for digest authentication …
[Wed Mar 05 12:01:42 2008] [notice] Digest: done
[Wed Mar 05 12:01:42 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 05 12:01:42 2008] [notice] LDAP: SSL support unavailable
[Wed Mar 05 12:01:52 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 05 12:01:53 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Wed Mar 05 12:05:21 2008] [notice] caught SIGTERM, shutting down
[Wed Mar 05 14:08:45 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 05 14:08:45 2008] [notice] Digest: generating secret for digest authentication …
[Wed Mar 05 14:08:45 2008] [notice] Digest: done
[Wed Mar 05 14:08:45 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 05 14:08:45 2008] [notice] LDAP: SSL support unavailable
[Wed Mar 05 14:08:56 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 05 14:08:56 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Wed Mar 05 14:41:47 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/nagios
[Wed Mar 05 14:41:47 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 14:42:08 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/nagios
[Wed Mar 05 14:42:08 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:22:55 2008] [notice] caught SIGTERM, shutting down
[Wed Mar 05 15:22:56 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 05 15:22:57 2008] [notice] Digest: generating secret for digest authentication …
[Wed Mar 05 15:22:57 2008] [notice] Digest: done
[Wed Mar 05 15:22:57 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 05 15:22:57 2008] [notice] LDAP: SSL support unavailable
[Wed Mar 05 15:23:07 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 05 15:23:08 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Wed Mar 05 15:28:50 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios/ denied
[Wed Mar 05 15:28:50 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:28:57 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios/ denied
[Wed Mar 05 15:28:57 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:29:37 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/ denied
[Wed Mar 05 15:29:37 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:40:50 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios/ denied
[Wed Mar 05 15:40:50 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:41:00 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios denied
[Wed Mar 05 15:41:00 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:41:12 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios denied
[Wed Mar 05 15:41:13 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:48:12 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/ denied
[Wed Mar 05 15:48:12 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:49:20 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/ denied
[Wed Mar 05 15:49:20 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:50:34 2008] [notice] caught SIGTERM, shutting down
[Wed Mar 05 15:53:48 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 05 15:53:48 2008] [notice] Digest: generating secret for digest authentication …
[Wed Mar 05 15:53:48 2008] [notice] Digest: done
[Wed Mar 05 15:53:48 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 05 15:53:48 2008] [notice] LDAP: SSL support unavailable
[Wed Mar 05 15:53:59 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 05 15:53:59 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/ denied
[Wed Mar 05 15:53:59 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Wed Mar 05 15:53:59 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 15:58:29 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/cgi-bin denied
[Wed Mar 05 15:58:29 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 16:06:29 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios denied
[Wed Mar 05 16:06:29 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 16:06:35 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/cgi-bin denied
[Wed Mar 05 16:06:35 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 16:06:38 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/cgi-bin denied
[Wed Mar 05 16:06:38 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 16:06:42 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios denied
[Wed Mar 05 16:06:42 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 16:06:44 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios denied
[Wed Mar 05 16:06:44 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 16:06:45 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios denied
[Wed Mar 05 16:06:45 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 16:06:45 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios denied
[Wed Mar 05 16:06:45 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 16:16:59 2008] [notice] caught SIGTERM, shutting down
[Wed Mar 05 16:17:00 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 05 16:17:01 2008] [notice] Digest: generating secret for digest authentication …
[Wed Mar 05 16:17:01 2008] [notice] Digest: done
[Wed Mar 05 16:17:01 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 05 16:17:01 2008] [notice] LDAP: SSL support unavailable
[Wed Mar 05 16:17:11 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 05 16:17:11 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Wed Mar 05 17:43:48 2008] [notice] caught SIGTERM, shutting down
[Wed Mar 05 17:52:35 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 05 17:52:36 2008] [notice] Digest: generating secret for digest authentication …
[Wed Mar 05 17:52:36 2008] [notice] Digest: done
[Wed Mar 05 17:52:36 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 05 17:52:36 2008] [notice] LDAP: SSL support unavailable
[Wed Mar 05 17:52:47 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 05 17:52:47 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Wed Mar 05 17:52:50 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios/ denied
[Wed Mar 05 17:52:50 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 18:00:47 2008] [notice] caught SIGTERM, shutting down
[Wed Mar 05 18:00:48 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 05 18:00:48 2008] [notice] Digest: generating secret for digest authentication …
[Wed Mar 05 18:00:48 2008] [notice] Digest: done
[Wed Mar 05 18:00:48 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 05 18:00:48 2008] [notice] LDAP: SSL support unavailable
[Wed Mar 05 18:00:58 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 05 18:00:58 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Wed Mar 05 18:01:18 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Wed Mar 05 18:01:19 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 18:01:24 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/ denied
[Wed Mar 05 18:01:24 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Wed Mar 05 18:02:00 2008] [notice] caught SIGTERM, shutting down
[Wed Mar 05 18:02:01 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 05 18:02:01 2008] [notice] Digest: generating secret for digest authentication …
[Wed Mar 05 18:02:01 2008] [notice] Digest: done
[Wed Mar 05 18:02:01 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 05 18:02:01 2008] [notice] LDAP: SSL support unavailable
[Wed Mar 05 18:02:10 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 05 18:02:10 2008] [notice] Digest: generating secret for digest authentication …
[Wed Mar 05 18:02:10 2008] [notice] Digest: done
[Wed Mar 05 18:02:10 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 05 18:02:10 2008] [notice] LDAP: SSL support unavailable
[Wed Mar 05 18:02:20 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 05 18:02:21 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Thu Mar 06 09:24:59 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 06 09:24:59 2008] [notice] Digest: generating secret for digest authentication …
[Thu Mar 06 09:24:59 2008] [notice] Digest: done
[Thu Mar 06 09:24:59 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Mar 06 09:24:59 2008] [notice] LDAP: SSL support unavailable
[Thu Mar 06 09:25:09 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Mar 06 09:25:10 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations
[Thu Mar 06 09:25:10 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 06 09:25:10 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 09:28:00 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/cgi-bin denied
[Thu Mar 06 09:28:00 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 11:16:28 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios denied
[Thu Mar 06 11:16:29 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 11:16:43 2008] [error] [client 192.9.90.100] (13)Permission denied: access to /nagios denied
[Thu Mar 06 11:16:43 2008] [error] [client 192.9.90.100] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 12:52:35 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 06 12:52:35 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 12:52:47 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/ denied
[Thu Mar 06 12:52:47 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 12:58:58 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios denied
[Thu Mar 06 12:58:58 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 12:59:05 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 06 12:59:06 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:08:48 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios denied
[Thu Mar 06 13:08:48 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:13:05 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 06 13:13:07 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:17:44 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/ denied
[Thu Mar 06 13:17:44 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:17:48 2008] [error] [client 127.0.0.1] (13)Permission denied: access to /nagios/ denied
[Thu Mar 06 13:17:48 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:17:51 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 06 13:17:51 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:24:16 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 06 13:24:16 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:24:35 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/index.html
[Thu Mar 06 13:24:35 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:24:38 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 06 13:24:38 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:24:53 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/mrtg-rrd.html
[Thu Mar 06 13:24:53 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:24:57 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
[Thu Mar 06 13:24:57 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Thu Mar 06 13:56:16 2008] [notice] caught SIGTERM, shutting down
[Thu Mar 06 13:58:57 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 06 13:58:58 2008] [notice] Digest: generating secret for digest authentication …
[Thu Mar 06 13:58:58 2008] [notice] Digest: done
[Thu Mar 06 13:58:58 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Mar 06 13:58:58 2008] [notice] LDAP: SSL support unavailable
[Thu Mar 06 13:59:08 2008] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Mar 06 13:59:09 2008] [notice] Apache/2.0.52 (Red Hat) configured – resuming normal operations