View Single Post
  #10  
Old 16th April 2009, 17:11
svittal svittal is offline
Junior Member
 
Join Date: Apr 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote