home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / pyramid / 236 < prev    next >
Encoding:
Text File  |  1992-12-30  |  2.3 KB  |  61 lines

  1. Newsgroups: comp.sys.pyramid
  2. Path: sparky!uunet!gatech!rpi!batcomputer!munnari.oz.au!bunyip.cc.uq.oz.au!cheops!logier
  3. From: logier@cheops.qld.tne.oz.au (Rob Logie)
  4. Subject: Re: screwed up /etc/utmp file
  5. Message-ID: <1992Dec30.225517.26511@cheops.qld.tne.oz.au>
  6. Keywords: who /etc/utmp login
  7. Organization: Telecom Australia, TNE Computer Support Services
  8. References: <davidm.724857220@nixtor> <1992Dec30.000930.27742@anasazi.com>
  9. Date: Wed, 30 Dec 1992 22:55:17 GMT
  10. Lines: 49
  11.  
  12. chad@anasazi.com (Chad R. Larson) writes:
  13.  
  14. >In article <davidm.724857220@nixtor> davidm@sni.ca (David Macklem) writes:
  15. >+---------------
  16. >| Further investigation has found that the /etc/.attutmp file has gotten
  17. >| corrupted, somehow.  There is no boot information and the 'who' command
  18. >| (among others reading the utmp file) no longer works.
  19. >| 
  20. >| Has anyone else seen this particular problem?  If so, how did you fix
  21. >| it?
  22. >+---------------
  23. >When I last saw that problem, it was due to a user compiling a program
  24. >that made entries in the utmp file.  The program was compiled under the
  25. >ucb universe, but run under the att universe.  The result was entries
  26. >being made at the wrong offsets in the .attutmp file.
  27.  
  28. >I don't remember exactly what it was he compiled.  I seem to remember it
  29. >was something from the Free Software Foundation, which assumes only
  30. >Berzerkely worlds exist.  That is why he compiled under ucb, because it
  31. >"was easier", but he got the wrong /usr/include/sys/utmp.h file.
  32.  
  33. >Have you or any of the users there been building programs from off the
  34. >net or outside your company?  That's where to start looking.
  35.  
  36. >As an aside, once you notice who no longer works, you can recover with a
  37. >bit less drastic move than rebooting.  As root:
  38.  
  39. >    cat /dev/null > /etc/.attutmp
  40.  
  41. >Or, if you are even more ambitious, you can use a binary editor like
  42. >"bed" to fix the file...
  43.  
  44. >+---------------
  45. >| Thanks.
  46. >+---------------
  47. >De Nada!
  48.  
  49. >    -crl
  50.  
  51.  
  52. Most common cause is people who try and compile a xterm on the Pyramid.
  53.  
  54.  
  55.  
  56. -- 
  57. Rob Logie                         | The opions expressed are mine alone and in
  58. Telecom Australia ACN 051 775 556 | no-way reflect the views or policies of the
  59. TNE Computer Support Services     | Australian and Overseas Telecommunications
  60. EMAIL: logier@cheops.qld.tne.oz.au| Corporation. "These are my opinions alone"
  61.