8 Sun StorEdge Availability Suite 3.2 Software Troubleshooting Guide • December 2003
Checking the /etc/nsswitch.conf File
If entries in the /etc/nsswitch.conf are not configured correctly, you might
encounter these problems:
■ If the hosts: entry is incorrect, volume sets not resume after a reboot.
■ If the services: entry is incorrect, the rdc service might not activate and no
data is replicated.
Note – The services port number must be the same between all interconnected
remote mirror host systems.
When the hosts: and services: entries are included in the
/etc/nsswitch.conf file, ensure that files is placed before nis, nisplus,
ldap, dns, or any other service the machine is using. For example, for systems using
the NIS naming service, the file must include:
If you need to edit the /etc/nsswitch.conf(4) file, use a text editor.
● After editing the file, shut down and restart your machine.
Checking That the rdc Service Is Running
When the remote mirror software loads, it adds an entry into the /etc/services
file for the rdc service. Search for an entry that looks like this:
Use the rpcinfo and netstat commands to check the service:
■ rpcinfo
hosts: files nis
services: files nis
# /etc/shutdown -y -g 0 -i 6
# grep rdc /etc/services
rdc 121/tcp # SNDR server daemon
# rpcinfo -T tcp hostname 100143
program 100143 version 6 ready and waiting