Installing and Administering Internet Services
Chapter 12 477
Troubleshooting Internet Services
Troubleshooting the Internet Services
Table 12-5 lists the entries that are required in the
/etc/services file.
If the file entries or permissions are not correct,
continue with 1E.
1D1. Issue ps command to check for internet daemon. To see
if the inetd daemon is active on the server node, log in
to the server node and execute the following:
ps -ef | grep inetd
1D2. The ps command lists only the grep process for inetd?
If the grep message is the only response, inetd is not
active. If this is true, continue with 1D3.
1D3. Start internet daemon. To start inetd, execute the
following as superuser:
/usr/sbin/inetd
or, if you want to start connection logging,
/usr/sbin/inetd -l
The /sbin/init.d/inetd shell script usually starts
Table 12-5 Entries Required in /etc/services
Service Requested /etc/services Entry
ftp ftp 21/tcp
telnet telnet 23/tcp
sendmail/SMTP smtp 25/tcp
rexec library exec 512/tcp
rlogin login 513/tcp
remsh and rcp shell 514/tcp
rwho and ruptime who 513/tcp
tftp tftp 69/udp
bootpd bootps 67/udp and bootpc 68/udp
fingerd finger 79/tcp