Problems With new install - CGIWrap Error: Script dir not found

Ian McCloy ian at mintra.com
Thu Apr 7 17:53:13 CEST 2005


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





More information about the Users mailing list