Problem with munin

kapstokje78

Verified User
Joined
Aug 31, 2010
Messages
13
Hello,

I just had my server installed with centos 5.6 / Directadmin.

I installed munin on the server and used the /home/admin/public_html/munin as the htmlfolder
Changed the owner of this folder to munin:munin.

When munin is running every 5 minutes, it isn't creating anything and leave this in a mail:

Code:
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
mkdir /home/admin/public_html
cp: accessing `/home/admin/public_html/munin/': Permission denied
[ERROR] Could not copy style.css from /etc/munin/templates to /home/admin/public_html/munin



Can you help me out here?

ls -la of the munin folder:

Code:
drwxr-xr-x 3 munin munin  4096 Jul  3 04:08 munin
 
This thread is off-topic for DirectAdmin forums as it has nothing to do with running DirectAdmin. I've moved the thread, but I think you'd be better off asking on a forum devoted to munin. DirectAdmin shouldn't be doing anything to keep munin from running, and your error looks as if munin may be unsuccessfully trying to create a directory which should already exist.

Jeff
 
That's why i asked it in the Centos (Technical discussions and questions for the CentOS Linux Operating System) forum.
 
I've moved it back, but I'm still not sure it shouldn't be for issues with DirectAdmin running under CentOS.

Jeff
 
Ive installed munin without problem but i strongly suggest you to dont install on user admin...

Ive created via directadmin user munin pointing to a subdomain (ex. munin.yourdomain.tld) and installed munin make it using user munin.

I would also suggest you to use complete path (ex. /home/munin/domain/munin.domain.tld/public_html/ and not just /home/munin/public_html/)

Regards
 
Ive installed munin without problem but i strongly suggest you to dont install on user admin...

Ive created via directadmin user munin pointing to a subdomain (ex. munin.yourdomain.tld) and installed munin make it using user munin.

I would also suggest you to use complete path (ex. /home/munin/domain/munin.domain.tld/public_html/ and not just /home/munin/public_html/)

Regards


I created a domain with the user munin and now it finally worked!

Thanks SeLLeRoNe
 
I reply to this old post, because I try to install munin.

First, I receive this message :
Cron <munin@serveur8> test -x /usr/bin/munin-cron && /usr/bin/munin-cron
[ERROR] Could not copy contents from /etc/munin/static/ to /var/www/html/munin at /usr/share/perl5/vendor_perl/Munin/Master/HTMLOld.pm line 715.

I see I should modify /var/www to chmod 551 instead of 550.

I first try you solution, create an account for munin user, then install munin on this account.
But DirectAdmin refused !
Impossible to create account.
this user already exists

So, any suggestion ?
Thanks for your replies
 
Perfect !
Not so easy to install, a lot of permissions have been to change, but ok now, I've some graphs.
I will try to monitor multi-servers...
 
The munin htmldir output directory can be changed to something more suitable, and then an Alias in apache configs can be set.
 
Well, actually there is a very nicer way to do that.. i use to set html dir to /home/munin/domains/munin.mydomain.tld/public_html

So i can manage apache settings from DA, and munin update the correct folder, actually this way no owner/permissions changes are needed since munin will just set as munin owner.. and that's fine and right...

Regards
 
was just googling how to install munin on DA and this popped up.
so I should create a subdomain for it and install under that is what get from this?
have very little experience with munin but need to track some disc and sql parameters so figured it was something I should look at.
 
You will get that munin will not be accessible at world access using IP, but just using a specific domain (or subdomain) and limit it with user/pass

Regards
 
Back
Top