![]() |
Munin, Monit, Webalizer need help!
Hi, I've read through the howto's on these programs but I'm having a bit of trouble with them:
Munin gives me this error: Error writing to /var/run/munin/munin-update.lock, wrong permissions at /usr/share/perl5/Munin.pm line 356. Which I can't work out what is as it's not displaying any local or remote host graphs. I would also like to password Munin and Webalizer, however by trying the howto it didn't work. I'm not sure where the problem was. The last issue I have is Monit which gives me a page saying Index of /monit then a token file. But it isn't showing any graphs of systems processes I hope someone can help me - I am running Debian Etch Thanks |
Quote:
Quote:
|
Thanks for the reply Leszek, I managed to get Munin sorted out and wokring as it was just a matter of sorting out permissions.
As far as password is concerned for Webalizer, Munin and Monit not working I don't have any errors in my apache log. There was one but it wasn't to do with these; one for python and the other for perl which it said was sorted. |
Do You have "AllowOverride All" directive in the configuration of Apache of a particular Virtual Host that doesn't accept .htaccess files ? I mean the <directory> </directory> part. For example:
Code:
<Directory /var/www/> |
Hi, sorry I forgot to mention that I'm not using virtual domains!
Just standard /var/www dir with index.html in it |
The same applies for global configuration.
You'll have to look for something I mentioned earlier. |
This is the current configuration in the sites-enabled dir:
ServerAdmin root@localhost DocumentRoot /var/www/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place #RedirectMatch ^/$ /apache2-default/ </Directory> |
Then change "AllowOverride None" to "AllowOverride All" so it looks like this:
Code:
ServerAdmin root@localhost |
Sorry for the alte reply I got kinda caught up with work!
Ok, I think I understand the problem; I followed the howto but it didn't work for me as creating a file called .htaccess and .htpasswd in the munin folder did nothing. I discovered this howto: http://www.debian-administration.org/articles/597 from Debian Admin which almost works for me now :) Just the problem is that when I enter the username and password now I get an error message saying: Forbidden - you do not have permission to access munin on this server. Can you suggest anything?? |
Maybe You should try to regenerate the password ?
Maybe You've made a typo ? If You include: Quote:
|
| All times are GMT +2. The time now is 03:37. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.