Subject: Re: linux emulation: Cannot get "tcp" protocol entry.
To: None <email@example.com>
From: Jan Schaumann <firstname.lastname@example.org>
Date: 02/10/2005 16:25:14
Content-Type: text/plain; charset=us-ascii
Jan Schaumann <email@example.com> wrote:
> I have an application (Mathematica) that seems to be unable to connect
> to a remote host. When it starts up, it should try to contact a network
> license server, but it fails with the error
> Cannot get "tcp" protocol entry.
Gack. I thought I had stared at the kdump long enough, but apparently a
couple of minutes off and a new fresh look helped:
The program tried to use the NIS map protocols.byname from the ypserver.
That map was empty, though, so it failed. Once I pushed the protocols
map from the nis server, it worked.
Confused as to why nsswitch.conf wasn't consulted, I find that my
/etc/nsswitch.conf had no entry for protocols at all. Once I added the
entry to tell it to just use files, everything's peachy (and I don't
need to push protocols.byname from NIS).
"Drink up. The world's about to end."
"This must be Thursday. I never could get the hang of Thursdays."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
-----END PGP SIGNATURE-----