> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of gillianb
> Sent: Thursday, January 12, 2006 9:04 PM
> To: Nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] a config problem using centos 4, apache 2.0.52
and
> nagios 2.0b4 rpm
> 

> No errors in the nagios.log file, but in /var/log/httpd/error_log I
find
> errors:
> Permission Denied: exec of /usr/lib/nagios/cgi/status.cgi failed.
> Premature end of script headers status.cgi
> 
> All files under /usr/lib/nagios/cgi have perms
> _rwxrwx___
> and ownership nagios:nagios
> httpd runs as apache, and apache is in the nagios group. This has
always
> worked for me in the past.
> 
> I am guessing there is a problem with my httpd setup, but to be
honest,
> I haven't done anything to it other than add the stanzas for nagios. I
> have also deleted them and re-added them just to make sure.

As Christian bring up, this could well be SELinux under Centos 4. Run
'/usr/sbin/sestatus -v' to see if SELinux is enabled. If so, run
'audit2allow -l -i /var/log/messages -v' and look for references to
nagios. If you see any this post --
http://article.gmane.org/gmane.network.nagios.user/33586/match=selinux
might be useful.

--
Marc 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to