home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / sysadmin / 4352 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  2.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!wupost!darwin.sura.net!haven.umd.edu!umd5!oberon.umd.edu!matthews
  2. From: matthews@oberon.umd.edu (Mike Matthews)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Things You Shouldn't Do
  5. Message-ID: <14646@umd5.umd.edu>
  6. Date: 24 Jul 92 12:32:09 GMT
  7. Sender: news@umd5.umd.edu
  8. Reply-To: matthews@ectds.com
  9. Lines: 61
  10. Originator: matthews@oberon.umd.edu
  11.  
  12. Y'know, if you ever think of trying to delete any netboot (bootptab,
  13. bootparams) entries in NetInfo, DO NOT empty out the corresponding flatfile
  14. and niload -d bootptab/bootparam it.
  15.  
  16. It'll blow away /machines.
  17.  
  18. No /machines, no serves property.
  19.  
  20. No serves property, no NetInfo.  I couldn't even use the niutil tag stuff to
  21. GET to the database to FIX it.
  22.  
  23. So I do a restore (in singleuser mode, no NetInfo running) of it, and use an
  24. ninparse script that I wisely created minutes before I blew everything away,
  25. to bring NetInfo back up to snuff.
  26.  
  27. Did you all know that niutil -create will create a duplicate entry, unlike
  28. niutil -createprop which BEHAVES ITSELF?
  29.  
  30. Anyway.
  31.  
  32. I finally get NetInfo restored (the niunparse *after* the fact is identical
  33. to the niunparse *before* the fact).  Reboot.
  34.  
  35. loginwindow:  can't find WindowServer port! <kaboom>
  36.  
  37. NetInfo works fine.  I can boot into console mode just fine.  But I can't get
  38. the damn WindowServer to come up.  It runs according to lastcomm, but then it
  39. dies with an ignominious "X".  netstat shows the machine frantically trying
  40. what looks like every friggin' port on the machine, looking for the
  41. WindowServer (lots and lots of TIME_WAITs).
  42.  
  43. I restored /usr/lib from a good machine.  Still no go.
  44.  
  45. When it reboots, it says stuff like
  46. unmounting /local... done
  47. unmounting / ... done
  48. unmounting / ... done
  49. unmounting /NextUsers ... done
  50. unmounting / ... done
  51.  
  52. not exactly, but there IS no /local in any NetInfo mounts database or fstab
  53. file, and why is it unmounting / so many times?
  54.  
  55. fsck reports no errors.
  56.  
  57. I'm at a complete loss.  Looks like I'm in for a 4 hour complete restore
  58. (optical disks are so bloody slow).
  59.  
  60. Does ANYBODY have ANY hint WHATSOEVER as to what exactly I did to the poor
  61. machine and what can be done to fix it without a full restore?  It's a
  62. NeXTdimension system (USED to be our NetInfo server :-( ), which usually runs
  63. NeXTstep 2.1.
  64.  
  65. Replies being sent to matthews@ectds.com.  Please respond by Email as our
  66. news feed probably won't pick this message up until tomorrow, so I won't see
  67. any replies until next week.
  68. ------
  69. Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
  70. ------
  71. Let me play with it first and I'll tell you what it is later.
  72. - Miles Davis
  73.