*BSD News Article 92707


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!newsfeeds.sol.net!nntp.uio.no!sn.no!newsfeed.tip.net!news.seinf.abb.se!erinews.ericsson.se!news
From: martti.kuparinen@era-t.ericsson.se (Martti Kuparinen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: ypbind hangs
Date: 2 Apr 1997 14:07:58 GMT
Organization: Ericsson Telecom AB
Lines: 33
Distribution: world
Message-ID: <5htp7u$ajm@newstoo.ericsson.se>
NNTP-Posting-Host: kk130.ericsson.se
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38374

Hi all!

We have network with a SunOS 5.4 machine used as a file and NIS+ server.
NIS+ is running in "NIS compatibility mode" and this is the only NIS
server in our network.

Clients and Router are all FreeBSD version 2.2 machines. Part of
our network looks like this:

+--------+       +--------+       +-------------+
| Client | ----- | Router | ----- | NIS+ Server |
+--------+   |   +--------+       +-------------+
             .
           ...

So there are several FreeBSD clients behind a FreeBSD router. If for some
reason the router is rebooted e.g. to test a new kernel then the client's
ypbind process hangs making it damn hard to login even as root.

It claims something like "ypbind: server [xx.xx.xx.xx] for domain foo.bar
not responding". Ping to server however works ok. I know that this ypbind problem
can easily be fixed with

	kill <pid of ypbind>; ypbind -ypset; ypset server

But why ypbind hangs? Why doesn't it automatically "get online" after the
connection to the NIS server is restored? How to fix this?

Thanks in advance,

Martti