#1  
Old 27th April 2006, 10:31
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default munin permissions

Hiya

I have the problem that the munin permissions aren't correct

Quote:
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-forks-forks-d.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-forks-month.png' for write: Permission denied
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-forks-forks-d.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-forks-week.png' for write: Permission denied
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-forks-forks-d.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-forks-day.png' for write: Permission denied
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-forks-forks-d.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-forks-year.png' for write: Permission denied
Apr 27 10:25:06 - Graphed service : forks (0.03 sec * 4)
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-memory-inactive-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-memory-month.png' for write: Permission denied
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-memory-inactive-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-memory-week.png' for write: Permission denied
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-memory-inactive-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-memory-day.png' for write: Permission denied
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-memory-inactive-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-memory-year.png' for write: Permission denied
Apr 27 10:25:06 - Graphed service : memory (0.07 sec * 4)
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-vmstat-sleep-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-vmstat-month.png' for write: Permission denied
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-vmstat-sleep-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-vmstat-week.png' for write: Permission denied
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-vmstat-sleep-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-vmstat-day.png' for write: Permission denied
Apr 27 10:25:06 - Unable to graph /var/lib/munin/greatnet.de/t390.greatnet.de-vmstat-sleep-g.rrd: Opening '/var/www/confixx/html/monitoring/greatnet.de/t390.greatnet.de-vmstat-year.png' for write: Permission denied
Apr 27 10:25:06 - Graphed service : vmstat (0.03 sec * 4)
Apr 27 10:25:06 - Processed node: t390.greatnet.de (0.93 sec)
Apr 27 10:25:06 - Processed domain: greatnet.de (0.93 sec)
Apr 27 10:25:06 - Munin-graph finished (0.95 sec)
Looking at the monitoring folder:
Quote:
drwxrwxrwx 2 munin munin 4096 2006-04-27 10:20 monitoring
t390:/var/www/confixx/html#
I even set permissions to 0777 since I get the permission denied error.

Any solution?
Reply With Quote
Sponsored Links
  #2  
Old 27th April 2006, 12:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

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
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th April 2006, 12:29
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

It is sarge and I installed it by copy'n'paste from your tutorial:

Quote:
drwxrwxrwx 2 munin munin 4096 2006-04-27 10:20 .
drwxrwxrwx 25 confixx confixx 4096 2006-04-27 09:45 ..
The munin-html.log does contain this:

Quote:
Apr 27 10:35:06 - Starting munin-html, checking lock
Apr 27 10:35:06 - could not copy style.css into htmldir
Apr 27 10:35:06 - could not copy logo.png into htmldir
Apr 27 10:35:06 - could not copy definitions.html into htmldir
Apr 27 10:35:06 - processing domain: greatnet.de
Apr 27 10:35:06 - processing node: t390.greatnet.de
Apr 27 10:35:06 - processing service: cpu
Apr 27 10:40:07 - Starting munin-html, checking lock
Apr 27 10:40:07 - could not copy style.css into htmldir
Apr 27 10:40:07 - could not copy logo.png into htmldir
Apr 27 10:40:07 - could not copy definitions.html into htmldir
Apr 27 10:40:07 - processing domain: greatnet.de
Apr 27 10:40:07 - processing node: t390.greatnet.de
Apr 27 10:40:07 - processing service: cpu
Apr 27 10:45:07 - Starting munin-html, checking lock
Apr 27 10:45:07 - could not copy style.css into htmldir
Apr 27 10:45:07 - could not copy logo.png into htmldir
Apr 27 10:45:07 - could not copy definitions.html into htmldir
Apr 27 10:45:07 - processing domain: greatnet.de
Apr 27 10:45:07 - processing node: t390.greatnet.de
Apr 27 10:45:07 - processing service: cpu
Apr 27 10:50:07 - Starting munin-html, checking lock
Apr 27 10:50:07 - could not copy style.css into htmldir
Apr 27 10:50:07 - could not copy logo.png into htmldir
Apr 27 10:50:07 - could not copy definitions.html into htmldir

And here the grep:
Quote:
t390:/var/www/confixx/html/monitoring# ps aux|grep munin
root 18964 0.0 0.5 8212 5588 ? Ss 09:46 0:00 /usr/sbin/munin-node
root 9924 0.0 0.0 1928 620 pts/0 S+ 12:26 0:00 grep munin
t390:/var/www/confixx/html/monitoring#
Reply With Quote
  #4  
Old 27th April 2006, 16:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Can you post the whole output of
Code:
ls -la /var/www/confixx/html/monitoring
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 27th April 2006, 18:27
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

Already did so above;

Quote:
t390:~# ls -la /var/www/confixx/html/monitoring
total 8
drwxrwxrwx 2 munin munin 4096 2006-04-27 12:26 .
drwxrwxrwx 25 confixx confixx 4096 2006-04-27 09:45 ..
t390:~#
Reply With Quote
  #6  
Old 28th April 2006, 14:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of

Code:
ls -la /var
ls -la /var/www
ls -la /var/www/confixx
ls -la /var/www/confixx/html
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 16th April 2009, 16: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
  #8  
Old 17th April 2009, 17:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Which distribution are you using?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions nok General 1 5th March 2006 22:57
PHP Safe Mode & Directory Permissions domino General 10 19th December 2005 18:38
GCC Permissions asgozzi Installation/Configuration 1 22nd November 2005 14:59
user permissions on homedir somnium Installation/Configuration 4 2nd November 2005 22:51
Apache permissions misterm Installation/Configuration 4 8th September 2005 12:31


All times are GMT +2. The time now is 21:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.