Sorry for this late SUMMARY.
The orignial question
======================
>% telnet localhost
>Trying 127.0.0.1 ...
>Connected to localhost
>Escape character is '^]'.
>telnetd: All network ports in use.
>Connection closed by foreign host.
The reson why and solution
===========================
o maybe the ptys are all in used indeed.
==> change the kernel config file
change the following line
>pseudo-device pty # pseudo-tty's, also needed for SunView
to things like
>pseudo-device pty128 # pseudo-tty's, also needed for SunView
( default is 48 )
then re-make the kernel,
and make pseduo devices for ptys in /dev if you want to use
more than 64 ptys ( the default for /dev )
o maybe some process remain occupies some ptys though "ps -aux"
doesn't show their control terminal, use "fuser", or get utility like "ofiles"
( use "archie" to find it ) to check the ptys that can't be allocated by
in.telnetd
Acknowledgement
=================
fetrow@biostat.washington.edu
halvard@trd.sdata.no
Piete.Brooks@cl.cam.ac.uk
cal@soac.bellcore.com
hasley@andy.bgsu.edu
era@niwot.scd.ucar.EDU
mcgrew@cs.rutgers.edu
trinkle@cs.purdue.edu
ft@heart.tv.tek.com
stern@sunne.East.Sun.COM
emercader@dcc.uchile.cl
mp@allegra.att.com
jim@pi-chan.ucsb.edu
wallen@cogsci.UCSD.EDU
ups!kevin@fourx.Aus.Sun.COM
eap@ora.com
Su-Bin
-------------
yesman@cs.nthu.edu.tw
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:54 CDT