From NIS client, you can list the NIS servers with ypwhich command. Sometimes ypwhich command is not working. Below is tips to work with this issue.
- From NIS client, kill ypwhich process.# pkill ypwhich
- Login as root user on NIS server and check if ypbind and ypserv daemon is running.root@solaris-sunray # pgrep -fl yp438 /usr/lib/netsvc/yp/rpc.yppasswdd -D /var/yp -m132 /usr/lib/crypto/kcfd443 /usr/lib/netsvc/yp/ypserv -d433 /usr/lib/netsvc/yp/rpc.ypupdated435 /usr/lib/netsvc/yp/ypxfrd474 /usr/lib/netsvc/yp/ypbind
- If ypbind or ypserv process is not running on step 2, you must stop and start NIS service.
root@solaris-sunray # svcadm enable network/nis/server:default
- If ypbind or ypserv process is running on step 2, ypserv process has probably hung. You must kill ypserv process and restart NIS service.root@solaris-sunray # pkill ypservroot@solaris-sunray # svcadm disable network/nis/server:default
root@solaris-sunray # svcadm enable network/nis/server:default
No comments:
Post a Comment