Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not able to access the Nagios web interface (error 500)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MaartenZzZ
n00b
n00b


Joined: 28 Oct 2007
Posts: 61
Location: Bergen op Zoom, The Netherlands

PostPosted: Sun Mar 17, 2013 11:24 am    Post subject: Not able to access the Nagios web interface (error 500) Reply with quote

Good day all,

I'm having an issue which is driving me crazy. I have installed a fresh copy of Nagios (3.3.1, by emerge) and when I try to access the page (http://domain/nagios), the .htaccess is popping up asking me for credentials. Nomatter what I fill in, it will return an error 500 saying;

Code:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@domain and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


When I look in my Apache error log, it says;

Code:
[Sun Mar 17 12:20:02 2013] [error] [client 83.XXX.220.XX] (13)Permission denied: Could not open password file: /etc/nagios/auth.users


This file exists, and the permissions seems to be right (-rw-r--r-- for nagios:nagios). Thing is; I had Nagios running on a previous machine, and I compared the files from that (working) installation with my current installation.

Do you guys have any suggestions where I can look to have this fixed? I have no clue :?

Thank you in advance!
_________________
Where to? Gentoo!
Back to top
View user's profile Send private message
MaartenZzZ
n00b
n00b


Joined: 28 Oct 2007
Posts: 61
Location: Bergen op Zoom, The Netherlands

PostPosted: Sun Mar 17, 2013 3:17 pm    Post subject: Reply with quote

Problem fixed;

Code:
chmod 775 /etc/nagios


All working now. Thanks though :-)
_________________
Where to? Gentoo!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum