* NIS problems under DEC OSF/1 v2.0
@ 1994-04-12 12:19 Richard Eckman
1994-04-27 2:30 ` Gary Newman
0 siblings, 1 reply; 2+ messages in thread
From: Richard Eckman @ 1994-04-12 12:19 UTC (permalink / raw)
I'm still experiencing difficulties running NIS under DEC OSF/1
v2.0. I've been running NIS/YP for years under ULTRIX and earlier
versions of OSF/1 (v1.2 and 1.3) with no difficulty. As some
background, I have 5 slave servers and one master server running
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
domain is unbound. Finally, the next machine in the ypbind
list (specified in rc.config) takes over serving the local
machine.
My question is why the local machine unbinds in the first place?
This has never happened in my experience on earlier versions of
OSF/1. The machine is not at all overloaded, unless ypbind/ypserv
have some bizarre way of determining load balancing.
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 t
o receive; errno = Connection reset by peer
Apr 11 10:32:32 eos1 syslog: yp_all - TCP channel create failure: RPC: Remote sy
stem error - Connection refused
Apr 11 10:35:27 eos1 syslog: yp_all - RPC clnt_call (TCP) failure: RPC: Unable t
o receive; errno = Connection reset by peer
Apr 12 08:06:43 eos1 syslog: yp_all - RPC clnt_call (TCP) failure: RPC: Unable t
o receive; errno = Connection reset by peer
Is anyone else experiencing these problems with NIS? Does anyone
have a solution?
Thanks.
Richard Eckman
NASA Langley
eckman@eos1.larc.nasa.gov
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: NIS problems under DEC OSF/1 v2.0
1994-04-12 12:19 NIS problems under DEC OSF/1 v2.0 Richard Eckman
@ 1994-04-27 2:30 ` Gary Newman
0 siblings, 0 replies; 2+ messages in thread
From: Gary Newman @ 1994-04-27 2:30 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-04-27 2:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-04-12 12:19 NIS problems under DEC OSF/1 v2.0 Richard Eckman
1994-04-27 2:30 ` Gary Newman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox