?
Solved

Unable to connect thru telnet

Posted on 2002-06-12
9
Medium Priority
?
281 Views
Last Modified: 2013-12-16
                   netstat -na | grep :23 does not give any output.
                    That means my xinetd is not listening ?
                    How do I make it listen ?

                    I have installed telnet
                    And my /etc/xinetd.d/telnet file looks like

                    service telnet
                    {
                           flags           = REUSE
                           socket_type     = stream
                           wait            = no
                           user            = root
                           server          = /usr/sbin/in.telnetd
                           log_on_failure  += USERID
                           disable         = no
                    }

Also note,  ps -ef | grep xinetd  gives nothing.
Does it mean xinet is not running ?
I did do xinet restart and it says xinetd started succesfully.
0
Comment
Question by:chazhs
[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
9 Comments
 
LVL 4

Expert Comment

by:MFCRich
ID: 7075363
Can you telnet to the machine from itself?

>> telnet localhost

If you can then it may be that you have some firewall rules in place on the machine (or its gateway). It could also be that you have some access restrictions in '/etc/xinet.conf'
0
 

Author Comment

by:chazhs
ID: 7076649
telnet localhost also  gives connection refused error. (same error as above)
0
 
LVL 3

Expert Comment

by:cincin77
ID: 7077487
have you installed telnet server which is not installed by default?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:chazhs
ID: 7078800
Yes, I did. rpm -q telnet-server says telnet installed.Thanks!
0
 
LVL 3

Expert Comment

by:cincin77
ID: 7080430
the script that deals with xinetd should be under /etc/init.d

go to that directory and issue;
./xinetd status
if it says that it does not work, issue
./xinetd start

hope this helps...
0
 
LVL 1

Accepted Solution

by:
bryanjones earned 200 total points
ID: 7106489
The reason for unable to telnet - is that telnet is turned off - what you need to do is to run the following command /sbin/chkconfig telnet on - this will turn on telnet - to see what else you want on or off you run /sbin/chkconfig --list this will show all the run levels and what is turned on/off per run level.
0
 

Author Comment

by:chazhs
ID: 7109337
Thankyou Sir! That was the problem.
Telnet was off.
Turned it on now, and everything looks great :)
Thanks for yours and everyones help!!!
0
 

Author Comment

by:chazhs
ID: 7109338
Thankyou Sir! That was the problem.
Telnet was off.
Turned it on now, and everything looks great :)
Thanks for yours and everyones help!!!
0
 

Author Comment

by:chazhs
ID: 7109340
Thankyou Sir! That was the problem.
Telnet was off.
Turned it on now, and everything looks great :)
Thanks for yours and everyones help!!!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

649 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