I was wondering why getprotoent() fails. I am trying to figure this out because trying to get ftp to work, gives the message "ftp: ftp/tcp: unknown service"

I believe that this is coming from getprotobyname ("tcp").

both /etc/services and /etc/protocols exist and are readable:


It fails because it can't find the following files:

/lib/libnss_compat.so.2
/lib/libnss_db.so.2
/lib/libnss_dns.so.2
/lib/libnss_files.so.2
/lib/libnss_hesiod.so.2
/lib/libnss_nis.so.2
/lib/libnss_nisplus.so.2
/lib/libresolv.so.2

After those files are in place, it should work.

Kim