Log rotate doesn't work very well.
So, when i execute command, I got a below error first time.
$ logrotate /etc/logrotate.d/systemname
error: error creating output file /var/lib/logrotate/logrotate.status.tmp: Permission denied
then i changed /var/lib/logrotate/
to 666
Error message change like below.
$ logrotate -f /etc/logrotate.d/systemname
error: error stat()ing state file /var/lib/logrotate/logrotate.status: Permission denied
Help me, how to solve this problem?
thanks.