home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.att:1896 comp.sys.ncr:396
- Path: sparky!uunet!olivea!bu.edu!att!att!cuuxb!fmcgee
- From: fmcgee@cuuxb.att.com (~XT6561110~Frank McGee~C23~L25~6326~)
- Newsgroups: comp.sys.att,comp.sys.ncr
- Subject: Re: QUESTION: modified /etc/rc2 screwing up booting
- Summary: be VERY careful when setting your domain name
- Keywords: domain
- Message-ID: <1992Jul23.200800.16377@cuuxb.att.com>
- Date: 23 Jul 92 20:08:00 GMT
- Expires: Tue, 22 Sep 1992 05:00:00 GMT
- References: <1992Jul20.121519.13854@vax5.cit.cornell.edu>
- Reply-To: fmcgee@cuuxb.UUCP (Frank W. McGee)
- Followup-To: comp.sys.att
- Distribution: comp
- Organization: AT&T Computer Systems, Lisle, IL
- Lines: 51
-
- In article <1992Jul20.121519.13854@vax5.cit.cornell.edu> iojj@vax5.cit.cornell.edu writes:
- >Being a new sysadmin without manuals (almost) or fear of destroying the system
- >;-) I have a little problem.
- >
- >On my StarServer E running SVR4.0.2, I edited /etc/rc2 and /etc/rc3 to include
- >the line
- >
- > . /usr/bin/domainname <domainname>
- >
- >which resulted in this message upon rebooting:
- >
- > INIT: Command respawning too quickly. Check for possible errors.
-
- You're rather lucky; in some cases this can cause the machine to
- panic. The 4v3 release notes state that you should set your
- domain name by changing the line :
-
- #define SRPC_DOMAIN ""
-
- in /etc/conf/pack.d/kernel/space.c.
-
- For example, to change your domain name to NCR.COM, the line
- would look like :
-
- #define SRPC_DOMAIN "NCR.COM"
-
- Then run /etc/conf/bin/idbuild and reboot the machine with
- /etc/shutdown.
-
- As you can see, when SRPC_DOMAIN is linked into the kernel, it
- is a zero-length null-terminated string in the kernel. If you
- don't change it in the space.c file, no space get's allocated
- for it, and when you use domainname, it trashes whatever
- structure was behind the SRPC_DOMAIN data area. Usually on
- SSE UNIX it's the tty structures. That's the reason why you
- were getting getty errors. Under some circumstances this
- can panic the machine.
-
- This may be true in other SVR 4 ports as well (that's the
- reason for the cross-post to the NCR group).
-
- Hope this helps you out,
-
- Frank McGee, PM&S Naperville
- NCR Corporation
- nap-top!fmcgee@ccscae.ColumbiaSC.NCR.COM
- --
- Frank McGee, AT&T
- Entry Level Systems Support
- attmail!fmcgee (preferred)
- att!cuuxb!fmcgee (those that can't reach attmail)
-