1825805 Members
2509 Online
109687 Solutions
New Discussion

Re: Cannot Telnet

 
Mamidela
Occasional Contributor

Cannot Telnet

Hi,
I can ping to my server but cannot telnet to/from the server. Verified /etc/services and telnet is enabled.

Appreciate your help in resolving the issue.

Thanks,
J

9 REPLIES 9
whiteknight
Honored Contributor

Re: Cannot Telnet

hi J

check
# ps -ef |grep inetd
root 857 1 0 Oct 10 ? 0:05 /usr/sbin/inetd
root 20489 20472 1 15:29:56 pts/ta 0:00 grep inetd

# telnet 0
Trying...
Connected to 0.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON

HP-UX pluto B.11.11 U 9000/800 (tb)

login:

For a start troubleshooting

WK
Problem never ends, you must know how to fix it
Luk Vandenbussche
Honored Contributor

Re: Cannot Telnet

Do you have this entry in /etc/inetd.conf

telnet stream tcp nowait root /usr/lbin/telnetd telnetd
Steven E. Protter
Exalted Contributor

Re: Cannot Telnet

Shalom,

check /etc/inetd.conf

netstat -an | grep 23
netstat -an | grep 22

See if they are listening. If not its time to configure the daemons.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven Schweda
Honored Contributor

Re: Cannot Telnet

As usual, it might help to see actual
commands and actual results.

Have you tried Telnetting from the HP-UX
system to itself? To 127.0.0.1? What
happens when you do?
Steven Schweda
Honored Contributor

Re: Cannot Telnet

Mamidela
Occasional Contributor

Re: Cannot Telnet

I just Installed HP-UX 11iV3 in rp3440 server.

Entry in
#/etc/inetd.conf

telnet streat tcp6 nowait root /usr/lbin/telnetd

---------

entry in
#/etc/services

telnet 23/tcp # Virtual Terminal Protocol
---------
entry in
#/etc/nsswitch.conf
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
networks: files nis
protocols: files
rpc: files nis
publickey: files
netgroup: nis
automount: files nis
aliases: files nis
services: files nis
ipnodes: files [NOTFOUND=continue] dns

-----------
Tried to telnet 127.0.0.1 again got unknown service.

inetd daemon is running

is it a firewall problem?? Is there a way to disable firewal??

Do you think I'm missing any patches??

SKSingh_1
Frequent Advisor

Re: Cannot Telnet

Hi,

have a look here in your reply:

Entry in
#/etc/inetd.conf

telnet streat tcp6 nowait root /usr/lbin/telnetd


this needs to be:
telnet stream tcp6 nowait root /usr/lbin/telnetd

after changing "streat" to "stream" run "inetd -c"

and then check via "netstat -a|grep 23"
or "netstat -a|grep -i telnet"
Mamidela
Occasional Contributor

Re: Cannot Telnet

Hi all,
I want to close the thread.My problem is been solved by configuring /etc/nsswitch.conf file. Actually the file was missing.

Thanks all. Thanks for your support.
Mamidela
Occasional Contributor

Re: Cannot Telnet

Hi all,
I want to close the thread.My problem is been solved by configuring /etc/nsswitch.conf file. Actually the file was missing.

Thanks all. Thanks for your support.