HI Guys,
I have been looking at this issue for far too long, and think I need someone else to gander over this.
So I have installed Munin just to collate some nice graphs etc on a single test website I am working on atm.
Here is the munin.conf :
- dbdir /var/lib/munin
- htmldir /var/www/vhosts/test.com/munin
- logdir /var/log/munin r* undir /var/run/munin
[test.com] address 127.0.0.1 use_node_name yes
The error I am getting is as follows :
[ERROR] Could not copy contents from /etc/munin/static/ to /var/www/vhosts/test.com/munin at /usr/share/perl5/vendor_perl/Munin/Master/HTMLOld.pm line 716.
As far as I can tell, Munin needs access to the htmldir, which it does :
[root@loki test.info]# ls -ld /var/www/vhosts/test.com/munin
drwxr-xr-x. 4 munin munin 4096 Oct 10 17:05 /var/www/vhosts/test.com/munin
If I drop into the munin shell using su, and invoke munin-cron manually, it does seem to run without a problem, as when tailing the logs, I do not get the same error. The directory above munin/ is 755 which also seems to be the requirement.
I figured it could be the fact munin not having permissiosn to /etc/munin/static. So I set ACL to allow the munin user full access to that directory ( recursively ), but this had no effect either.
Im sure I have missed something here, so any insight would be great
[link][comment]