This chapter contains a diagnostic map to help you solve problems that might occur when you use the network and network services software. Use this chapter together with the appropriate Digital documentation to solve as many problems as possible at your level.
Network and network service problems can occur for a number of reasons. The diagnostic map in this chapter should help you isolate the problem. The following figure explains how to use the diagnostic map:
After you isolate the problem, the map refers you to other chapters for instructions on using the various problem solving tools and utilities. The map also refers you to other manuals for more complete diagnostic information for particular devices and software products.
You could experience problems that are not documented in this manual when you use base system network and network services software with other layered products. Each layered product has its own manual or set of manuals, which might describe other solutions not provided here.
Before you start problem solving, ensure that the communications hardware is ready for use. Verify the following:
Also check the product release notes for up-to-date information on known problems.
Table 13-1 helps you identify a starting point in the diagnostic map.
If your problem is: | Start here: |
uucp command error | Solving UUCP problems |
Network command error |
Solving SLIP problems,
if using a SLIP connection
Solving PPP problems, if using a PPP connection Solving network problems |
Inaccurate system time and you are using NTP | Solving NTP problems |
Getting host name information |
Solving BIND problems,
if you are using BIND
Solving NIS problems, if you are using NIS |
Accessing files |
Solving NFS client problems,
if you are using NFS
Solving network problems |
Connecting to a host using LAT | Solving LAT problems |
Unknown errors | Solving network problems |
Sending or receiving mail | Solving sendmail problems |
|
Turn on the power to your system. See the system manual for your system's startup procedure and any problem solving information. |
|
If you are running NIS and your system hangs after
the NIS daemons are started and before it mounts remote file
systems, no NIS server is available to respond to the
ypbind
request. If you know there is an NIS server for your
domain, wait until the server responds; the boot procedure will
continue.
If there is a LAT problem, the following message appears:
getty: cannot open "/dev/ttyxx"
See the solutions for solving LAT problems in Section 13.14. If your system is an NFS client and it hangs while mounting a remote file system or directory, complete the following steps:
|
|
Check the
/etc/rc.config
file for the following entry:
NUM_NETCONFIG
If the entry is 0, run the Network Configuration application. See Section 2.3 for more information. |
|
Verify that the network daemon
(inetd)
is running. Enter the following command:
#
ps -e | grep inetd
If no inetd daemon is running, start it, using the following command:
#
/sbin/init.d/inetd start
|
|
If a remote host's network is not reachable, the
following message is displayed:
network is unreachable
Complete the following steps:
|
|
If a remote host is not known, the following message appears:
unknown host
Complete the following steps:
|
|
If a remote host is not reachable, the following message appears:
host is unreachable
Complete the following steps:
|
|
If a file cannot be accessed using the
rcp
or
rsh
commands, the following message appears:
permission denied Complete the following steps:
If you are using NFS, go to Section 13.9. |
Problem still exists? Report your problem to Digital. See Chapter 16. |
If the connection is broken, the following message appears:
connection timed out
Complete the following steps:
|
|
Verify whether the Additional Networking Services subset is
installed. Enter the following command:
#
setld -i | grep OSFINET
The following message should appear:
OSFINETnnn installed Additional Networking Services
If the subset is not installed, install it by using the setld command. See System Administration for more information on installing the subset. |
|
Check the
/etc/rc.config
file for the following entry:
BIND_SERVERTYPE=
If no type is specified (double quotation marks), run the BIND Configuration application. See Section 6.3 for more information. |
|
Verify that the BIND daemon
(named)
is running. Enter the following command:
#
ps -e | grep named
If no named process is running, start the named daemon, using the following command:
#
/sbin/init.d/named start
|
Problem still exists? Report your problem to Digital. See Chapter 16. |
If the
nslookup
command does not return information
for any host or the host specified in the client
nslookup
command, check the
/etc/rc.config
file for the following entry:
BIND_SERVERTYPE=
If the type is: Go to: CLIENT Stop. This system is not a BIND server and cannot provide name resolution to clients. PRIMARY Section 15.3 SECONDARY Section 15.3 SLAVE Section 15.4 CACHE Section 15.8
|
|
Verify whether the Additional Networking subset is installed.
Enter the following command:
#
setld -i | grep OSFINET
The following message should appear:
OSFINETnnn installed Additional Networking Services
If the subset is not installed, install it by using the setld command. See System Administration for more information on installing the subset. |
|
Check the
/etc/rc.config
file for the following entry:
BIND_CONF="YES" If the entry does not exist, run the BIND Configuration application. See Section 6.3 for more information. |
Problem still exists? Report your problem to Digital. See Chapter 16. |
If you attempted to use one of the network commands (for example,
telnet,
rlogin,
and
rsh
commands)
and the remote host is not known, the following message appears:
unknown host Complete the following steps:
|
|
Verify whether the Additional Networking Services subset is
installed. Enter the following command:
#
setld -i | grep OSFINET
The following should appear:
OSFINETnnn installed Additional Networking Services
If the subset is not installed or is corrupt, install it by using the setld command. See System Administration for more information on installing the subset. |
|
Check the
/etc/rc.config
file for the following entry:
NIS_CONF="YES" If the entry does not exist, run the nissetup script. See Section 7.3 for more information. |
|
Verify that the
portmap
daemon is running. Enter the following command:
#
ps -e | grep portmap
If you do not find the portmap daemon, stop and restart NIS, using the following commands:
#
/sbin/init.d/nis stop
If the portmap daemon does not start, reboot the server. |
|
To verify that a
ypserv
process is running, enter the following command:
#
ps -e | grep yp
If no ypserv process is running, stop and start NIS, using the following commands:
#
/sbin/init.d/nis stop
If a ypserv process is running, execute a ypwhich command. Enter the following command:
#
ypwhich
If the ypwhich command does not return an answer, find the process ID (PID) of the portmap process and kill it. Enter the following commands:
#
ps -e | grep portmap
Stop and start NIS by using the following commands:
#
/sbin/init.d/nis stop
|
|
Verify the information in the map. Enter the following command:
#
ypcat map_name
Where map_name is the name of the NIS map. If the information is incorrect, create a new map. Enter the following commands:
#
cd /var/yp
The make command returns the following message: map_name updated If the make command indicates that the database is not updated, complete the following steps:
|
Problem still exists? Report your problem to Digital. See Chapter 16. |
If you suspect that a slave server is not getting NIS
map updates, complete the following steps on the slave server:
|
|
Check the
/etc/rc.config
file for the following entry:
NIS_CONF="YES" If the entry does not exist, run the nissetup script. See Section 7.3 for more information. |
|
Check the
svc.conf
file to be sure
that it has entries for NIS. Use the
/usr/sbin/svcsetup
script to verify this. NIS entries are indicated by the letters "yp."
For the passwd and group databases, the Security Integration Architecture (SIA) controls whether NIS is used. However, in order to use NIS, the following characters must appear as the last line in both databases: +: |
|
Verify that the
portmap
daemon is running. Enter the following command:
#
ps -e | grep portmap
If no portmap daemon is running, stop and restart NIS, using the following commands:
#
/sbin/init.d/nis stop
If the portmap daemon does not start, reboot the client. |
|
Verify that a
ypbind
process is running. Enter the following command:
#
ps -e | grep yp
If no ypbind process is running, stop and start NIS, using the following commands:
#
/sbin/init.d/nis stop
If a ypbind process is running, execute a ypwhich command. Enter the following command:
#
ypwhich
If the ypwhich command does not return an answer, kill the portmap process. Enter the following command:
#
kill -9 portmap_PID
Stop and start NIS, using the following commands:
#
/sbin/init.d/nis stop
|
|
If the
ypwhich
command gives you inconsistent
information when invoked several times in succession, your client system is
changing the server system to which it is bound. This can occur
over time, especially if your system is on a busy network or if the NIS servers
are busy. Once all clients get acceptable response time from the NIS servers,
the system will stabilize.
If the ypwhich command reports that the domain is not bound, your system did not initially bind to a server system. Issue a ypcat command, then reissue the ypwhich command again. |
Problem still exists? Report your problem to Digital. See Chapter 16. |
If an NIS command hangs, the following message appears on the console:
yp: server not responding for domain domainname.
The client cannot communicate with the server. Complete the following steps:
If the previous steps do not solve the problem, complete the following steps:
|
|
Verify whether the NFS subset is installed.
Enter the following command:
#
setld -i | grep OSFNFS
The following message should appear:
OSFNFSnnn installed NFS(tm) Utilities
If the NFS subset is not installed or is corrupt, install it by using the setld command. See System Administration for more information on installing the subset. |
|
Check the
/etc/rc.config
file for the following entry:
NFSSERVING="1" If the entry does not exist, run the NFS Configuration application. Be sure to specify that you will be exporting directories, even if you are going to edit the /etc/exports file manually. See Section 8.3 for more information. Verify that the network software has been configured. See the solution at [Network configured?] in Section 13.3. |
|
Verify that the
portmap
daemon is running. Enter the following command:
#
ps -e | grep portmap
If the portmap daemon is not running, stop and restart NFS, using the following commands:
#
/sbin/init.d/nfs stop
If the portmap daemon does not start, reboot the server. |
|
Verify that the NFS daemons are registered with the
portmap
daemon. Enter the following commands:
#
rpcinfo -u server_name mount
If neither is registered, start NFS by using the following command:
#
/sbin/init.d/nfs start
|
|
To verify that the NFS daemons are running, complete the following steps:
|
Problem still exists? Report your problem to Digital. See Chapter 16. |
To verify that the files are being exported, complete
the following steps:
|
|
Verify whether the NFS subset is installed.
Enter the following command:
#
setld -i | grep OSFNFS
The following message should appear:
OSFNFSnnn installed NFS(tm) Utilities
If the NFS subset is not installed or is corrupt, install it by using the setld command. See System Administration for more information on installing the subset. |
|
Check the
/etc/rc.config
file for the following entry:
NFS_CONFIGURED="1" If the entry does not exist, run the NFS Configuration application. See Section 8.3 for more information. Verify that the network software has been configured. See the solution for [Network configured?] in Section 13.3. |
|
Verify that the
portmap
daemon is running. Enter the following command:
#
ps -e | grep portmap
If you do not find the portmap daemon, stop and restart NFS, using the following commands:
#
/sbin/init.d/nfs stop
If the portmap daemon does not start, reboot the client. |
|
If the client cannot mount a remote file system or
directory, complete the following steps:
|
Problem still exists? Report your problem to Digital. See Chapter 16. |
If application programs that perform file-related
tasks do not complete their tasks or take a long time in doing so,
complete the following steps:
|
|
Verify whether the
uucp
subset is installed. Enter the following command:
#
setld -i | grep OSFUUCP
The following message should appear:
OSFUUCPnnn installed UNIX(tm)-to-UNIX(tm)Copy
If the uucp subset is not installed, install it by using the setld command. See System Administration for more information on installing the subset. |
|
Verify whether the Basic Networking Services subset
(containing the
tip
and
cu
utilities) is installed. Enter the following command:
#
setld -i | grep OSFCLINET
The following message should appear:
OSFCLINETnnn installed Basic Networking Services
If the Basic Networking Services subset is not installed, install it by using the setld command. See System Administration for more information on installing the subset. |
|
Check for entries in the Permissions, Devices, and Systems files in the /usr/lib/uucp directory. If there are no entries, run the uucpsetup script. See Section 9.3 for more information. |
|
Configure the network hardware as follows:
|
|
If you cannot dial up the remote system, check the following:
|
|
Run the uucp tests to test the connection to the remote system. See Section 14.5 and Section 14.6. |
Problem still exists? Report your problem to Digital. See Chapter 16. |
If the
tip
command does not execute successfully, complete the following steps:
|
|
Check the
/etc/rc.config
file for the following entry:
XNTPD_CONF="YES" If the entry does not exist, run the ntpsetup script. See Section 10.3 for more information. |
|
Verify that a
xntpd
process is running. Enter the following command:
#
ps -e | grep xntpd
If no xntpd process is running, start NTP by using the following command:
#
/sbin/init.d/xntpd start
|
|
If the
ntpq
or
xntpdc
command cannot find the server host, the following message appears:
***Can't find host hostname The hostname is not in the /etc/hosts file, the BIND hosts database, or the NIS hosts database. Edit the /etc/hosts file and add an entry for the server host. |
|
If you run one of the monitor programs and in the output from the
peers
command the reach column contains zeros (0s), complete the following steps:
If the xntpdc hostname command does not display any information, check whether the hostname server is running NTP." |
Problem still exists? Report your problem to Digital. See Chapter 16. |
If the
ntpq
or
xntpdc
request times out, the following message appears:
hostname: timed out, nothing received Complete the following steps:
If you still cannot solve the problem, complete the following steps:
|
|
Verify that the correct number of Serial Line Internet Protocol
(SLIP) pseudodevices are supported in the kernel by using the
netstat -in
command. If SLIP is supported, output similar to
the following appears for each interface:
sl0* 296 <Link> 0 0 0 0 0
The sl prefix indicates that SLIP is supported on the system. In this example there is one SLIP interface. If you need additional SLIP interfaces, specify them by adding the nslip=x atribute under the net: subsystem in the /etc/sysconfigtab file. See System Administration for information on adding more SLIP interfaces. On systems with 24 megabytes of memory, SLIP is not configured into the kernel. To add SLIP into the kernel, edit the system configuration file (/usr/sys/confhostname ) and add the following entry: options SL See System Administration for more information. |
|
Configure the network hardware as follows:
|
|
If a remote system cannot dial in to your system successfully,
complete the following steps:
|
|
If you cannot dial out to the remote system, complete the following
steps:
|
|
If you cannot communicate with the remote host and none of the
debug messages shows an error, complete the following steps:
|
|
If you can communicate with the remote host but not the the network
connected the the remote host, complete the following steps:
|
Problem still exists? Report your problem to Digital. See Chapter 16. |
If the
startslip
command does not complete successfully, complete the following steps:
|
|
Verify that the Point-to-Point Protocol (PPP)
is supported in the kernel by using the
netstat -i
command. If PPP is supported, output similar to the following appears:
ppp0* 296 <Link> 0 0 0 0 0
The ppp prefix indicates that PPP is supported on the system. In this example there are two PPP pseudodevices. If PPP is not supported, add PPP into the /etc/sysconfigtab file. See System Administration for information on adding PPP into the sysconfigtab file. |
|
Verify that the PPP interface is configured with the
local and remote IP addresses and a network mask. Enter the following command:
#
ifconfig pppx
The x variable is the interface number (0, 1, 2, ...). If the PPP interface is configured, output similar to the following appears: ppp0: flags=10<POINTOPOINT> |
|
Configure the network hardware as follows:
|
|
If you are logging messages to the console and the link comes up
successfully, the following messages appear on the console:
Local IP address: xx.xx.xx.xx If the link does not come up, check the following:
|
Problem still exists? Report your problem to Digital. See Chapter 16. |
If network applications do not work successfully, this might
indicate an IP-address assignment problem or a routing problem. Do the
following:
|
|
Verify whether the Local Area Transport subset is
installed. Enter the following command:
#
setld -i | grep OSFLAT
The following message should appear:
OSFLATnnn installed Local Area Transport (LAT)
If the subset is not installed, install it by using the setld command. See System Administration for information on installing the subset. |
|
Verify whether the Local Area Transport is configured in the
kernel. Enter the following command:
#
sysconfig -q lat
If nothing is displayed, LAT is not configured in the kernel. Reconfigure the kernel with the LAT option. See System Administration for information on reconfiguring the kernel. |
|
Check the
/etc/rc.config
file for the following entry:
LAT_SETUP="1" If the entry does not exist, run the latsetup utility. See Section 5.3 for information. |
|
If
latsetup
fails while creating new LAT ttys, check
that
/usr/sbin
is included in the search path. Enter the
following command:
#
echo $PATH
If it is not, include it in your PATH environment variable. Then, create new LAT ttys using latsetup. |
|
Verify whether LAT has been started. Enter the following command:
#
latcp -d
If LAT has been started, the following line appears: LAT Protocol is active If LAT has not been started, start it. Enter the following command:
#
latcp -s
|
|
If LAT starts up and messages appear continually on the
system console, check the following messages and perform the required steps:
Message 1
getty: cannot open "/dev/lat/xx". errno: 2
This means a LAT terminal device file (tty) does not exist and the /etc/inittab file contains an entry for this file. The latsetup utility will also report that no LAT entries are available. Do the following:
Message 2
getty: cannot open "/dev/lat/xx". errno: 19
This means the kernel was not configured with the LAT option and the /etc/inittab file contains at least one LAT getty entry. Do either of the following:
Message 3
INIT: Command is respawning too rapidly.
The following meanings are possible:
|
|
If the user cannot connect to or display a service from a terminal
server via LAT, complete the following steps on the Digital UNIX system:
|
|
If problems occur when using an optional service, complete the
following steps:
|
|
If the user cannot connect to a host using LAT, the following
messages appear:
Connection to node-name not established.
The /etc/inittab file does not contain a sufficient number of getty entries. Create more LAT terminal devices (ttys) and add their corresponding entries into the /etc/inittab file by using the latsetup command. Then, restart LAT to advertise the available services. Enter the following command:
#
latcp -s
See Section 5.3 for information. |
|
If a host-initiated connection fails, check that
the port, host, and service names are specified correctly.
Enter the following command:
#
latcp -d -P -L
If these names are not specified correctly, delete the application ports with the incorrect name. Enter the following command:
#
latcp -D -pport_name
Then, add the application ports, using correct spelling. Enter either of the following commands:
#
latcp -A -plocal_port -Hnode -Rrem_port
See latcp(8) for information.
|
|
If you print a file to a printer attached to a LAT application
port, the printer is online, and no printing occurs, check the status of the
print queue. Enter the following command:
#
lpc status
The following line might appear:
waiting for printer to become ready (offline ?
If this line appears, verify whether LAT has been started. Enter the following command:
#
latcp -d
If LAT has not been started, start it. Enter the following command:
#
latcp -s
|
|
If problems are encountered with LAT/Telnet gateway, check the
syslogd
daemon messages file. Use the error message
to eliminate the error. See
Section 14.8
for more information on viewing the
daemon.log
file.
The lattelnet utility uses the syslog message priority of LOG_INFO. For example, if you edit a LAT terminal entry in the /etc/inittab file, reassign it to lattelnet while a getty process is still active for the terminal, and a user tries to connect to lattelnet, the connection will fail. The following error message appears in the daemon.log file: No such file or directory Terminate the getty process for the terminal port. |
Problem still exists? Report your problem to Digital. See Chapter 16. |
If the LAT connection terminates abnormally, complete the following
steps:
|
|
Check the
/etc/rc.config
file for the following entry:
MAIL_CONF="YES" If the entry does not exist, run the Mail Configuration application. See Section 11.3 for more information. |
|
Verify whether sendmail has been started. Enter the following command:
#
ps -e | grep sendmail
If sendmail is not running, start it, using the following command:
#
sendmail
|
|
If a user cannot send mail to another user, complete the following steps:
|
|
If you sent a mail message and the recipient did not receive it,
complete the following steps:
|
Problem still exists? Report your problem to Digital. See Chapter 16. |
If sendmail is not working correctly, complete the following steps:
See Appendix G for a list of sendmail error messages. |