1835531 Members
2883 Online
110078 Solutions
New Discussion

Re: ypbind problem

 
Jim Corbett
Occasional Advisor

ypbind problem

When I start ypbind on a NIS slave, I receive the error "ypbind will not use the server list available in the file /var/yp/binding//ypserver for binding purpose." I ran ypinit on the NIS master and slave (getting the error), but no help.
4 REPLIES 4
S.K. Chan
Honored Contributor

Re: ypbind problem

I've never use this feature that mimics Sun's implementation on HP that enable you to define the list of NIS servers to bind to. Broadcast is the method I used. Anyway for your case it's either the file "ypserver" in /var/yp/binding/ is corrupted or you did not install a certain patch to modify the behavior of ypinit. Take a look at this patch (for 11.11 for example).

PHNE_25625
==>s700_800 11.11 ONC/NFS General Release/Performance Patch)

Somewhere in the description it mentioned ..
"Modified the ypinit script to include a new option "-c" for construction of an NIS servers list. The NIS servers list is constructed by invoking "ypinit -c" and is stored in /var/yp/binding//ypservers. The list of NIS servers should be in the order of preference that ypbind can try to bind."

Did you have this patch or any equivalent patch install on your system ?
Judy Traynor
Valued Contributor

Re: ypbind problem

try modifying /etc/rc.config.d/namesvrs file

ypbind_options="-ypset"

ypset_addr="xxx.xxx.xxx.xxx"

where xxx.xxx.xxx.xxx is the ip address or name of the nis master.

unsecure, but try as a test
Sail With the Wind
Jim Corbett
Occasional Advisor

Re: ypbind problem

Guess, I forgot to mention that I am running HP 11.00.

I tried the ypinit -c This is not a valid arg.

We do set ypbind_options and ypset_addr as directed above. I checked and they are set correctly.
S.K. Chan
Honored Contributor

Re: ypbind problem

11.0 doesn't use the "ypserver" file in /var/yp/binding/, I'm not sure why it try to search for that file. Can you temporary move all the files in /var/yp/binding/ (if any) to another location/dir first then restart ypbind again.