HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Monit and munin (http://www.howtoforge.com/forums/showthread.php?t=40181)

admins 16th October 2009 13:28

Monit and munin
 
Hi all

I used the howto: http://www.howtoforge.com/server_mon...it_debian_etch

Munin: I installed all things. no if I co to stats.domain/monitoring

It comes following: Forbidden You don't have permission to access /monitoring/ on this server.

How could I fix it?

Thanks
admins

falko 17th October 2009 14:03

Can you go to the monitoring directory and post the output of
Code:

ls -la
?

autogun 18th October 2009 13:11

Exactly the same thing, munin is running for 12 hours now and my /mon dir is still empty.

Code:

ls -la
total 16
drwxr-xr-x  2 munin munin  4096 2009-10-18 01:27 .
drwx--x--- 10 web1  client1 4096 2009-10-18 01:22 ..
-rw-r--r--  1 root  root    138 2009-10-18 01:27 .htaccess
-rw-r--r--  1 root  root      20 2009-10-18 01:27 .htpasswd


falko 19th October 2009 14:05

Quote:

Originally Posted by autogun (Post 207778)
Exactly the same thing, munin is running for 12 hours now and my /mon dir is still empty.

Code:

ls -la
total 16
drwxr-xr-x  2 munin munin  4096 2009-10-18 01:27 .
drwx--x--- 10 web1  client1 4096 2009-10-18 01:22 ..
-rw-r--r--  1 root  root    138 2009-10-18 01:27 .htaccess
-rw-r--r--  1 root  root      20 2009-10-18 01:27 .htpasswd


Please run a chmod 755 on the parent directory of the monitoring directory.

autogun 19th October 2009 14:19

Thanks Falko,
Works like a charm! ;D

kelsen 31st October 2012 19:40

Leveraging the topic, I can not access the page of munin, the browser show this message "You do not have permission to access /munin on this server" .

Munin.conf
dbdir /var/lib/munin
htmldir /var/cache/munin/www
logdir /var/log/munin
rundir /var/run/munin

[debTest01.localdomain]
address 127.0.0.1
use_node_name yes

etc/apache2/conf.d/munin

Alias ​​/ munin / var / cache / munin / www
<Directory /var/cache/munin/www>
Order allow, deny
Allow from all
None Options

ls-la / var / cache / munin / www /
total 32
drwxr-xr-x 2 munin munin 4096 Oct 31 16:03.
drwxr-xr-x 3 munin munin 4096 Oct 31 14:24 ..
-rwxr-xr-x 1 munin munin 2555 Oct 31 14:25 definitions.html
-rwxr-xr-x 1 munin munin 2046 Oct 31 14:25 favicon.ico
-rwxr-xr-x 1 munin munin 31 Oct 1794 14:25 logo-h.png
-rwxr-xr-x 1 munin munin 473 Oct 31 14:25 logo.png
-rwxr-xr-x 1 munin munin 5351 Oct 31 14:25 style.css

falko 1st November 2012 23:07

What's the output of
Code:

ls-la /var/cache/
?

kelsen 5th November 2012 17:53

Here:

drwxr-xr-x 3 munin munin 4096 Out 31 14:24 munin

falko 6th November 2012 12:56

Please post the full output.

kelsen 6th November 2012 13:56

I'm sorry, here is the output:

Quote:

root@debTest01:~# ls -la /var/cache/
total 68
drwxr-xr-x 16 root root 4096 Nov 6 09:02 .
drwxr-xr-x 18 root root 4096 Out 31 17:50 ..
drwxr-xr-x 3 www-data www-data 4096 Out 29 09:18 apache2
drwxr-xr-x 3 root root 4096 Nov 6 09:02 apt
drwxr-xr-x 3 root root 4096 Nov 1 10:09 dbconfig-common
drwxr-xr-x 2 root root 4096 Nov 1 13:40 debconf
drwxr-xr-x 2 root root 4096 Out 26 16:35 dictionaries-common
drwxr-xr-x 2 root root 4096 Out 29 11:10 fontconfig
drwxr-s--- 2 nagios www-data 4096 Nov 6 09:03 icinga
drwx------ 2 root root 4096 Nov 1 10:11 ldconfig
drwxr-sr-x 30 man root 4096 Nov 1 13:40 man
drwxr-xr-x 3 munin munin 4096 Out 31 14:24 munin
drwxr-s--- 2 nagios www-data 4096 Nov 6 10:51 nagios3
drwxr-xr-x 2 root root 4096 Abr 30 2012 samba
drwxr-x--- 3 tomcat6 adm 4096 Out 29 09:22 tomcat6
-rw-r--r-- 1 root root 120 Nov 6 09:02 xe-linux-distribution
drwxr-xr-x 5 root root 4096 Nov 6 09:02 xenstore


All times are GMT +2. The time now is 03:06.

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