home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / admin / 4907 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!pilchuck!fnx!del
  3. From: del@fnx.uucp (Dag Erik Lindberg)
  4. Subject: Re: Where have all the messages of fsck gone ?????
  5. Message-ID: <1992Sep6.182701.10403@fnx.uucp>
  6. Organization: I/Ovations
  7. References: <1992Sep05.081011.395@rubikon.han.de>
  8. Date: Sun, 6 Sep 1992 18:27:01 GMT
  9. Lines: 31
  10.  
  11.  
  12. >Hi!
  13.  
  14. >I run a little Unix (SYSVR3) maschine for mail & Newsbatching 24 Hours a day.
  15. >My Problem is: If the power is lost and i'm not sitting in front of the
  16. >machine all the messages of fsck are lost.
  17.  
  18. >Is there any way to get the messages of fsck back ???
  19.  
  20. The correct answer to this question is vendor dependent, and you did not
  21. specify which manufacturer Unix you are running.  For example, SCO
  22. provides /usr/adm/conlog (or something like that, I can't remember)
  23. which has a record of all the machine boot messages whenever the machine
  24. is allowed to boot automatically.  Interactive provides nothing like
  25. that, but has a kernel build option to install "Operating System
  26. Messages" support.  Once you have selected that option, there will be a
  27. device '/dev/osm' which will FIFO all the messages normally sent to the
  28. console (they will also still appear at the console).  Then you can put
  29. the following command in your rc2.d:
  30.  
  31. cat < /dev/osm > /usr/adm/console.log
  32.  
  33. Then you will have a record of everything that happens not only during
  34. auto-boot, but any time.
  35.  
  36. If you don't have either SCO or Interactive, you'll just have to ask
  37. again, providing your Unix manufacturer this time.
  38.  
  39. -- 
  40. del AKA Erik Lindberg                             uunet!pilchuck!fnx!del
  41.                           Who is John Galt?
  42.