View Full Version : Can't access munin via web browser
wpwood3
13th November 2007, 23:39
I installed munin last night and everything was working fine. All the charts were created and were updating.
This morning, I try to look at the charts and Apache gives me a 404 Error - File not found. All the files ARE there and Munin seems to be updating them. I just can't access them via web browser.
Here' s where the munin files are located:
/var/www/web2/web/munin
I removed the .htaccess and .htpasswd files and I still cannot get the browser to access munin.
http://www.mysite.com/munin/index.html gives me Error 404.
If I try to access http://www.mysite.com/munin/ I get an Apache 403 Error - Forbidden!
I'm stumped! :(
wpwood3
14th November 2007, 05:07
If I delete this file then Apache will let me access Munin:
/etc/httpd/conf.d/munin.conf
The file contains the following:
# For SSL-servers
ScriptAlias /munin/cgi/ /var/www/munin/cgi/
#<Directory /var/www/munin/cgi/>
# Options ExecCGI
# SSLRequireSSL
# order deny,allow
# deny from all
# AuthType Basic
# AuthUserFile /site/cfg/passwd
# AuthGroupFile /site/cfg/group
# AuthName "munin"
# require group munin
# Satisfy Any
#</Directory>
#
Alias /munin/ /var/www/munin/
#<Directory /var/www/munin/>
# Options None
# SSLRequireSSL
# order deny,allow
# deny from all
# AuthType Basic
# AuthUserFile /site/cfg/passwd
# AuthGroupFile /site/cfg/group
# AuthName "munin"
# require group munin
# Satisfy Any
#</Directory>
Why is this file even there?
Should I be deleting it or changing it?
falko
14th November 2007, 17:36
Why is this file even there?
Should I be deleting it or changing it?
It's for a default munin installation where the document root is in /var/www/html. This doesn't apply to you because you're using virtual hosts with different document roots, therefore it's correct to comment that out. :)
wpwood3
14th November 2007, 18:04
It's for a default munin installation where the document root is in /var/www/html. This doesn't apply to you because you're using virtual hosts with different document roots, therefore it's correct to comment that out. :)
Yes, Munin has been working fine since I commented out the lines in /etc/httpd/conf.d/munin.conf.
ScriptAlias points to /var/www/munin/cgi/. I looked there and Munin had installed munin-cgi-graph at that location. It does not appear that Munin is using that file for anything. Maybe it is an option that can be turned on but is not used in the default configuration.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.