Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2000 10:38:09 +1100 (EST)
From:      Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.Gov.AU>
To:        Questions@FreeBSD.ORG
Subject:   telnetd: All network ports in use. After new 4.1-R kernel; Ok with GENERIC.
Message-ID:  <Pine.BSF.4.21.0009261020180.533-100000@stan>

next in thread | raw e-mail | index | archive | help
Dear Ladies and Gentlmen,

I am writing to ask your help with this message

Connected to blah.
Escape character is '^]'.
telnetd: All network ports in use.
Connection closed by foreign host.

This occurred after generating and booting a custom 4.1-RELEASE kernel,
and with changes to /etc/rc.conf like sendmail_enable="NO".

These observations may be relevant. The problem machine is

. not accepting *any* telnet connections (but is
accepting ftp connections), so the ptys can't be exhausted by other
sessions. 

. has not had ptys added or deleted in /dev

. has not, to the best of my knowledge, had the pty pseuod-device entry
in the kernel configuration file changed from as it appears in GENERIC.

It remains as it is in /usr/src/sys/i386/conf/GENERIC ie

  pseudo-device pty             # Pseudo-ttys (telnet etc)

Why isn't there a number after pty ?

It's possible, however, that I commmented it out mistakenly when trying
to do so for the tun or md pseudo-devices.

My reasons for asking include

1 There is nothing in the FAQ about this
2 Frequent advice in "Questions" to rebuild the kernel with more
ptys. If I haven't touched ptys, and perhaps others are the same, then
this advice is useless.
3 This is the second time this has happened to me with a 4.x kernel
(never in 3.x or 2.1.x and 2.2.x). I don't think anything's wrong with
the 4.x kernel but this may be a common mistake that others can avoid. 

Thank you,

Yours sincerely.

S Hopcroft
Network Specialist
IP Australia

+61 2 6283 3189
+61 2 6281 1353 FAX




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009261020180.533-100000>