Antwort: Internal Server Error 500 - Is chcon the fix? [Virus scanned][Virus scanned]

Sascha Runschke srunschke at abit.de
Tue May 10 18:10:06 CEST 2005


Did you set the Nagios CGI directory as cgi-directory in Apache?
Looks like Apache denies the execution of them.

sash

--------------------------------------------------
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
Mobil:+49 (0) 173.5419665
mailto:SRunschke at abit.de

http://www.abit.net
http://www.abit-epos.net
http://www.my-academy.net
--------------------------------------------------
Der Inhalt dieser Email sowie die Anhänge sind ausschließlich für den 
bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat 
dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, 
daß jede Form der Kenntnisnahme, Veröffentlichung,  Vervielfältigung oder 
Weitergabe des Inhalts dieser Email unzulässig ist. Wir möchten Sie 
außerdem darauf hinweisen, daß die Kommunikation per Email über das 
Internet unsicher ist, da fuer unberechtigte Dritte grundsätzlich die 
Möglichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese 
Nachricht versehentlich erhalten, informieren Sie bitte den Absender und 
löschen diese Nachricht mit den Anhängen. Herzlichen Dank

The information and any attachments contained in this email are intended 
solely for the addressee. Access to this email by anyone else is 
unauthorized. If you are not the intended recipient, any form of 
disclosure, reproduction, distribution or any action taken or refrained 
from in reliance on it, is prohibited and may be unlawful. We also like to 
inform you that communication via email over the internet is insecure 
because third parties may have the possibility to access and manipulate 
emails. If you have received the message in error, please advise the 
sender and delete the message and any attachments. Thank you very much.




"Danny Russell" <drussell at mpifix.com>
Gesendet von: nagios-users-admin at lists.sourceforge.net
09.05.2005 22:20

 
        An:     <nagios-users at lists.sourceforge.net>
        Kopie: 
        Blindkopie: 
        Thema:  [Nagios-users] Internal Server Error 500 - Is chcon the fix? [Virus 
scanned]


Hello All,
 
I am trying to get my Nagios up and running. I have it running in the 
background sending me out emails, but I cannot get the web interface to 
work. 
 
I am running Centos 4.0, nagios-1.2-2.2.el4.rf, 
nagios-plugins-1.4-2.2.el4.rf, httpd-2.0.52-9.ent.centos4.1, 
perl-5.8.5-12.1
 
All of the CGI files give an Internal Server Error 500
[Mon May 09 14:20:49 2005] [error] [client 10.10.2.11] (13)Permission 
denied: exec of '/usr/lib/nagios/cgi/config.cgi' failed, referer: http://nagios.mpifix.com/nagios/side.html
[Mon May 09 14:20:49 2005] [error] [client 10.10.2.11] Premature end of 
script headers: config.cgi, referer: http://nagios.mpifix.com/nagios/side.html
[Mon May 09 14:21:00 2005] [error] [client 10.10.2.11] (13)Permission 
denied: exec of '/usr/lib/nagios/cgi/avail.cgi' failed, referer: http://nagios.mpifix.com/nagios/side.html
[Mon May 09 14:21:00 2005] [error] [client 10.10.2.11] Premature end of 
script headers: avail.cgi, referer: http://nagios.mpifix.com/nagios/side.html
[Mon May 09 14:21:01 2005] [error] [client 10.10.2.11] (13)Permission 
denied: exec of '/usr/lib/nagios/cgi/avail.cgi' failed, referer: http://nagios.mpifix.com/nagios/side.html
[Mon May 09 14:21:01 2005] [error] [client 10.10.2.11] Premature end of 
script headers: avail.cgi, referer: http://nagios.mpifix.com/nagios/side.html
[Mon May 09 14:21:02 2005] [error] [client 10.10.2.11] (13)Permission 
denied: exec of '/usr/lib/nagios/cgi/avail.cgi' failed, referer: http://nagios.mpifix.com/nagios/side.html
[Mon May 09 14:21:02 2005] [error] [client 10.10.2.11] Premature end of 
script headers: avail.cgi, referer: http://nagios.mpifix.com/nagios/side.html
[Mon May 09 14:21:03 2005] [error] [client 10.10.2.11] (13)Permission 
denied: exec of '/usr/lib/nagios/cgi/status.cgi' failed, referer: http://nagios.mpifix.com/nagios/side.html
[Mon May 09 14:21:03 2005] [error] [client 10.10.2.11] Premature end of 
script headers: status.cgi, referer: http://nagios.mpifix.com/nagios/side.html
 
Should I run 'chcon -R -t httpd_sys_content_t /usr/lib/nagios/cgi/' on the 
cgi files to get them to work? What is the recommended fix for this?
 
--Thanks
 
Danny Russell
Mobile Productivity, Inc.
drussell at mpifix.com
Enabling the World To Work
 
 




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
_______________________________________________
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