13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

pc.yppasswdd Considers a Non-Restricted Shell ThatBegins With r to be Restricted1. Create /etc/default/yppasswdd that contains a special string:"check_restricted_shell_name=1".2. If the "check_restricted_shell_name=1" string is commented out, the ’r’check will no occur.Network or Servers Are Overloaded<strong>NIS</strong> can hang if the network or <strong>NIS</strong> servers are so overloaded that ypserv cannot geta response back to the client ypbind process within the time-out period.Under these circumstances, every client on the network experiences the same orsimilar problems. In most cases, the condition is temporary. The messages usually goaway when the <strong>NIS</strong> server reboots <strong>and</strong> restarts ypserv, or when the load on the <strong>NIS</strong>servers or network itself decreases.Server MalfunctionMake sure the servers are up <strong>and</strong> running. If you are not physically near the servers,use the ping comm<strong>and</strong>.<strong>NIS</strong> Daemons Not RunningIf the servers are up <strong>and</strong> running, try to find a client machine behaving normally, <strong>and</strong>run the ypwhich comm<strong>and</strong>. If ypwhich does not respond, kill it. Then log in as rooton the <strong>NIS</strong> server <strong>and</strong> check if the <strong>NIS</strong> process is running by entering the following.# ps -e | grep ypNote – Do not use the -f option with ps because this option attempts to translate userIDs to names, which causes more naming service lookups that might not succeed.If neither the <strong>NIS</strong> server (ypserv) nor the <strong>NIS</strong> client (ypbind) daemons are running,restart them by typing one of the following.# svcadm restart network/nis/serveror# /usr/lib/netsvc/yp/ypstop# /usr/lib/netsvc/yp/ypstartIf both the ypserv <strong>and</strong> ypbind processes are running on the <strong>NIS</strong> server, then runypwhich. Ifypwhich does not respond, ypserv has probably hung <strong>and</strong> should berestarted. While logged in as root on the server, restart the <strong>NIS</strong> service by typing oneof the following.118 System Administration Guide: <strong>Naming</strong> <strong>and</strong> <strong>Directory</strong> <strong>Services</strong> (<strong>DNS</strong>, <strong>NIS</strong>, <strong>and</strong> <strong>LDAP</strong>) • January 2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!