Portál AbcLinuxu, 14. května 2025 01:24
Ahoj, bohuzel nemuzu zprovoznit munin, ale problem bude jistojiste na strane apache. Z repozitaru jsem stahl munin, apache. V tehle chvilce muzu pristoupit na IPadresa/munin, ale s vysledkem: You don't have permission to access /munin on this server. Zkousel jsem novou direktivu apache2.4 Require all granted, ale bohuzel vysledek stejny. aaaa@htpcc:~$ cat /etc/munin/apache.conf # Enable this for template generation Alias /munin /var/cache/munin/www # Enable this for cgi-based templates #Alias /munin-cgi/static /var/cache/munin/www/static #ScriptAlias /munin-cgi /usr/lib/munin/cgi/munin-cgi-html # # Order allow,deny # Allow from localhost 127.0.0.0/8 ::1 # AuthUserFile /etc/munin/munin-htpasswd # AuthName "Munin" # AuthType Basic # require valid-user # Order allow,deny Allow from all Require all granted Options All # This file can be used as a .htaccess file, or a part of your apache # config file. # # For the .htaccess file option to work the munin www directory # (/var/cache/munin/www) must have "AllowOverride all" or something # close to that set. # # AuthUserFile /etc/munin/munin-htpasswd # AuthName "Munin" # AuthType Basic # require valid-user # This next part requires mod_expires to be enabled. # # Set the default expiration time for files to 5 minutes 10 seconds from # their creation (modification) time. There are probably new files by # that time. # ExpiresActive On ExpiresDefault M310 # Enables fastcgi for munin-cgi-html if present # # # SetHandler fastcgi-script # # # # SetHandler None # # Enables fastcgi for munin-cgi-graph if present ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph Order allow,deny Allow from all Require all granted # AuthUserFile /etc/munin/munin-htpasswd # AuthName "Munin" # AuthType Basic # require valid-user SetHandler fcgid-script SetHandler cgi-script ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html Order allow,deny Allow from all Require all granted # AuthUserFile /etc/munin/munin-htpasswd # AuthName "Munin" # AuthType Basic # require valid-user SetHandler fcgid-script SetHandler cgi-script
Logy z apache [Sun Apr 12 22:26:42.200247 2015] [authz_core:error] [pid 22885:tid 139734915462912] [client 10.0.0.34:53318] AH01630: client denied by server configu ration: /var/cache/munin/www
Pokud mate nekdo funkcni konfiguraci, poprosil bych o pomoc. Diky
/etc/munin/apache.conf
nemám. Taky výsledky běhu jsou v /var/www/html/munin
staticky přimo ve podadresáři DocumentRoot
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.