[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with Linux clients and ypserv



Was wondering if someone know if Debian has this problem too. People in the
local LUG has found that RedHat's yp* programs are broken and are supposedly
working with RH to resolve this.

randolph

-----Original Message-----
From: Mwaniki, Peter
Sent: Wednesday, January 12, 2000 8:09 AM
Cc: Mwaniki, Peter
Subject: Linux clients and ypserv


On a network with NIS master and several slave servers. If a linux client is
bound to a slave NIS server and "ypserv" dies on the slave server, the linux
client does not disconnect and try to find another NIS server. There are
several servers listed in /etc/yp.conf.  Instead, everything freezes... see
the attached errors after the ypserv dies.

Eventually, one would have to restart "ypbind" : "/etc/rc.d/init.d/ypbind
restart" to get things back to normal.  I did not check but it appears like
ypbind dies when the ypserv dies on the slave its reading maps from.

Once ypbind is restarted, it goes off and looks for an NIS server that is
actively serving maps from /etc/yp.conf and off it goes...

What can one conclude? a) Find out if there is a fix for this 2) find a work
around it.

-Peter

-----------------------messages
----------------------------------------------------

[root@picasso /etc]# ypwhich
can't yp_bind: Reason: Domain not bound
[root@picasso /etc]# ypwhich
can't yp_bind: Reason: Domain not bound
[root@picasso /etc]# ypwhich
can't yp_bind: Reason: Domain not bound
[root@picasso /etc]# ypwhich
can't yp_bind: Reason: Domain not bound
[root@picasso /etc]# ypwhich
can't yp_bind: Reason: Domain not bound
[root@picasso /etc]# ypwhich
can't yp_bind: Reason: Domain not bound
[root@picasso /etc]# ps -ef | grep yp
do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused
do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused
do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused


[root@picasso /etc]# cd /etc/rc.d/init.d
[root@picasso init.d]# ls
apmd      autofs     gpm     inet      kudzu      netfs    pcmcia   routed
rwhod     smb     ypbind
arpwatch  crond      halt    keytable  linuxconf  network  portmap  rstatd
sendmail  syslog
atd       functions  identd  killall   lpd        nfslock  random   rusersd
single    xfs
[root@picasso init.d]# sh ./ypbind restart
Shutting down NIS services: [  OK  ]
Binding to the NIS domain... [  OK  ]
Listening for an NIS domain server: some.machine.com
[root@picasso init.d]#


----- End forwarded message -----

-- 
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^


Reply to: