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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-12-2008, 10:40 AM
|
#1
|
Member
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86
Rep:
|
Nagios 403 Forbidden error in monitoring localhost
Hi all,
I've read all over to get this to work...I've already fixed it in the past but don't remember how I did it :-(...
Anyways, In the Service Detail pane of Nagios I get a 403 error when monitoring the local httpd server.
Here is the output of error_log for apache:
[Thu Jun 12 08:01:48 2008] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
These are the permissions on the directory:
drwxr-xr-x 2 root root 4096 Aug 7 2007 html
Please advise.
M
|
|
|
06-12-2008, 10:49 AM
|
#2
|
LQ Newbie
Registered: Jun 2008
Posts: 1
Rep:
|
hi mtimbro ,I imagine you have a linux OS. Perhaps your problem is due a SELinux security policy.
post here the out put of commands "sestate -v" an ls -ldZ of the html directory.
cheers
|
|
|
06-12-2008, 11:43 AM
|
#3
|
Member
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86
Original Poster
Rep:
|
Hi,
Thanks for the prompt reply. SELinux is disabled on the machine.
It's a RH ES 4 i386 by the way :-). I'm think it has something to do with permissions...
|
|
|
06-12-2008, 12:34 PM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
|
|
|
06-12-2008, 01:42 PM
|
#5
|
Member
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86
Original Poster
Rep:
|
Obviously, I had read that post beforehand.
Found it on my own.
I needed to touch an empty index.html file in the /var/www/html directory.
Cheers,
Last edited by mtimbro; 06-12-2008 at 01:43 PM.
|
|
|
All times are GMT -5. The time now is 06:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|