Operating System - HP-UX
1832932 Members
2924 Online
110048 Solutions
New Discussion

problem binding to NIS server; child ypbind -set processes

 
Boyd Kodama
Frequent Advisor

problem binding to NIS server; child ypbind -set processes

HP-UX 10.20

I am trying to set up a system as a NIS client.
The system used to be a trusted system with
auditing running. I turned off auditing (audsys -f and
AUDITING=0) and I unconverting the system
via the tsconvert command. The namesvrs
is all set with YPBIND_OPTIONS set to -ypset
and YPSET_ADDR set to the NIS server IP.

The NIS server has been already set with some NIS
clients. I wanted to connect this one system
that used to be a "stand-alone" trusted system to
the LAN and have it become a NIS client just like
the others.

When the system boots up, nis.client start fails.
I noticed that the system has ypbind -ypset running
with 1 or 2 or 3 child processes by the same process name. I tried to kill the child processes and run ypset but more child processes are quickly spawned and this system will not bind
to the server.

I stop the nis.client and execute line by line the
command in /sbin/init.d/nis.client to start it.
But, still, the ypbind -ypset spawns off children.

I looked at the other clients and did the step by step approach and they had no problem. The /etc/hosts
looks good.

Upon boot up, I did notice that a message about "syslogd udp unknown service" or something like that is shown when starting the system logging daemon but it starts OK.

Well, any ideas? I've checked through some related
postings and tried some suggestions from them but
with no success.

Boy
Without Mondays, there weren't be any Fridays
4 REPLIES 4
Sanjay_6
Honored Contributor

Re: problem binding to NIS server; child ypbind -set processes

Boyd Kodama
Frequent Advisor

Re: problem binding to NIS server; child ypbind -set processes

Thanks Sanjay for the link.

Still no success.

We were able to eliminate the
message about "syslogd udp
unknown service". That was
due to a typo in the /etc/nsswitch.conf file.

Still don't know why our
machine is spawning off
children processes of "ypbind
-ypset". Wonder if
it is related to the fact that
it used to be a trusted system.

Boyd
Without Mondays, there weren't be any Fridays
Sanjay_6
Honored Contributor

Re: problem binding to NIS server; child ypbind -set processes

Hi Boyd,

First try this, and then if it doesn't work, try the link,

Shutdown NIS Client,
# /sbin/init.d/nis.client stop

# mv /var/yp/secureservers /var/yp/secureservers.save

restart NIS client:
# /sbin/init.d/nis.client start

Do a "ypwhich" and see if the client binds to the master server.

If this doesn't work, try this link, Can you post any errors or your problem in more detail.

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=0bc4762c0681f26761/screen=ckiDisplayDocument?docId=200000018910967

Hope this helps.

Rgds
Boyd Kodama
Frequent Advisor

Re: problem binding to NIS server; child ypbind -set processes

Figured it out.

Need to setup the
/etc/resolv.conf with the
domain and nameservers as well
as the
/etc/rc.config.d/netconf
with the BROADCAST_ADDRESS and
ROUTE information.

thanks,

Boyd
Without Mondays, there weren't be any Fridays