Operating System - HP-UX
1826568 Members
3692 Online
109695 Solutions
New Discussion

NIS 11i configuration / problem solving

 
Kirk Shimek
New Member

NIS 11i configuration / problem solving

AIX 4.3.3 MR8 NIS server - Serving 40+ hpux 10:20 and 11:00 clients. Attempting to configure my first 11i / 11:11 client. Installation went great. NFS works. DNS name resolution works.

Problem: I want NIS (not NIS+) to be my primary name resolution service for hosts, passwds etc and then fall back to DNS as a secondary name service resolution. . .. I configure my /etc/nsswitch.conf, specify the domain etc . . . here is the error I get when I try starting /sbin/init.d/nis.client

"root@cad127-/ > /sbin/init.d/nis.client start
starting NIS CLIENT networking
starting up the rpcbind
rpcbind already started, using pid: 679
domainname lci
starting up the Network Information Service
starting up the ypbind daemon
FAILURE CODE: 1
calling ypset with 149.223.100.100
Sorry, I can't set up a udp connection to ypbind on host cad127.
Checking NIS binding.
Bound to NIS server using domain lci.
starting up the keyserv daemon
keyserv already started, using pid: 730

From the docs page it seems that NIS on 11i is a little different then in 10:20 and 11:00. But I don't have enough debug savvy . . . thats why I'm coming to the experts. Thanks for any hints, suggestions, and of course solutions.
6 REPLIES 6
S.K. Chan
Honored Contributor

Re: NIS 11i configuration / problem solving

Check if your IP broadcast address is correct. The command is ..

# ifconfig lan0 ===> assuming you got lan0

If the broadcast address is not correct, change it and restart nis-client again.
Kirk Shimek
New Member

Re: NIS 11i configuration / problem solving

Yes the broadcast is correct. It is the same on all other working hpux 10:00 and 11:00 systems. We have a super-netted network here xxx.xxx.100.0 and xxx.xxx.101.xxx are configured as the same lan so the broadcast is xxx.xxx.101.255.
S.K. Chan
Honored Contributor

Re: NIS 11i configuration / problem solving

Mmm .. I'm troubleshooting this based on the "..can't setup udp connection to ypbind.." error message. Do you have /var/yp/secureservers file configured ? If yes try this ..
# cd /var/yp
# mv secureservers secureservers.bak
Now restart NIS-client again. Often if secureservers file is corrupted or wrongly configured, it could cause ypbind to fail.

Ravi_8
Honored Contributor

Re: NIS 11i configuration / problem solving

Hi,
In /etc/rc.config.d/namesvrs file,check the following flags has been set

NIS_CLIENT="1"
NIS_DOMAIN="domain_name" ( domain name of your NIS server)
YPBIND_OPTIONS="-ypset"
YPSET_ADDR="x.x.x.x" ( IP of NIS server)

then do
#/sbin/init.d/nis.client stop/start


never give up
Kirk Shimek
New Member

Re: NIS 11i configuration / problem solving

Thanks for the suggestions . . . but no go. I've done all of the preceding steps and still the same exact error message. I'm loading another client just to see if the problem is specific to the particular install or all across the board installs. Please keep the suggestions coming.
Kirk Shimek
New Member

Re: NIS 11i configuration / problem solving

Hello All,

Just had success loading a second box. Did the exact same steps as the original failing box. I'm going to reinstall . . . will let you know.