Ad Widget

Collapse

Problem tlenet connection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mastraze
    Member
    • Jul 2011
    • 30

    #1

    Problem tlenet connection

    Hi,

    I have configured zabbix server in Ubuntu machine 11.04 maverik and it works well localhost. I tried to remote another host to monitor it. The connection between the two machines works well. In addition , I have installed in the second machine the zabbix_agent as mentionned in zabbix guide.
    After addinf this monitored machine in zabbix server, there is no result in latest data section in the frontend server. The problem is that the telnet session is failed when trying to reach the server or the agent. That gives:

    Trying 192.168.22.145...
    Connected to 192.168.22.145.
    Escape character is '^]'.
    Connection closed by foreign host.

    I have configured the /etc/hosts.allow in both machine.
    telnet-server is installed in both machines.
    /etc/inetd.conf is configured by commenting out the line as seen:
    #telnet stream tcp nowait telnetd.telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd

    But there is something wrong and i dont figure out which is :
    telnet is well installed but probably not activated.
    By trying this:

    telnet localhost
    -->
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    Ubuntu 11.04
    ubuntu login:
    Password:

    --> that means that telnet is well configured and installed.
    By the other way when taping :

    /etc/init.d/inetd restart

    -->-bash: /etc/init.d/inetd: No such file or directory

    that means that inetd dosen't exist even the telnet is installed.

    In other way: we have

    netstat -a | grep telnet
    that gives
    tcp 0 0 *:telnet *:* LISTEN
    tcp 0 0 localhost:telnet localhost:56990 ESTABLISHED
    tcp 0 0 localhost:56990 localhost:telnet ESTABLISHED

    and by telning the remote host:
    telnet 192.168.22.145 10050 that gives

    Trying 192.168.22.145...
    Connected to 192.168.22.145.
    Escape character is '^]'.
    Connection closed by foreign host.

    even the service figured that not working
    >service telnet on
    telnet: unrecognized service


    Any idea...thanks in advance
Working...