Ошибки работы cron.daily
Добавлено: Ср окт 24, 2018 11:32 pm
Всем привет подскажите куда копать что бы исправить данную ошибку
Данная ошибка приходит на почту каждый день.
Данная ошибка приходит на почту каждый день.
Код: Выделить всё
/etc/cron.daily/logrotate:
error: btmp:1 lines must begin with a keyword or a filename (possibly in double quotes)
error: cron:1 lines must begin with a keyword or a filename (possibly in double quotes)
error: dmesg:1 lines must begin with a keyword or a filename (possibly in double quotes)
error: messages:1 lines must begin with a keyword or a filename (possibly in double quotes)
error: nginxb:1 duplicate log entry for /var/log/nginx/access.log
error: secure:1 lines must begin with a keyword or a filename (possibly in double quotes)
error: spooler:1 lines must begin with a keyword or a filename (possibly in double quotes)
error: syslog:1 duplicate log entry for /var/log/cron
error: /etc/logrotate.conf:28 duplicate log entry for /var/log/btmp
logrotate_script: $'\r': command not found
Redirecting to /bin/systemctl restart rsyslog.service
logrotate_script: $'\r': command not found
Redirecting to /bin/systemctl restart rsyslog.service
logrotate_script: $'\r': command not found
Redirecting to /bin/systemctl restart rsyslog.service