Cgi error server error


#1

Hi I can see the web page sidebar but the main frame gives and error

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/2.2.3 (Fedora) Server at 127.0.0.1 Port 80

the server is running, I went to the apache log
in the error log this shows

[Sun Feb 18 20:24:08 2007] [error] [client 127.0.0.1] (13)Permission denied: exec of ‘/usr/local/nagios/sbin/status.cgi’ failed, referer: 127.0.0.1/nagios/side.html
[Sun Feb 18 20:24:08 2007] [error] [client 127.0.0.1] Premature end of script headers: status.cgi, referer: 127.0.0.1/nagios/side.html

I seen some others had this problem One guy could not find a libiconv.2.s0 I looked for this file and its not on my computer


#2

google for iconv and install it, recompile/install nagios


#3

When I cd to the directory where status.cgi is located and look at the premissions I get this:

ls -l status.cgi

I see this:

-rwxrwxr-x 1 root root status.cgi

When I look at the permissions of directory where status.cgi is located:

ls - …/cgi

I see this:

drwxr-xr-x … root root cgi