Hiya I have the problem that the munin permissions aren't correct Looking at the monitoring folder: I even set permissions to 0777 since I get the permission denied error. Any solution?
Can you post the output of Code: ls -la /var/www/confixx/html/monitoring ? Is it a Debian Sarge system, and did you install the munin packages from the tutorial? What's the output of Code: ps aux|grep munin ?
It is sarge and I installed it by copy'n'paste from your tutorial: The munin-html.log does contain this: And here the grep:
What's the output of Code: ls -la /var ls -la /var/www ls -la /var/www/confixx ls -la /var/www/confixx/html ?
That's the problem: Code: t390:~# ls -al /var/www total 92 drwxr-xr-x 23 root root 4096 2006-04-27 09:43 . drwxr-xr-x 14 root root 4096 2006-04-21 21:48 .. drwxr-xr-x 2 root root 4096 2005-11-30 22:39 apache2-default drwx------ 7 root root 4096 2005-12-01 04:19 chroot [B][COLOR="Red"]drwxr-x--- 6 confixx www-data 4096 2005-12-22 22:24 confixx[/COLOR][/B] dr--r--r-- 2 root root 4096 2005-12-01 04:19 empty drwxr-xr-x 2 munin munin 4096 2005-04-03 02:54 munin drwxr-xr-x 2 root root 4096 2006-01-15 10:02 sqwebmail drwxrwxrwx 16 web0 web0 4096 2004-11-28 01:21 web0 drwxr-xr-x 10 root root 4096 2006-03-25 19:00 web1 drwxr-xr-x 16 root root 4096 2006-04-13 18:40 web10 drwxr-xr-x 10 root root 4096 2006-04-20 15:20 web11 drwxr-xr-x 10 root root 4096 2006-04-21 13:10 web12 drwxr-xr-x 16 root root 4096 2006-04-23 22:46 web13 drwxrwxrwx 10 web2 web2 4096 2005-05-11 13:57 web2 drwxrwxrwx 8 web3 web3 4096 2006-03-23 10:39 web3 drwxrwxrwx 10 web4 web4 4096 2006-04-21 18:56 web4 drwxrwxrwx 8 web5 web5 4096 2005-12-23 14:14 web5 drwxrwxrwx 10 web6 web6 4096 2005-07-18 12:50 web6 drwxrwxrwx 10 web7 web7 4096 2005-09-18 23:35 web7 drwxr-xr-x 16 root root 4096 2006-04-15 00:00 web8 drwxr-xr-x 10 web9 web9 4096 2005-12-23 18:16 web9 drwxrwxrwx 2 root root 4096 2005-11-30 22:38 webalizer Please try a Code: chmod 755 /var/www/confixx
*thumbs up* works now perfectly: http://t390.greatnet.de/monitoring/greatnet.de/t390.greatnet.de.html
Yet another permission problem with Munin Munin server and node is running on 2 EC2 instances. I can telnet on 4949 on the localhost on the node and also telnet from server(abc) to the node(xyz) on 4949. My graphs have inconsistent data. These are my systems info - Server : admin@abc:/etc/munin$ whereis munin munin: /etc/munin /usr/share/munin admin@abc:/etc/munin$ ls -al /etc/munin/ total 16 drwxr-xr-x 3 root root 4096 2009-04-16 13:24 . drwxr-xr-x 81 root root 4096 2009-04-16 05:49 .. -rw-r--r-- 1 root root 2723 2009-04-15 16:41 munin.conf drwxr-xr-x 2 root root 4096 2009-04-15 18:31 templates admin@abc:/etc/munin$ ls -al /usr/share/munin/ total 196 drwxr-xr-x 2 munin munin 4096 2009-04-15 14:32 . drwxr-xr-x 98 root root 4096 2009-04-15 14:32 .. -rwxr-xr-x 1 munin munin 41113 2008-05-09 16:05 munin-graph -rwxr-xr-x 1 munin munin 26510 2008-05-09 16:05 munin-html -rwxr-xr-x 1 munin munin 24534 2008-05-09 16:05 munin-limits -rwxr-xr-x 1 munin munin 34667 2008-05-09 16:05 munin-update -rwxr-xr-x 1 munin munin 49224 2008-05-09 16:05 VeraMono.ttf admin@abc:/etc/munin$ ls -al /var/www/munin total 32 drwxrwxr-x 4 munin munin 4096 2009-04-15 17:11 . drwxr-xr-x 5 root root 4096 2009-04-15 14:32 .. -rw-rw-r-- 1 munin munin 2555 2009-04-15 14:35 definitions.html -rw-rw-r-- 1 munin munin 1655 2009-04-16 14:05 index.html drwxrwxr-x 2 munin munin 4096 2009-04-15 14:35 localdomain -rw-rw-r-- 1 munin munin 473 2009-04-15 14:35 logo.png -rw-rw-r-- 1 munin munin 3538 2009-04-15 14:35 style.css drwxrwxr-x 2 munin munin 4096 2009-04-15 16:45 test admin@abc:/etc/munin$ sudo ls -al /var/log/munin/ total 320 drwxrwx--- 2 munin adm 4096 2009-04-16 12:50 . drwxr-xr-x 14 root root 4096 2009-04-16 06:38 .. -rw-r--r-- 1 munin munin 24135 2009-04-16 14:00 munin-graph.log -rw-r--r-- 1 munin munin 18270 2009-04-16 14:00 munin-html.log -rw-r--r-- 1 munin munin 5235 2009-04-16 14:00 munin-limits.log -rw-r--r-- 1 munin munin 259290 2009-04-16 14:00 munin-update.log admin@abc:/etc/munin$ sudo ls -al /var/lib/munin/ total 44 drwxr-xr-x 3 munin munin 4096 2009-04-16 14:05 . drwxr-xr-x 31 root root 4096 2009-04-15 14:32 .. -rw-r--r-- 1 munin munin 19727 2009-04-16 14:05 datafile -rw-r--r-- 1 munin munin 14 2009-04-16 14:05 limits -rw-r--r-- 1 munin munin 649 2009-04-16 14:00 munin-graph.stats -rw-r--r-- 1 munin munin 0 2009-04-16 14:05 munin-graph.stats.tmp -rw-r--r-- 1 munin munin 1215 2009-04-16 14:05 munin-update.stats drwxr-xr-x 2 munin munin 4096 2009-04-15 16:41 test admin@abc:/etc/munin$ ls -al /var/run/munin/ total 24 drwxrwxr-x 2 munin munin 240 2009-04-16 14:05 . drwxr-xr-x 12 root root 440 2009-04-15 14:32 .. -rw-r--r-- 1 munin munin 5 2009-04-16 14:05 munin-datafile.lock -rw-r--r-- 1 munin munin 5 2009-04-16 14:05 munin-graph.lock -rw-r--r-- 1 munin munin 5 2009-04-16 14:05 munin-html.lock -rw-r--r-- 1 munin munin 0 2009-04-16 14:05 munin-limits.lock -rw-r--r-- 1 munin munin 5 2009-04-16 14:05 munin-localdomain-localhost.localdomain.lock srwx------ 1 munin munin 0 2009-04-15 16:02 munin-server-socket.16550 srwx------ 1 munin munin 0 2009-04-15 16:13 munin-server-socket.16903 srwx------ 1 munin munin 0 2009-04-15 16:15 munin-server-socket.16999 -rw-r--r-- 1 munin munin 5 2009-04-16 14:05 munin-test-test.lock -rw-r--r-- 1 munin munin 5 2009-04-16 14:05 munin-update.lock ---------- ERROR : admin@abc:/usr/share/munin$ ./munin-update --debug --nofork --stdout --host xyz --service df -force-root Error writing to /var/run/munin/munin-update.lock, wrong permissions at /usr/share/perl5/Munin.pm line 356.