- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unable to telnet to server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 01:36 AM
тАО04-15-2003 01:36 AM
unable to telnet to server
telnet cwsas01
Trying...
Connected to servername.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.
root@cwsas01:/dev/vg03 # telnet 173.5.7.4
Trying...
Connected to 173.5.7.4.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 01:49 AM
тАО04-15-2003 01:49 AM
Re: unable to telnet to server
Does /var/adm/syslog/syslog.log show any faults
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 01:50 AM
тАО04-15-2003 01:50 AM
Re: unable to telnet to server
One thing to check is your name resolution. If you do an 'nslookup' and then type in the name of your server, cwsas01, it should return the IP address of 173.5.7.4. Then, type in that IP address and it should return the name of your server and that IP again. If that isn't working it could break telnet, and you'll need to either get the IP address and hostname right in your /etc/hosts file or in DNS.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 02:12 AM
тАО04-15-2003 02:12 AM
Re: unable to telnet to server
No error message on syslog.log
JP
There is entry of the name server and IP address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 02:18 AM
тАО04-15-2003 02:18 AM
Re: unable to telnet to server
i had similar problems on a machine. finally it turned out be a problem with a hard disk.
whenever the hdd went to NO_HW state, this problem used to occur. and finally after the hdd was changed this problem got fixed.
are all the io devices fine. and any errors in dmesg.
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 02:26 AM
тАО04-15-2003 02:26 AM
Re: unable to telnet to server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 02:28 AM
тАО04-15-2003 02:28 AM
Re: unable to telnet to server
Does rlogin or remsh work?
This is a bit odd too:
Connected to servername.
so check /etc/hosts on 173.5.7.4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 02:45 AM
тАО04-15-2003 02:45 AM
Re: unable to telnet to server
What does 'netstat -rn' and 'lanscan' return? Also, are you getting any error messages in your syslog about telnet?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 03:00 AM
тАО04-15-2003 03:00 AM
Re: unable to telnet to server
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 11648 lo0 4136
172.17.3.40 172.17.3.40 UH 0 2191 lan0 4136
172.17.3.32 172.17.3.40 U 2 0 lan0 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 172.17.3.33 UG 0 0 lan0 1500
root@cwsas01:/storage # lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x0010837C22EC 0 UP lan0 snap0 1 ETHER Yes 119
0/10/0/0 0x001083F7B447 1 UP lan1 snap1 2 ETHER Yes 119
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 03:08 AM
тАО04-15-2003 03:08 AM
Re: unable to telnet to server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 03:52 AM
тАО04-15-2003 03:52 AM
Re: unable to telnet to server
can you rlogin to your own host
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 04:12 AM
тАО04-15-2003 04:12 AM
Re: unable to telnet to server
1st thing I would ask is what has changed ?
Network config ?
Patches added ?
It looks like you are connectin so host resolution looks ok.
try either so these -
1 - check the telnet daemon
Run the following commands to check if there is a mismatch between the telnet daemon and the version of telnet in the kernel:
what /usr/lbin/telnetd
The output should be :
/usr/lbin/telnetd:
Copyright (c) 1983, 1986 Regents of the University of California.
Patch ID: [PHNE_21822/PACHRDME/English]
telnetd.c $Revision: 1.29.214.16 $ $Date: 2000/06/08 23:40:02 $
telnetd.c 5.31 (Berkeley) 2/23/89
authenc.c 8.1 (Berkeley) 6/4/93
what /stand/vmunix | grep str_telnet
The output should be similar to:
str_telnet.c: [PHNE_16546/PACHRDME/English]
str_telnet.c $Revision: 1.2.118.6 $ $Date: 98/11/17 22:39:11 $
If there is a difference, regen the kernel again and reboot.
2 - check the device files.
execute the following line for ptym and ptys pseudo drivers
# insf -d pty -n 400 (Or what ever parameter is set in the kernel for npty & nstrpty)
if this did not fix the problem execute the following commands.
insf -evd tlclts
insf -evd tlcotsod
insf -evd tlcots
insf -d tels
insf -d telm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 04:26 AM
тАО04-15-2003 04:26 AM
Re: unable to telnet to server
get the following -
>>>>>>>>>>>>>>>>>>>
# telnet abcd
Trying...
Connected to abcd.india.hp.com.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON
HP-UX abcd B.11.00 U 9000/785 (th)
login:
<<<<<<<<<<<<<<<<<<<<
Note the line that say's local flow control on - in your case it is off.
I don't know how to change this, but somebody who knows will help you out now.
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 04:28 AM
тАО04-15-2003 04:28 AM
Re: unable to telnet to server
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 04:46 AM
тАО04-15-2003 04:46 AM
Re: unable to telnet to server
It looks like from the output from your netstat command that your system doesn't have the 173.5.7.4 IP address defined. It appears to have two addresses defined on the 172. subnet.
What happens when you try to ping cwsas01 and also ping 173.5.7.4? If I understand you correctly, you are working on a machine named cwsas01, which should have an IP address of 173.5.7.4? Can you post the contents of your /etc/rc.config.d/netconf file?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 05:16 PM
тАО04-15-2003 05:16 PM
Re: unable to telnet to server
what /usr/lbin/telnetd
/usr/lbin/telnetd:
Copyright (c) 1983, 1986 Regents of the University of California.
Patch ID: PHNE_21822
telnetd.c $Revision: 1.29.214.16 $ $Date: 2000/06/08 23:40:02 $
telnetd.c 5.31 (Berkeley) 2/23/89
authenc.c 8.1 (Berkeley) 6/4/93
what /stand/vmunix |grep str_telnet
str_telnet.c: PHNE_21822
str_telnet.c $Revision: 1.2.118.6 $ $Date: 2000/06/08 10:12:57 $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 05:19 PM
тАО04-15-2003 05:19 PM
Re: unable to telnet to server
Sorry for my error the ip address for cwsas01 should be 172.17.3.40.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 05:47 PM
тАО04-15-2003 05:47 PM
Re: unable to telnet to server
getting a response from localhost and not from the server name sounds like your telnet line in inetd.sec file looks something like this
telnet allow loopback
and nothing else. If this is the case, add some allowed server names/addresses or allowed network addresses after loopback and you may resolve your problem.
Just my 2 cents. The things that get you are sometimes the simplest of all.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2003 06:04 PM
тАО04-15-2003 06:04 PM
Re: unable to telnet to server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 02:04 AM
тАО04-16-2003 02:04 AM
Re: unable to telnet to server
if you don't use /etc/inetd.sec remove it.
After edit the file /etc/inetd.conf, you must have a line like this:
"telnet stream tcp nowait root /usr/lbin/telnetd telnetd"
rgds tam