cgi problem

Mike Hanby mhanby at uab.edu
Mon Oct 29 16:43:57 CET 2007


I hope you resolved the issue without permanently disabling SELinux.

On my 2.10 install I've had to do the following to get Nagios web
interface working with SELinux (note that I compiled and installed, so
your file locations are probably different because of RPM install):

# chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
# chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
# chcon -R -t httpd_sys_script_rw_t /usr/local/nagios/var/rw/

The last line was required so that you can "Acknowledge this host
problem" and make comments and such.

Mike

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Di
Giambelardini Gabriele
Sent: Monday, October 29, 2007 08:42
To: Di Giambelardini Gabriele
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] cgi problem

Hi to all,
I solved... the problem was selinux....
I hate selinux..


> Hi to all, I have a great problem, I installed on CentOs 4.5 nagios
> nagios-2.9-1.el4.rf.x86_64.rpm with apache 2.0.52, every thing go well
> until I try to open the webconsole. If I try to open Hose Detail, or
> Status Map or all another page I have this error:
>
> [Mon Oct 29 15:42:32 2007] [error] [client 10.10.10.1] Premature end
of
> script headers: history.cgi, referer:
http://10.10.10.1/nagios/side.html
>
> some body can help me???
> thanks in advance
>
>
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>

____________________


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list