Solved

Telnetd: All network ports in use

Posted on 1997-07-16
3
615 Views
Last Modified: 2009-07-29
When I try to telnet into a Linux box I'm working on, I get the
message "telnetd: All network ports in use". Everything seems
to be working aside from that (ftp, finger, etc), except
rlogin gives me a "out of ptys" error.
0
Comment
Question by:pablo071697
3 Comments
 
LVL 1

Expert Comment

by:mgrcnk
ID: 1585570
I can help you sort of.  I had this problem when I managed a Linux box for a high school.  They had a lot of students trying to connect and would get similar errors.  The workaround I did was to create more ttys for them to log in on.  To do this, you need to run the /dev/MAKEDEV script.  I don't have access to this right now, so I can't give you the syntax, but if you make more ttys your problem should go away.

To get the syntax, look at te script and there may even be a man page.  I hope this helps enough!

chris
0
 

Author Comment

by:pablo071697
ID: 1585571
Ihave plenty of pttys, and I am the only one telnetting to the
box--so it is not a matter of having some, but not enough.
0
 
LVL 1

Accepted Solution

by:
MikeCrist earned 200 total points
ID: 1585572
I had this same problem when I deleted all of ttyp?? and pty??.  So this one should be a piece of cake.  All you have to do is recreate the devices.  In RedHat its simple, just reinstall the dev package.  If not, you have to make them by hand.

pty?? creation syntax:
mknod ptya0 c 2 176
mknod ptya1 c 2 177
and so on...

ttyp?? creation syntax:
mknod ttyp0 c 3 0
mknod ttyp1 c 3 1

I just reinstalled the rpm.  Besides, deleting unused devs didn't free up much space anyways.

Mike Crist
mike@mwaz.com
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exploits in Kali Linux 4 384
linux, squid, exchange 14 175
is my large folder zipped corrupted 4 78
looking for a CENTOS ISO to download with x window installed 2 51
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question