Solved

Telnetd: All network ports in use

Posted on 1997-07-16
3
647 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

724 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