SUMMARY: /tcp: unknown service

From: Russ Bebb (
Date: Tue Aug 29 1995 - 03:35:40 CDT

Sun Mgrs,

Thanks to all who responded to the query at the end of this message.

I mis-understood the meaning of the
                services: nisplus [NOTFOUND=return] files
"NOTFOUND=return". I thought that if the requested service was not found in
"nisplus" that "files" would be checked. Apparently, only if "nisplus" is not
found, is "files" checked.

I populated the "nisplus" server's services table and the services now work ok.

I don't understand why my Solaris 2.3 boxes worked before and my Solaris 2.4 box

Thanks again, Russ

----- Begin Included Message -----

I've just loaded Solaris 2.4, Hardware 3/95 on a SPARCstation 20 and I've worked
for several days on the following problem.

An "ftp" yields an "ftp: ftp/tcp: unknown service" while a similar
command from another workstation, running Solaris 2.3, works fine.

I have removed the blank lines from /etc/services and checked /etc/inetd.conf
for blank lines. I've installed the patches included with the install cdrom and
updated these and added the "recommended" patches from SunSolve Patches cdrom,
version 2.6.2 dated June 1995.

The /etc/nsswitch.conf entry is

        services: nisplus [NOTFOUND=return] files

and the /etc/netconfig is

        tcp tpi_cots_ord v inet tcp /dev/tcp -

Also, an "rsh sr0 date" yields an "rsh: shell/tcp: unknown service" while
"rsh sr0" connects to sr0.

I have a number of workstations running Solaris 2.3 with no such problems.

What am I missing?

I will summarize.

----- End Included Message -----

q;-) Russ Bebb     <>     (609) 452-0130 (609) 452-8301 fax
q;-)    Raytheon Engineers & Constructors, Inc.
q;-)                                     Building 8A, B-Site
q;-)    ('<   P.O. Box 3148              Forrestal Campus, Princeton University
q;-)   ,',)   Princeton NJ 08543         Princeton NJ 08540
q;-)  ''<<
q;-)     ""

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:32 CDT