Log Rotation Errors. Please Help!!

Discussion in 'Technical' started by paul sanz, Apr 14, 2008.

  1. paul sanz

    paul sanz New Member

    Hi I hope someone can help me with my logrotate problems. Last week it rotated fine and today the logs were not rotated please see my force log rotation errors below; i dont understand why it cant rename or create, the file permissions havnt changed.

    error: failed to rename /var/log/messages to /var/log/messages.1: Operation not permitted
    error: error creating output file /var/log/messages: Operation not permitted



    any help will be appreciated.

    Thanks

    Paul (newbie)
     
  2. topdog

    topdog Active Member

    Code:
    ls -l /var/log/messages*
    lsattr /var/log/messages*
     

Share This Page