home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22779 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Phantom file invades /etc
  5. Date: 5 Jan 1993 09:32:21 -0600
  6. Organization: Kansas State University
  7. Lines: 21
  8. Message-ID: <1ic9m5INNodg@matt.ksu.ksu.edu>
  9. References: <649.1189.uupcb@satalink.com>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11.  
  12. john.will@satalink.com (John Will) writes:
  13.  
  14. >I have developed a somewhat mysterious problem with Linux, specifically
  15. >a mystery growing file! :-(  A binary file appears in my /etc directory
  16. >named wtmp, and it's continuously growing.  It's also flagged by fsck
  17. >as a problem, that's how I spotted it.  The whole system is very slow,
  18. >obviously because of this phantom file I can't seem to figure out.
  19. >Booting from a previous kernel on a floppy didn't fix anything, so
  20. >I'm kinda stuck.  What in the world is going on, and how do I fix it?
  21. >I tried deleting the file, but it gets recreated.  Where is it coming
  22. >from?  HELP!
  23. >                                                                    
  24.  
  25. This is a log file that login adds onto whenever someone logs in and out.
  26.  
  27. I just have a cron job that archives mine once a month along with some other
  28. important logs (like /var/adm/...). It can't be that big, but you could
  29. just put a rm -rf /etc/wtmp in your /etc/rc file to erase it on bootup.
  30.  
  31. James
  32.  
  33.