Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Telnetd: All network ports in use

Posted on 1997-07-16
3
Medium Priority
?
668 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 400 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Loops Section Overview
Suggested Courses

810 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