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

  1. Xref: sparky comp.sys.att:1896 comp.sys.ncr:396
  2. Path: sparky!uunet!olivea!bu.edu!att!att!cuuxb!fmcgee
  3. From: fmcgee@cuuxb.att.com (~XT6561110~Frank McGee~C23~L25~6326~)
  4. Newsgroups: comp.sys.att,comp.sys.ncr
  5. Subject: Re: QUESTION: modified /etc/rc2 screwing up booting
  6. Summary: be VERY careful when setting your domain name
  7. Keywords: domain
  8. Message-ID: <1992Jul23.200800.16377@cuuxb.att.com>
  9. Date: 23 Jul 92 20:08:00 GMT
  10. Expires: Tue, 22 Sep 1992 05:00:00 GMT
  11. References: <1992Jul20.121519.13854@vax5.cit.cornell.edu>
  12. Reply-To: fmcgee@cuuxb.UUCP (Frank W. McGee)
  13. Followup-To: comp.sys.att
  14. Distribution: comp
  15. Organization: AT&T Computer Systems, Lisle, IL
  16. Lines: 51
  17.  
  18. In article <1992Jul20.121519.13854@vax5.cit.cornell.edu> iojj@vax5.cit.cornell.edu writes:
  19. >Being a new sysadmin without manuals (almost) or fear of destroying the system 
  20. >;-) I have a little problem.
  21. >
  22. >On my StarServer E running SVR4.0.2, I edited /etc/rc2 and /etc/rc3 to include 
  23. >the line 
  24. >    
  25. >    . /usr/bin/domainname <domainname>
  26. >
  27. >which resulted in this message upon rebooting:
  28. >
  29. >    INIT:  Command respawning too quickly. Check for possible errors.
  30.  
  31. You're rather lucky; in some cases this can cause the machine to
  32. panic.  The 4v3 release notes state that you should set your
  33. domain name by changing the line :
  34.  
  35. #define SRPC_DOMAIN    ""
  36.  
  37. in /etc/conf/pack.d/kernel/space.c.
  38.  
  39. For example, to change your domain name to NCR.COM, the line
  40. would look like :
  41.  
  42. #define SRPC_DOMAIN    "NCR.COM"
  43.  
  44. Then run /etc/conf/bin/idbuild and reboot the machine with
  45. /etc/shutdown.
  46.  
  47. As you can see, when SRPC_DOMAIN is linked into the kernel, it
  48. is a zero-length null-terminated string in the kernel.  If you
  49. don't change it in the space.c file, no space get's allocated
  50. for it, and when you use domainname, it trashes whatever
  51. structure was behind the SRPC_DOMAIN data area.  Usually on
  52. SSE UNIX it's the tty structures.  That's the reason why you
  53. were getting getty errors.  Under some circumstances this
  54. can panic the machine.
  55.  
  56. This may be true in other SVR 4 ports as well (that's the
  57. reason for the cross-post to the NCR group).
  58.  
  59. Hope this helps you out,
  60.  
  61. Frank McGee, PM&S Naperville
  62. NCR Corporation
  63. nap-top!fmcgee@ccscae.ColumbiaSC.NCR.COM
  64. -- 
  65. Frank McGee, AT&T
  66. Entry Level Systems Support
  67. attmail!fmcgee (preferred)
  68. att!cuuxb!fmcgee (those that can't reach attmail)
  69.