1851485 Members
3035 Online
104059 Solutions
New Discussion

NIS CLIENT

 
Nagaraju_5
Occasional Contributor

NIS CLIENT

Dear Friends

I am trying to add hp-ux 11.0 system as NIC client server, but nis domain is rejecting
to add this system as client.

I have done following configuraion
a, NIS_CLIENT=1
b, NIS_DOMAIN=xyz.com
c. verifited NIS domainname

If i start ./nis.client its not binding to NIS server and even NIS-CLIENT is not starting at startup.

Kindly suggest me how can i go about it.

Regards
Nagaraju S
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: NIS CLIENT

Hi Nagaraju,

Check this doc.

Title: Steps to setup a NIS Master Server, NIS Slaves, and NIS Clients
Document ID: KBAN00000276

http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080360992

Regards,
Robert-Jan
RAC_1
Honored Contributor

Re: NIS CLIENT

What is the error that you get?? May be you will have to set YPSET_ADDR option.

Also is nsswitch.conf correctly configured??
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: NIS CLIENT

Check /var/adm/syslog/syslog.log
for information.

Check /etc/rc.log
for information on what happened at boot.

See there is a softlink
in /sbin/rc3.d to the /sbin/init.d/nis.client
script

Make sure that /etc/nsswitch.conf
includes files somewhere in its choices for passwd and group options or is set to compat.

Make sure that in the NIS Master there is a line for the client in /etc/hosts

Make sure there is a line for the client and the NIS Master server in the clients /etc/hosts file.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: NIS CLIENT

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=40464

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Kirby A. Joss
Valued Contributor

Re: NIS CLIENT

I suggest you reverify your name, as your domain xyz.com in b implies confusion between the nis and dns domains which are distinct, although often similar. In our shop the NIS domain is the same as the DNS domain but without the .com. It confuses new admins who have not fought good-old (emphasis on old) NIS before and IIRC prevents the client from coming up.
A. Clay Stephenson
Acclaimed Contributor

Re: NIS CLIENT

Your NIS domain name looks suspicious as you have added .com. NIS domain names have nothing to do with DNS domains.

Is there an NIS server (either a master or slave) in this client's subnet? If not then you will have to do a ypset.

When you "start" nis.client are you doing it like this?
/sbin/init.d/nis.client start
If it ain't broke, I can fix that.