Проблемка с munin

NT
На сайте с 06.08.2011
Offline
71
2178

Доброго времени суток всем)

при запуске cron появляется ошибка


server# su -m munin -c /usr/local/bin/munin-cron
[ERROR] Could not copy contents from /usr/local/etc/munin/static/ to /usr/local/www/munin at /usr/local/lib/perl5/site_perl/5.14.2/Munin/Master/HTMLOld.pm line 715.
server#

конф munin.conf

dbdir /var/munin
htmldir /usr/local/www/munin
logdir /var/log/munin
rundir /var/run/munin
tmpldir /usr/local/etc/munin/templates
includedir /usr/local/etc/munin/munin-conf.d
staticdir /usr/local/etc/munin/static
[munin.site.ru]
address 127.0.0.1
use_node_name yes

munin-node.conf


log_level 4
log_file /var/log/munin/munin-node.log
pid_file /var/run/munin/munin-node.pid

background 1
setsid 1

user root
group wheel


# Regexps for files to ignore
ignore_file [\#~]$
ignore_file DEADJOE$
ignore_file \.bak$
ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$
ignore_file \.rpm(save|new)$
ignore_file \.pod$
ignore_file \.sample$

allow ^127\.0\.0\.1$

# Which address to bind to;
host *
# host 127.0.0.1
port 4949

HTMLOld.pm

sub copy_web_resources {
my ($staticdir, $htmldir) = @_;
unless(dircopy($staticdir, "$htmldir/static")){
ERROR "[ERROR] Could not copy contents from $staticdir to $htmldir";
die "[ERROR] Could not copy contents from $staticdir to $htmldir"; //715 строка
}
}

Я вижу что он не может скопировать с staticdir в htmldir , но не знаю по какой причине не может скопировать. Help )

IL
На сайте с 20.04.2007
Offline
435
#1
npocToNIK:
но не знаю по какой причине не может скопировать.

Оба каталога существуют? Прав на запись хватает?

... :) Облачные серверы от RegRu - промокод 3F85-3D10-806D-7224 ( http://levik.info/regru )
K5
На сайте с 21.07.2010
Offline
209
#2

права на запись munin"у дайте...

аська 45два48499два записки на работе (http://memoryhigh.ru) помогу с сайтом, удалю вирусы, настрою впс -> отзывы ТУТ (/ru/forum/836248) и ТАМ (http://www.maultalk.com/topic140187.html) !!!всегда проверяйте данные людей, которые сами пишут вам в аську или скайп!!!

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий