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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Note – For security reasons, the use of the -ypset <strong>and</strong> -ypsetme options should belimited to debugging purposes under controlled circumstances. Use of the -ypset<strong>and</strong> -ypsetme options can result in serious security breaches because while thedaemons are running, anyone can alter server bindings causing trouble for others <strong>and</strong>permitting unauthorized access to sensitive data. If you must start ypbind with theseoptions, once you have fixed the problem you should kill ypbind <strong>and</strong> restart it againwithout those options.ypbind CrashesIf ypbind crashes almost immediately each time it is started, look for a problem insome other part of the system. Check for the presence of the rpcbind daemon bytyping the following.% ps -e | grep rpcbindIf rpcbind is not present or does not stay up or behaves strangely, consult your RPCdocumentation.You might be able to communicate with rpcbind on the problematic client from amachine operating normally. From the functioning machine, type the following.% rpcinfo clientIf rpcbind on the problematic machine is fine, rpcinfo produces the followingoutput.program version netid address service owner...100007 2 udp 0.0.0.0.2.219 ypbind superuser100007 1 udp 0.0.0.0.2.219 ypbind superuser100007 1 tcp 0.0.0.0.2.220 ypbind superuser100007 2 tcp 0.0.0.0.128.4 ypbind superuser100007 2 ticotsord \000\000\020H ypbind superuser100007 2 ticots \000\000\020K ypbind superuser...Your machine will have different addresses. If the addresses are not displayed,ypbind has been unable to register its services. Reboot the machine <strong>and</strong> run rpcinfoagain. If the ypbind processes are there <strong>and</strong> they change each time you try to restartthe <strong>NIS</strong> service, reboot the system, even if the rpcbind daemon is running.<strong>NIS</strong> Problems Affecting Many ClientsIf only one or two clients are experiencing symptoms that indicate <strong>NIS</strong> bindingdifficulty, the problems probably are on those clients. See “<strong>NIS</strong> Problems Affecting OneClient” on page 114. If many <strong>NIS</strong> clients are failing to bind properly, the problemprobably exists on one or more of the <strong>NIS</strong> servers.Chapter 7 • <strong>NIS</strong> Troubleshooting 117

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

Saved successfully!

Ooh no, something went wrong!