Solaris Common Messages and Troubleshooting Guide

cannot establish nfs service over /dev/tcp: transport setup problem


During boot strap of a SunOS 2.5.2 system, nfsd(1M) displays the following:

netdir_getbyname (transport tcp, host/serv \1/nfs), No such file or directory
Cannot establish NFS service over /dev/tcp: transport setup problem.
The problem: The NIS maps have been populated from older systems, and the nfs/tcp entry of the services map is missing. (The user is running NIS+, but this problem can also occur with NIS.)


Either put a files entry before the nis or nisplus in the services line of the /etc/nsswitch.conf file, or, better, merge the changes to the services file into the services map.

It is a good idea to always merge in the new entries to /etc/services, /etc/inet/protocols, and /etc/rpc into their respective maps whenever a new OS is installed.