Здравствуйте уважаемые форумчане!
Столкнулся с проблемой: отчёт LightSquid не обновляется по заданию.
Соответственно по команде: "sudo /usr/sbin/logrotate --verbose /etc/squid3/squid.logrotate" выводится следующее:
_______________________________________________
reading config file /etc/squid3/squid.logrotate
Handling 1 logs
rotating pattern: /var/log/squid3/*.log after 1 days (3 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/squid3/access.log
log does not need rotating
considering log /var/log/squid3/cache.log
log does not need rotating
not running postrotate script, since no logs were rotated
_______________________________________________Каталог по пути "/var/log/squid3/" логами заполняется, от этого и непонятен смысл приведённой ошибки:
_______________________________________________
access.log access.log.17 access.log.6 cache.log.11 cache.log.19 cache.log.6
access.log.10 access.log.18 access.log.7 cache.log.12 cache.log.2 cache.log.7
access.log.11 access.log.19 access.log.8 cache.log.13 cache.log.20 cache.log.8
access.log.12 access.log.2 access.log.9 cache.log.14 cache.log.2.gz cache.log.9
access.log.13 access.log.20 cache.log cache.log.15 cache.log.3 netdb.state
access.log.14 access.log.2.gz cache.log.0 cache.log.16 cache.log.3.gz
access.log.15 access.log.3 cache.log.1 cache.log.17 cache.log.4
access.log.16 access.log.5 cache.log.10 cache.log.18 cache.log.5
_______________________________________________
Содержимое squid.logrotate:
_______________________________________________
/var/log/squid3/*.log {
daily
compress
delaycompress
rotate 3
missingok
nocreate
sharedscripts
postrotate
test ! -e /var/run/squid3.pid || test ! -x /usr/sbin/squid3 || /usr/sbin/squid3 -k rotate
sleep 120
/usr/share/lightsquid/lightparser.pl access.log.1
endscript
}
_______________________________________________
Кто сталкивался со схожей проблемой, подскажите пожалуйста, что и как необходимо проверить?
P.S. В Unix системах совсем "новенький", многое не понимаю и не знаю.