Eu instalei o Munin e o munin-node no servidor e o httpd já estava instalado. Mas depois de instalado quando eu executo o nó munin, o Browser me dá esse erro.
Not Found
The requested URL /munin was not found on this server.
Apache/2.2.3 (Red Hat) Server at 192.168.5.1 Port 80
Eu verifiquei o arquivo /etc/munin.conf e o caminho para o diretório Html está correto.
# Example configuration file for Munin, generated by 'make build'
# The next three variables specifies where the location of the RRD
# databases, the HTML output, and the logs, severally. They all
# must be writable by the user running munin-cron.
dbdir /var/lib/munin
htmldir /var/www/munin
logdir /var/log/munin
rundir /var/run/munin
E a permissão para / var / www / munin / está definida para munin: munin
/etc/httpd/conf.d/munin.conf
# 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>
Logs Apache
[Sun Sep 01 04:03:12 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 01 04:03:12 2013] [notice] Digest: done
[Sun Sep 01 04:03:12 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Sun Sep 01 11:34:47 2013] [notice] caught SIGTERM, shutting down
[Sun Sep 01 14:50:15 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Sep 01 14:50:15 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 01 14:50:15 2013] [notice] Digest: done
[Sun Sep 01 14:50:16 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Sun Sep 01 14:50:18 2013] [notice] caught SIGTERM, shutting down
[Sun Sep 01 14:50:18 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Sep 01 14:50:18 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Sep 01 14:50:18 2013] [notice] Digest: done
[Sun Sep 01 14:50:18 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Sun Sep 01 14:50:41 2013] [error] [client 10.20.20.147] File does not exist: /var/www/html/munin
[Sun Sep 01 14:50:41 2013] [error] [client 10.20.20.147] File does not exist: /var/www/html/favicon.ico
Depois de descomentar alguns arquivos em /etc/httpd/conf.d/munin.conf
# For SSL-servers
ScriptAlias /munin/cgi/ /var/www/munin/cgi/
<Directory /var/www/munin/cgi/>
Options ExecCGI
#SSLRequireSSL
order deny,allow
# deny from all
#deny from none
allow 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
#deny from none
allow from all
AuthType Basic
AuthUserFile /site/cfg/passwd
AuthGroupFile /site/cfg/group
AuthName "munin"
require group munin
Satisfy Any
</Directory>