From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9f64ab825b4dd626 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-27 08:14:46 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!hp4at!Austria.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!world!gnewman From: gnewman@world.std.com (Gary Newman) Subject: Re: NIS problems under DEC OSF/1 v2.0 Message-ID: Organization: XMX Corporation, Bedford, MA X-Newsreader: TIN [version 1.2 PL2] References: <2oe3kv$5hs@reznor.larc.nasa.gov> Distribution: world Date: Wed, 27 Apr 1994 02:30:06 GMT Richard Eckman (eckman@eos1.larc.nasa.gov) wrote: : ... : in the domain. Upon upgrading to v2.0, I've found that some : typical NIS operations like "ypcat passwd" cause the local machine : (a slave server) to unbind from the domain. For about one minute, : a "ypwhich" command will yield a blank line, indicating that the : ... : Error messages do appear in the /usr/adm/syslog.dated/xxx/user.log : file and look like the following: : Apr 11 10:32:30 eos1 syslog: yp_all - RPC clnt_call (TCP) failure: RPC: : Unable to receive; errno = Connection reset by peer : Apr 11 10:32:32 eos1 syslog: yp_all - TCP channel create failure: RPC: : Remote system error - Connection refused : ... : Is anyone else experiencing these problems with NIS? Does anyone : have a solution? Yes, we have a similar problem and it's refreshing to see how yours was caused since it may help us fix our problem. Immediately after upgrading from 1.3B to 2.0 we found that our BIND/NIS primary server wouldn't complete booting but would hang with errors that the domain name server (itself) isn't responding (strange since it is the only server listed in /etc/resolv.conf). Under 1.3B everything worked fine, and other than upgrading to 2.0 we haven't changed a thing on that machine. The error messages we get in the log file are the same as what you show above, but I think it's sendmail printing the message. This appears to be because sendmail is the first thing to run after nis that causes a binding. It looks like what's happening is that the server doesn't bind with itself for some reason. Waiting a few minutes doesn't solve the problem either (unlike with your system). If instead, we have BIND and NIS disabled in rc.config when booting and manually enable them after the system is up (using /sbin/init.d/named and /sbin/init.d/nis) everything runs fine. I have noticed that it takes about 15 seconds for the first binding to happen after booting though. At this point, we are pretty annoyed at this and wonder if there is access to any Digital patches/work-arounds to fix it. Anyone have tips on this? -- Gary Newman gnewman@xmx.com XMX Corp. voice: (617) 275-9694 One Oak Park Fax: (617) 271-9164 Bedford, MA 01730