home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17690 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!biosci!agate!boulder!ucsu!fido.Colorado.EDU!farrow
  2. From: farrow@ucsu.Colorado.EDU (J. Scott Farrow)
  3. Newsgroups: comp.os.linux
  4. Subject: Hosed utmp file blocks reboot/shutdown was (Re: etc/utmp file not updated.)
  5. Message-ID: <1992Nov23.210143.24018@ucsu.Colorado.EDU>
  6. Date: 23 Nov 92 21:01:43 GMT
  7. References: <1992Nov20.075629.20271@ifi.uio.no>
  8. Sender: news@ucsu.Colorado.EDU (USENET News System)
  9. Organization: University of Colorado, Boulder
  10. Lines: 40
  11. Nntp-Posting-Host: fido.colorado.edu
  12.  
  13. runefr@ifi.uio.no (Rune Fr|ysa) writes:
  14.  
  15.  
  16. >Hi, I have a minor problem, using the SLS 0.98pl1 package with Linux 0.98pl5.
  17.  
  18. >Running w on my system i get something like:
  19. >User   tty    idle
  20. >root    some data
  21. >sync   ttyp1  2days
  22.  
  23. >Now, sync wasn't supposed to be there. ps -axu doesn't show anyone but root.
  24. >Looking into the wtmp file, I see that sync was logged in at some time, and
  25. >then crash.
  26.  
  27. >Seems like someone hasn't cleaned up the utmp file propperly. Anyone who knows
  28. >how to solve this problem?
  29.  
  30. >---------===============================================--------------
  31. >Rune Froysa,                 |"Science is the attempt to make the 
  32. >Dept. of Informatics         | chaotic diversity of our sense experience
  33. >University of Oslo, Norway   | correspond to a logically uniform system 
  34. >E-mail:runefr@ifi.uio.no     | of thought" - Albert Einstein.
  35.  
  36. I'm having the same problems, but I've also noticed that when utmp is 
  37. messed up, neither reboot or shutdown function properly.
  38.  
  39. Basically, I enter the "reboot" or "shutdown -r now" commands, I get
  40. asked "Why?", enter that, then nothing happens. I've only let it go for a 
  41. couple of minutes, but the system does not shutdown.
  42.  
  43. If I rm and then touch /etc/utmp, everything works fine again.
  44.  
  45. Any clues?
  46.  
  47. Scott
  48. --
  49. ************* Repeal Amendment 2! - Shame On You, Colorado. ******************
  50. J. Scott Farrow-Student SysAdmin/Programmer, University of Colorado at Boulder
  51. Computing & Network Services, Boulder, Colorado, USA, phone: (303) 492-4428
  52. Internet: farrow@spot.colorado.edu, farrow@cs.colorado.edu
  53.