LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-31-2006, 11:27 AM   #1
chucker8
Member
 
Registered: Nov 2005
Posts: 52

Rep: Reputation: 15
Nagios


SLES 9.0
Nagios 2.0rc2
Apache2

Have stepped the documentation. When going to access the web interface (http://servername/nagios) I get:

----------------------------------------------------------
Access forbidden!

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.
Error 40
-----------------------------------------------------------

From /var/log/apache2/error_log:

(# grep error /var/log/apache2/error_log

[Tue Jan 31 10:37:52 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html.var
[Tue Jan 31 10:37:56 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html
[Tue Jan 31 10:37:56 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html.var
[Tue Jan 31 10:39:06 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html
[Tue Jan 31 10:39:06 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html.var
[Tue Jan 31 10:39:10 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html
[Tue Jan 31 10:39:10 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html.var
[Tue Jan 31 10:39:52 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html
[Tue Jan 31 10:39:52 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html.var
[Tue Jan 31 10:39:55 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html
[Tue Jan 31 10:39:55 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html.var
[Tue Jan 31 10:40:09 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html
[Tue Jan 31 10:40:09 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html.var
[Tue Jan 31 10:42:05 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html
[Tue Jan 31 10:42:05 2006] [error] [client 10.0.100.92] client denied by server configuration: /usr/local/nagios/shareindex.html.var
 
Old 01-31-2006, 11:53 AM   #2
int0x80
Member
 
Registered: Sep 2002
Posts: 310

Rep: Reputation: Disabled
What is your DocumentRoot for Apache?
 
Old 01-31-2006, 01:29 PM   #3
chucker8
Member
 
Registered: Nov 2005
Posts: 52

Original Poster
Rep: Reputation: 15
thanks for reply.

from /etc/apache2/default-server.conf :


DocumentRoot "/srv/www/htdocs"

#
# Configure the DocumentRoot
#
<Directory "/srv/www/htdocs">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
Options None
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride None
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
 
Old 01-31-2006, 01:57 PM   #4
int0x80
Member
 
Registered: Sep 2002
Posts: 310

Rep: Reputation: Disabled
It's been a while since I've setup Nagios, and I no longer have access to the servers... however, shouldn't there be a directive in the Apache conf to advise where the Nagios web files are?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios? suresheva31 Linux - General 2 10-13-2004 07:55 AM
About NAGIOS Redhat_guy Linux - Networking 3 06-30-2004 01:43 PM
About NAGIOS .. Redhat_guy Linux - Software 2 06-30-2004 08:13 AM
Nagios VincentB Linux - Software 3 09-09-2003 09:20 AM
Nagios markus1982 Linux - Software 1 04-01-2003 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration