When using logrotate from a cronjob, I am getting this erros:
error: unable to open /var/log/mylog.1 for compression
Does any one know what does it mean and how can I fix it ?
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
It means that | |||
|
feedback
|
|
You're going to need to get more information. Does the file exist, and does the user running cron have permission to read it?:
See if logrotate can give more information. It should have a verbose flag you can turn on with '-v'. | |||
|
feedback
|