1847108 Members
5531 Online
110263 Solutions
New Discussion

Is a NIS Slave

 
Guillermo_21
Occasional Contributor

Is a NIS Slave

The workstation is a NIS Slave but when turn on the workstation in the part of the NIS it send to an error message "NIS: server not responding for domain PGE.RDS"

I need to solve this problem

Thanks
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor

Re: Is a NIS Slave

Are you trying to setup an NIS slave server or simply a client? Can this workstation ping the NIS Master server?

There is not enough data here to even begin to solve your problem.

If it ain't broke, I can fix that.
Victor Fridyev
Honored Contributor

Re: Is a NIS Slave

Hi,

If the workstation and NIS_MASTER_SERVER there are on differnt subnets,
the station should be defined as NIS_CLIENT as well. The subnet of the computer should be added into file /var/yp/securenets on NIS_MASTER and file /var/yp/secureservers of the station should contain all its subnets.

HTH
Entities are not to be multiplied beyond necessity - RTFM
Bharat Katkar
Honored Contributor

Re: Is a NIS Slave

Check for correct NIS domain entry in /etc/rc.config.d/namesvrs file.

See what you have set is the name of NIS domain server by the NIS server.

Try pinging the NIS server to see whether it is accessible.

Hope this helps
You need to know a lot to actually know how little you know
Guillermo_21
Occasional Contributor

Re: Is a NIS Slave

When the workstation turn on, in the part of HP-UX start-up in progress, send me this message:
---------------------------------------------
START NIS SERVER.......................[busy]
05.14 09:10:23 qrdsw9 pid =1442 /usr/lib/netsvc/yp/ypbind

NIS: Server not responding for domain PGES.RDSS; still trying

ypmatch: can't match root
reason: can't bind to a server that serves NIS domain

---------------------------------------------

And the workstation is busy of that part...

What I can do so that workstation runs well...
Bharat Katkar
Honored Contributor

Re: Is a NIS Slave

HI,
1. First try to boot the server in single user and disable NIS by editing /etc/rc.config.d/namesvrs file.
NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=0
NIS_CLIENT=0
2. Try booting the server into normal mode (run level 3)

3. Now check where you have gone wrong.
Check for :
Correct NIS domain name
Check /etc/nsswitch.conf file for nis entries
4. Try starting the NIS daemons manually.

# /sbin/init.d/nis.server start
# /sbin/init.d/nis.client start

See if that helps you out

Regards,
Bharat
You need to know a lot to actually know how little you know
Guillermo_21
Occasional Contributor

Re: Is a NIS Slave

The file /etc/rc.condif.d/namesvrs have this information

NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=0
NIS_CLIENT=1

I try start the NIS deamons manually, and when I run the instruction:

#/sbin/init.d/nis.client start

send me this message:

starting NIS client networking
starting up the rpcbind
rpcbind already started, using pid=821 domainname PGES.RDSS

starting up the network information service
starting up the ypbind deamon

05.14 11:35:38 qrdsw9 pid=1674 /usr/lib/netsvc/yp/ypbind

ypbind: Secure mode sunos 3.x servers rejected /usr/lib/netsvc/yp/ypbind -s
checking NIS binding

05.14 11:35:38 qrdsw9 pid=1674 /usr/lib/netsvc/yp/ypbind

NIS: server not responding for domain PGES.RDSS; still trying.

And not run the workstation well...

thanks...
A. Clay Stephenson
Acclaimed Contributor

Re: Is a NIS Slave

Okay, this is an NIS client not a slave.

I suspect what is wrong is that the NIS server is on a different subnet. In that case, you will have to explicitly bind to a server.

Modify your /etc/rc.config.d/namesvrs file like this:

YPBIND_OPTIONS="-ypset -s"
YPSET_ADDR="10.11.12.13" # the IP address ofd your NIS server
MAX_NISCHECKS=2
If it ain't broke, I can fix that.