weird cgi problem

Guillermo Padilla gpadilla at cbct.com
Tue Aug 9 21:10:01 CEST 2005


Yep.. and the logs show everything as being normal, below is part of my
access log

 

 - - [09/Aug/2005:15:04:12 -0400] "GET
/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail HTTP/1.1" 200
1237

 - - [09/Aug/2005:15:04:24 -0400] "GET
/nagios/cgi-bin/status.cgi?host=all HTTP/1.1" 200 1237

 - - [09/Aug/2005:15:04:54 -0400] "GET
/nagios/cgi-bin/status.cgi?hostgroup=all HTTP/1.1" 200 1237

 - - [09/Aug/2005:15:04:55 -0400] "GET
/nagios/cgi-bin/status.cgi?host=all HTTP/1.1" 200 1237

 - - [09/Aug/2005:15:04:55 -0400] "GET
/nagios/cgi-bin/status.cgi?host=all HTTP/1.1" 200 1237

 - - [09/Aug/2005:15:04:56 -0400] "GET /nagios/cgi-bin/tac.cgi HTTP/1.1"
200 1315

 

And this is part of my error log when i tried going via authentication
which I disabled

 

Permission denied: Could not open password file:
/usr/local/nagios/etc/htpasswd.users, referer:

 

Htpasswd.users exists in that dir with chmod 777 on the file itself.

 

 

 

 

________________________________

From: Hosey, Chester [mailto:Chester.Hosey at gianteagle.com] 
Sent: Tuesday, August 09, 2005 2:58 PM
To: Guillermo Padilla; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] weird cgi problem

 

Have you checked your Apache logs?

	-----Original Message-----
	From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Guillermo
Padilla
	Sent: Tuesday, August 09, 2005 2:57 PM
	To: nagios-users at lists.sourceforge.net
	Subject: [Nagios-users] weird cgi problem

	Nagios has been working great for the last past months (v 1.2)

	 

	Now when I try to access the site I get the the user/pass window
over and over again.  I disabled authentication to see if I could access
without uid/pass and I get the following error:

	 

	Error: Could not open CGI config file
'/usr/local/nagios/etc/cgi.cfg' for reading!

	Nagios is running fine and doing its checks but I just cant
access the webpage, I'm sure its something to do with apache, I'm able
restart nagios without a problem and in /var/rw the nagios.cmd file has
the correct ownership uid nagios gid nagiocmd.

	 

	Any ideas on what this could be?

	 

	Thx

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050809/6d84b5b6/attachment.html>


More information about the Users mailing list