Ошибка Squid3 logrotate в Ubuntu 12.04

Проверьте где DefaultInitEnv PHPRC= указывает и измените вход в систему того конфигурационного файла. Я думаю, что это должно быть /etc/php5/php.ini.

0
задан 11 July 2014 в 17:51
1 ответ

As indicated by the log entries, there is an error with the prerotate scripts.

To debug this, one can remove the scripts from the configuration and add them back one by one until the troublesome one is found.

They can also be executed manually to see which one fail but in this case, the OP said they failed silently.

Using logrotate -vf /etc/logrotate.d/squid3 (-v for vervose, -f for force) is another option which in this case helps getting data on the problem.

Good documentation on logrotate can be found here:

0
ответ дан 5 December 2019 в 14:15

Теги

Похожие вопросы