I have a problem!!! Help

Hans Engelen engelenh at gmail.com
Tue Feb 14 10:24:24 CET 2006


I have to go with Thomas here, my money is on SElinux. I had the worst time
with that on my RHEL4 setup. The premature end of headers error had me
fooled for ages back then. My suggestion is, at least so you can verify and
test, to turn off SElinux temporarily and see what that gives.

I am almost convinced you will find that has solved the issue. If you want
to check if SELinux is enabled run 'getenforce'. This will tell you if it
is. To set it to permissive (to disable it completely you need to modify
/etc/grub.conf or /etc/selinux/config) temporarily use 'setenforce 0'.
Please note however this is only temporary and will not survive a reboot. If
memory serves there is an audit log for SELinux somewhere too but since I do
not use SELinux I must admit I am not sure where exactly that lives. I
believe the tool 'seaudit' allows you to examine the log too and even gives
you a peek on the policy enforced. My apologies if my explanation is not
more descriptive. I decided long ago that SELinux was not something I was
willing to endure on my systems since they are used too extensivly for
testing purposes and SELinux slowed me down way too much.

Hope it helps,
Cheers.

On 2/13/06, Thomas.Zimmer at oppenheim.de <Thomas.Zimmer at oppenheim.de> wrote:
>
> Do your cgis live in this directory? (/usr/lib/nagios/cgi/)
> Does the apache user have full access to the directory (for test)?
> Are you running SE linux?
>
> Thomas Zimmer
> Produktservice & Betrieb
> Betrieb & Support
> Sal. Oppenheim jr. & Cie., Frankfurt a. Main
> Telefon: +49 69 7134 5192
> Internet: http://www.oppenheim.de
> E-Mail: thomas.zimmer at oppenheim.de
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von João
> Paulo
> Vaz
> Gesendet: Montag, 13. Februar 2006 16:06
> An: nagios-users at lists.sourceforge.net
> Betreff: RE: [Nagios-users] I have a problem!!! Help
>
>
> This my configuration file:
>
> ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi
>
> <Directory "/usr/lib/nagios/cgi/">
>     Options ExecCGI
>     AllowOverride None
>     Order allow,deny
>     Allow from all
> </Directory>
>
> Alias /nagios /usr/share/nagios
>
> <Directory "/usr/share/nagios/">
>     Options None
>     AllowOverride None
>     Order allow,deny
>     Allow from all
> </Directory>
>
> João Paulo Vaz
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
> jeremy.ashton at bell.ca
> Sent: Monday, February 13, 2006 11:58 AM
> To: mh+nagios-users at zugschlus.de; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] I have a problem!!! Help
>
> Could you show us what your apache configuration file looks like as well.
> What does the ScriptAlias section look like for your Nagios install?
>
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net
> > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf
> > Of Marc Haber
> > Sent: February 13, 2006 9:52 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] I have a problem!!! Help
> >
> > On Mon, Feb 13, 2006 at 11:49:21AM -0300, João Paulo Vaz wrote:
> > > [Mon Feb 13 12:24:40 2006] [error] [client 200.252.90.21]
> > > (13)Permission
> > > denied: exec of '/usr/lib/nagios/cgi/extinfo.cgi' failed, referer:
> > > http://200.252.90.27/nagios/side.html[Mon Feb 13 12:24:40 2006]
> > > [error]
> >
> > Looks like a permission problem on /usr/lib/nagios/cgi/extinfo.cgi.
> >
> > Sheesh.
> >
> > Greetings
> > Marc
> >
> > --
> > --------------------------------------------------------------
> > ---------------
> > Marc Haber         | "I don't trust Computers. They |
> > Mailadresse im Header
> > Mannheim, Germany  |  lose things."    Winona Ryder | Fon:
> > *49 621 72739834
> > Nordisch by Nature |  How to make an American Quilt | Fax:
> > *49 621 72739835
> >
> >
> > -------------------------------------------------------
> > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&
> dat=121642
> > _______________________________________________
> > 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. 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://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
> _______________________________________________
> 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. 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060214/2a32bce0/attachment.html>


More information about the Users mailing list