Problems With new install - CGIWrap Error: Script dir not found
McCann, Brian
bmccann at andmore.com
Thu Apr 7 18:09:39 CEST 2005
I'm no expert, but everything you have is close to what I have in my
working system, except I don't use the "Options ExecCGI" line. What, if
anything, is in the apache error and access logs? When I was setting
mine up originally, those logs made it easy to find the problem.
--Brian
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian
McCloy
Sent: Thursday, April 07, 2005 11:53
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Problems With new install - CGIWrap Error:
Script dir not found
Hello,
trying to get nagios installed onto a fedora core 1 server,
I get an error whenever I access the cgi files,
CGIWrap Error: Script dir not found
------------------------------------------------------------------------
--------
The specified user does not have a script directory set up for execution
of cgi scripts, or the directory permissions prevent cgiwrap from using
that directory.
the /usr/local/nagios/sbin/ directory is 777
and all the CGIs are 777
now if I access the nagios system from a secure connection i.e. https://
I get another error
Whoops!
Error: Could not read object configuration data!
but I've created all my object config files as directed.
the apache conf is as follows
---------
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
<Directory /usr/local/nagios/sbin>
AllowOverride AuthConfig
order allow,deny
allow from all
Options ExecCGI
</Directory>
<Directory /usr/local/nagios/share>
AllowOverride AuthConfig
order allow,deny
allow from all
</Directory>
---------
I've also got nagiosweb (PHP/MySQL configuration tool) installed.
When I access the site with HTTP: it seems to work,
but when I access the site with HTTPS the php is not parsed and only the
text of the script is displayed.
Any ideas on what I'm missing?
thanks,
Ian McCloy
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&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