SUMMARY: Replacing NIS slave server and automount problem

From: Debbie Tropiano <debbie_at_icus.com>
Date: Mon Jul 25 2005 - 14:10:53 EDT
Folks -

I finally found the solution.  

Apparently an old map file that contained the old server name was
still in the /var/yp/<NISDOMAIN> directory on the master server.
There were quite a few map files with similar names, so I'd missed
it previously and I hadn't been the one who made the earlier change
so didn't realize that the map hadn't been deleted.  Plus the raw text
file for it was gone, so I assumed there weren't any additional
references.  Removing that map file fixed the problem.

Thanks anyway to Mike Salehi, Tom Crummey, Siva Santhakumar, James Scott
and Richard (only two Out of Office replies that time!  Amazing!!).

Debbie


Original message:
> Our old NIS slave server died, so I setup a new one with a different
> hostname and IP address.  Of course I changed the ypservers NIS map
> as well as the /var/yp/binding/<NISDOMAIN>/ypservers file, but the
> automounter still wants to use the old NIS slave server whenever the
> master is unavailable.  What's even stranger is that ypwhich reports
> that it's bound to the new NIS slave server.
> 
> The messages from the automounter are:
>     automountd[244]: [ID 190415 daemon.error] servers server2 not responding: RPC: Timed out
>     automountd[20285]: [ID 801593 daemon.error] auto_data: internal yp server or client error
> 
> where server2 is the hostname of the old NIS slave server.
> 
> Is there something else that I need to change?  I've even re-run "ypinit -c"
> on the system, but that didn't do anything to fix the behavior.  The systems
> in question are running Solaris 9, in case that matters.  All of my other
> (non-Solaris) systems have handled the change properly.
-- 
+ Debbie Tropiano -- debbie_at_icus.com -- http://www.icus.com/personal.html  +
| Mommy to   Nathan b: 8/17/1995,   ^Sara^ b: 10/25/2000 d: 11/7/2000   &  |
| Leah b: 10/17/2001 a: 9/26/2002 "God shows His opposition to cancer and  |
| birth defects, not by eliminating them or making them happen only to bad |
| people (He can't do that), but by summoning forth friends and neighbors  |
+ to ease the burden and to fill the emptiness."     -- Harold S. Kushner  +
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Jul 25 14:11:17 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:50 EST