Inetd doesn't find all it's services at boot time
Dan Ehrlich
ehrlich at shire.cs.psu.edu
Fri Dec 30 17:17:57 AEST 1988
Machine Type: Sun 4/260S O/S Version: SunOS 4.0
Organization: Computer Science Department, The Pennsylvania State University
333 Whitmore Laboratory, University Park, PA 16802
Description:
Many times when the system is rebooted it seems that inetd can not find
all of the required entries from the services YP map. This is in spite of
the fact that these entries are present in both /etc/services and the YP
map. We often see entries like the following in the system log:
Dec 3 12:19:11 shire inetd[209]: login/tcp: unknown service
Dec 5 08:12:29 shire inetd[209]: login/tcp: unknown service
Dec 9 08:14:33 shire inetd[209]: login/tcp: unknown service
Dec 9 09:54:11 shire inetd[209]: login/tcp: unknown service
Dec 19 07:47:42 shire inetd[207]: shell/tcp: unknown service
Dec 19 08:57:45 shire inetd[1335]: daytime/tcp: unknown service
This causes whatever service was not found to be unavailable. Below are
the entries in the YP services map and the file /etc/services.
% ypcat -k services | egrep 'login|shell|daytime'
13/udp daytime 13/udp
513/tcp login 513/tcp
514/tcp shell 514/tcp cmd # no passwords used
13/tcp daytime 13/tcp
% egrep 'login|shell|daytime' /etc/services
daytime 13/udp
daytime 13/tcp
login 513/tcp
shell 514/tcp cmd # no passwords used
Repeat-By:
As the cause is unknown and it doesn't happen every time a procedure by
which to repeat this failure is not known.
Fix:
After the system has finished rebooting, kill off and restart inetd by
hand. Not a fix, but an unreasonable workaround.
Dan Ehrlich <ehrlich at shire.cs.psu.edu>
The Pennsylvania State University
Department of Computer Science
University Park, PA 16802
More information about the Comp.sys.sun
mailing list