LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2012, 09:30 AM   #1
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Rep: Reputation: 16
a lot of warn file...filling /


hi guys

I have suse 11 sp1 and I have a lot of warn file filling / these are under /var/log


there's this big one
Code:
-rw-r----- 1 root root 3.9G Feb  1 10:28 warn
warn: ASCII text
and the others that are about 2.5 to 3MB - they are about 130 warn-*.bz2

Code:
-rw-r----- 1 root root 3.9G Feb  1 10:28 warn
-rw-r----- 1 root root 2.7M Oct 24 09:45 warn-20111024.bz2
-rw-r----- 1 root root 2.5M Oct 25 09:52 warn-20111025.bz2
-rw-r----- 1 root root 2.6M Oct 26 09:45 warn-20111026.bz2
-rw-r----- 1 root root 2.5M Oct 27 09:50 warn-20111027.bz2
-rw-r----- 1 root root 2.6M Oct 28 10:00 warn-20111028.bz2
-rw-r----- 1 root root 2.5M Oct 29 09:46 warn-20111029.bz2
-rw-r----- 1 root root 2.6M Oct 30 09:43 warn-20111030.bz2
any idea how to get rid of these?
thanks a lot
 
Old 02-01-2012, 09:34 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
did you ever think to look at one to see what's in there???

if you do an "lsof /vaw/log/warn" you should see what's writing to it, probably syslog, so you'd want to edit your /etc/syslog.conf (or equivalent) to change its behavior.

More fundamentally though, you probably want to pay attention to the log, as that's what it's there for, and address the root cause instead of masking it.

as for the old compressed ones, you can just delete them.
 
Old 02-01-2012, 09:35 AM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
What content is in those files ? Isn't it usefull ?

Maybe check /etc/syslog.conf, and edit it if you see something relevant
(edit: as acid_kewpie says )
 
Old 02-01-2012, 01:20 PM   #4
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
I will check guys

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete a file as root- where does it go? My partition is filling up?! linus72 Linux - General 6 07-26-2009 02:21 PM
gnome file permissions in a lot of directorys trscookie Linux - Software 1 12-05-2005 05:28 AM
File manager in Phlak freezes a lot elamigo2004 Linux - Software 9 05-01-2004 07:18 PM
mgetty.ttyS0 log file filling up capstone737 Linux - General 10 11-25-2003 12:05 PM
RH9 - Kicker apps filling swap file RyanBoyle Linux - Software 0 07-08-2003 04:06 PM


All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration