Portál AbcLinuxu, 14. května 2025 01:24

Dotaz: Jak zprovoznit Munin na Ubuntu 14.10

12.4.2015 23:09 Radek
Jak zprovoznit Munin na Ubuntu 14.10
Přečteno: 291×
Odpovědět | Admin

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

Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

12.4.2015 23:09 Radek
Rozbalit Rozbalit vše Re: Jak zprovoznit Munin na Ubuntu 14.10
Odpovědět | | Sbalit | Link | Blokovat | Admin
Omlouvam se za paste, conf zde: http://pastebin.com/ECUrU6p9
13.4.2015 01:23 lertimir | skóre: 64 | blog: Par_slov
Rozbalit Rozbalit vše Re: Jak zprovoznit Munin na Ubuntu 14.10
Odpovědět | | Sbalit | Link | Blokovat | Admin
To bude asi nějaké Ubuntí specifikum. Provozuji munin na CentOSu a žádný soubor /etc/munin/apache.conf nemám. Taky výsledky běhu jsou v /var/www/html/munin staticky přimo ve podadresáři DocumentRoot
13.4.2015 18:23 Radek
Rozbalit Rozbalit vše Re: Jak zprovoznit Munin na Ubuntu 14.10
Vyreseno, nefungoval mi symlink do apachich virtual hostu.
13.4.2015 19:00 1john2 | skóre: 35 | blog: jo12hn | zlín, brno
Rozbalit Rozbalit vše Re: Jak zprovoznit Munin na Ubuntu 14.10
bylo by fajn, kdybys to rozvedl. Nicmene oznacuju jako reseni :)

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.