Solved

Telnetd: All network ports in use

Posted on 1997-07-16
3
604 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SIP Trunk provider 20 127
Linux : when to add the entries in /etc/hosts file 22 95
Linux : can't create transaction lock error 1 63
Virtual Firewall to Filter DHCP Traffic? 23 80
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

786 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