Results 1 to 3 of 3

Thread: 29GiB Message File

Threaded View

  1. 29GiB Message File

    SLES11 SP2. I thought the message file in /var/log was suppose to logrotate? I got a message today that the drive was out of space. I cd to /var and run $ find . -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'. This reports the message file is 29GB in size!! I need to know how to either roll it over or delete and recreate.

    {EDIT}
    I just used
    Code:
    >/var/log/messages
    and this put the size back to 0kb
    Last edited by carnold6; 31-Mar-2012 at 18:26.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •