NIS problem ..

Jakob Oestergaard jakob at unthought.net
Sun Jul 13 15:17:42 EDT 2003


On Tue, Jul 08, 2003 at 02:25:11PM +0530, Rakesh Gupta wrote:
> 
> 
> Hi, 
>    I am setting up a small 8 node cluster .. I have installed RedHat 9.0
> on all the nodes. 
>   Now I want to setup NIS .. I have ypserv , portmap, ypbind running on
> one of the nodes (The server) on the others I have ypbind and portmap.
> 
> The NIS Domain is also set in /etc/sysconfig networkk .. 
> 
> Now when I do /var/yp/make .. an error of the following form comes
> 
> " failed to send 'clear' to local ypserv: RPC: Unknown HostUpdating
> passwd.byuid " 
> 
> and a sequence of such messages follow..
> 
> can anyone please help me with this.


What's in your /var/yp/ypservers file?   Does it include the NIS server?

Are you sure that whatever hostname(s) you have there is resolvable?

Do you have 'localhost' (and the name for the local host used in the
ypservers file) in your /etc/hosts file?

Are you sure you don't have any fancy firewalling enabled by accident?

I'm shooting in the dark here... I haven't seen that particular problem
on a NIS server before.  It just looks like somehow it cannot contact
the local host, which is weird...

As a last resort, I would suggest looking thru the makefile, to see
exactly which command fails.  Once you have isolated the single command
to run to get the error message you see, try running it under "strace".
Then it should be pretty clear exactly which system call fails, and from
there on you might be able to guess why it attempts to make that call.

I haven't needed to go thru that routine with a NIS server yet...
Usually turning on debugging information, and double-checking the
configuration files should do it.

My NIS server and slave is on Debian 3 now though, and I don't know if
there are any particular oddities in the RedHat 9 setup.

-- 
................................................................
:   jakob at unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list