Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Telnet service not running

  1. #1
    Join Date
    May 2010
    Beans
    153

    Telnet service not running

    I have telnet service intalled(apt-get install telnetd), but when I type telnet, I'm getting the following error:

    bash: /usr/bin/telnet: No such file or directory

    please any one help me...

  2. #2
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: Telnet service not running

    You also need to install a Telnet client, but why would you want to do that?
    「明後日の夕方には帰ってるからね。」


  3. #3
    Join Date
    May 2010
    Beans
    153

    Re: Telnet service not running

    I'm using zabbix monitoring tool. It has email notification configured with postfix to notify to my gmail account.
    The same settings working on my local machines and I could see mails from zabbix but it is not working on real servers.

    In a forum it is said something like we can check if we could connect or if smtp working or not with the command "telnet localhost 25". This command is working fine on local machines and if I type only telnet, I could see the telnet prompt(telnet>). If I use this command on servers I'm getting above posted error.

    Thank you!
    Last edited by Thyagaraj; August 28th, 2010 at 06:32 AM.

  4. #4
    Join Date
    Apr 2008
    Location
    Far, far away
    Beans
    2,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Telnet service not running

    To do the checks you want you need the telnet client not the server.
    So you should install telnet not telnetd.

    Telnet is for connecting to something.

    Telnetd is a daemon that listens for connections, which is not what you want.

    sudo apt-get remove telnetd
    sudo apt-get install telnet

  5. #5
    Join Date
    May 2010
    Beans
    153

    Re: Telnet service not running

    I removed telnetd and installed telnet, but no change

  6. #6
    Join Date
    Apr 2008
    Location
    Far, far away
    Beans
    2,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Telnet service not running

    No change, how? Indicate what you typed and what message you got back.
    Try whereis telnet it should indicate where the program is installed. Maybe it is not in /usr/bin.

  7. #7
    Join Date
    May 2010
    Beans
    153

    Re: Telnet service not running

    It is under /usr/bin directory. I typed telnet. I'm getting the same error like this below

    bash: /usr/bin/telnet: No such file or directory

  8. #8
    Join Date
    Apr 2008
    Location
    Far, far away
    Beans
    2,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Telnet service not running

    That message is telling you it isn't under /usr/bin - so which is it?
    It's either there or it isn't there.

    What do you get back from ls -lsa /usr/bin/telnet
    And then what from echo $PATH

  9. #9
    Join Date
    May 2010
    Beans
    153

    Re: Telnet service not running

    The output of ls -lsa /usr/bin/telnet is:

    88 -rwxr-xr-x 1 root root 84096 2010-08-27 07:02 /usr/bin/telnet
    but this is differenet on my local machine(with link to /etc/alternatives/telnet)

    The output of echo $PATH is:

    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin

  10. #10
    Join Date
    Apr 2008
    Location
    Far, far away
    Beans
    2,148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Telnet service not running

    That makes no sense then. The program is there and has correct permissions and the directory is in the path. It should work.

    On my machine with 10.04 it has the link to /etc/alternatives, which in turn links back to /usr/bin/telnet.netkit. I guess this is some recent change but it works fine for me. I don't think that is wrong but I don't know when it was changed. I very rarely ever use telnet so wouldn't have noticed.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •