Find the answer to your Linux question:
Results 1 to 4 of 4
there are in /var/log/messages. how can I solve this problem? I know it is space issue. but where can I start? Mar 2 10:40:41 ww1 syslog-ng[2851]: io.c: do_write: write() failed ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    26

    error messages in /var/log/messages

    there are in /var/log/messages. how can I solve this problem? I know it is space issue. but where can I start?

    Mar 2 10:40:41 ww1 syslog-ng[2851]: io.c: do_write: write() failed (errno 2, No space left on device
    Mar 2 10:40:41 ww1 syslog-ng[2851]: pkt_buffer::do_flush(): Error flushing data
    Mar 2 10:40:41 ww1 auditd[3912]: Audit daemon has no space left on logging partition
    Mar 2 10:40:41 ww1 auditd[3912]: Audit daemon has no space left on logging partition
    Mar 2 10:40:41 ww1 auditd[3912]: Audit daemon has no space left on logging partition
    Mar 2 10:40:41 ww1 auditd[3912]: Audit daemon has no space left on logging partition

    Thanks.

  2. #2
    Linux Newbie
    Join Date
    May 2006
    Location
    Kansas
    Posts
    187
    Run this:
    df -m

    That shows your partitions and how full they are in MB. Go ahead and post the output if you still have problems.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    boot up in command line mode, log in as root and delete message files.
    Code:
    cd /var/log
    rm -f messages.*



    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Jan 2007
    Posts
    26
    Thanks for the input.

    svr1:~ # df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda6 20G 9.1G 9.6G 49% /
    udev 1014M 116K 1014M 1% /dev
    /dev/sda7 33G 1.2G 30G 4% /home


    how can I prevent this log getting bigger?

Posting Permissions

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