centos6 - Logrotate errors -


after last update of centos 6 logrotate not working correctly. can point me source of problem?

i've got mails this:

/etc/cron.daily/logrotate: logrotate_script: line 1: daily: command not found logrotate_script: line 2: rotate: command not found logrotate_script: line 3: delaycompress: command not found` 

are possibly putting lines inside of script block in logrotate.conf script or scripts?

for example, inside "postrotate", "prerotate", "firstaction", "lastaction" block before "endscript" directive?

that cause script treat logrotate directives commands in script; since not commands, you'd messages mentioned.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

python - RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK -