Help -- Nagios 1.2 and Apache
Mulder
tdyboc at insight.rr.com
Tue Apr 13 01:55:10 CEST 2004
Let me give you an overview of what I've done:
Linux Distro: Mandrake 9.2
I've configured, compiled, installed and set the .cfg files for
Nagios. I have started Nagios with out errors according to the log
information but I cannot get Apache to display anything.
Here is some information from my apache log file
[Mon Apr 12 19:31:27 2004] [notice]
Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/6mdk)
mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47 OpenSSL/0.9.7b PHP/4.3.2
configured -- resuming normal operations[Mon Apr 12 19:31:47 2004]
[error] [client 172.16.10.6] File does not exist: /var/www/html/nagios
[Mon Apr 12 19:32:44 2004] [error] [client 172.16.10.24] File does not
exist: /var/www/html/nagios
Here is what I placed into the commonhttpd.conf file:
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
ScriptAlias /protected-cgi-bin/ /var/www/protected-cgi-bin/
The above lines were already there .... then I placed
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
AllowOverride None
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>
Now this apache install on Mandrake 9.2 was from the original install
and until I started playing with Nagios I hadn't even started Apache
on the machine. Apache starts fine, I can view the initial apache
welcome page and see this information:
This site is powered by: Apache-AdvancedExtranetServer/2.0.47
(Mandrake Linux/6mdk) mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47
OpenSSL/0.9.7b PHP/4.3.2!
When I use http://localhost/nagios I get
Not Found
The requested URL /nagios was not found on this server.
Can anyone help me? What am I not doing in the apache conf file?
Thanks for your time.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&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