Solved

Telnetd: All network ports in use

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now