Solved

Unable to connect thru telnet

Posted on 2002-06-12
9
268 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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 50 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

730 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