- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet hang problem
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
Forums
Discussions
Discussions
Discussions
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
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
08-07-2005 07:22 PM
08-07-2005 07:22 PM
Telnet hang problem
today I noticed a very strange problem on my HPUX servers.
Scenario:
I telnet the server from my workstation. Now I'm in the server and try:
telnet 0
It prints that it's connected, but never prints the "login:". Once in a while, it sends "\n" - new line - and no "login:".
From other servers, solaris and windows I can telnet, but from HP servers it just hangs. I think it's some kind of resolving problem, but all the setting for DNS are correct and they resolv each other by name and by ip.
I tried to us tusc on the telnet process, it's just stuck on the "select" syscall.
I tried to disable "identd". didn't help.
I tried to restart inetd, with "inetd -c". It solved the problem couple of times, but after 5 minutes, it was stuck again.
Rlogin works fine on all servers.
The wierd thing is, that it only happens on hpux servers, when I telnet from win or solaris, everything looks fine.
Any ideas?
Thanx, Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 07:46 PM
08-07-2005 07:46 PM
Re: Telnet hang problem
Most likely the telnet cannot get back to the origin. Something like no route to subnet of workstation.
Use netstat -an to check for connection requests from IP address in SYN_REVD state.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 07:58 PM
08-07-2005 07:58 PM
Re: Telnet hang problem
Check this,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=576396
may be related with yours.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 08:25 PM
08-07-2005 08:25 PM
Re: Telnet hang problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 08:26 PM
08-07-2005 08:26 PM
Re: Telnet hang problem
I think you must do the following testing:
The Transport Level Loopback Test can be implemented using Internet Services. In this case, you use telnet and ftp to systematically focus on a problem.
A.Execute: telnet to remote host. Try to establish a telnet connection to the remote host.
B.Successful? If your telnet attempt was successful, stop. The connection is okay through the Transport Layer (OSI Layer 4).
C.Execute: ftp to remote host. Unlike telnet, ftp does not go through a pseudo-terminal driver (pty) on your system. This step tests to see if the pty is why telnet failed.
D.Successful? If ftp is successful, you likely have a problem with a pty on your system. Contact your HP representative.
E.TCP configured on local or remote host? Neither telnet or ftp will work if TCP is not configured on either side of the connection. Check the /etc/protocols file on both hosts to be sure TCP is installed and configured.
F.Configure TCP. If necessary, install TCP on either or both hosts.
G.Network congested? If TCP is installed on both hosts, do a file transfer to another remote host on the network. Use netstat to check for lost packets.
If 10 percent or more packets are lost, the network is extremely busy. If you cannot determine the cause, contact your HP representative for help.
If both ftp and telnet fail, the /etc/inetd.conf file may be configured incorrectly or the inetd daemon may not be running on the remote system.
If the problem is not resolved, more detailed diagnostics are required. Again, contact your HP representative.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 08:31 PM
08-07-2005 08:31 PM
Re: Telnet hang problem
TCP is obviously installed :-)
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 09:05 PM
08-07-2005 09:05 PM
Re: Telnet hang problem
Please post 'what' string on /usr/bin/telnet and /usr/lbin/telnetd.
Have you tried tusc'ing inetd to see what happens when it forks telnetd? Make sure you use -f flag when you run tusc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 09:28 PM
08-07-2005 09:28 PM
Re: Telnet hang problem
There are known issues with utmp/utmpx file corruption causing telnet hang with symptoms similar to yours.
Patches you should be looking into installing are PHNE_28841 for 11.11 or PHNE_26096 for 11.00. Look at patch notes for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 09:45 PM
08-07-2005 09:45 PM
Re: Telnet hang problem
If you are using
/var/adm/inetd.sec
try putting ip in place of hostnames
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 09:57 PM
08-07-2005 09:57 PM
Re: Telnet hang problem
I think there is something that messes up the inetd, but I don't know what is it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 10:27 PM
08-07-2005 10:27 PM
Re: Telnet hang problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 03:30 AM
08-08-2005 03:30 AM
Re: Telnet hang problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 03:39 AM
08-08-2005 03:39 AM
Re: Telnet hang problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 01:26 AM
08-10-2005 01:26 AM
Re: Telnet hang problem
if enhanced logging is not available.
On the console
tail -f /var/adm/syslog/syslog.log
Make the telnet error happen. Lets see what Mr. Syslog has to say.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:02 AM
08-22-2005 07:02 AM
Re: Telnet hang problem
After sending endless logs and traces to some HP network guru, he found that the combination of "dtelnet" (http://dtelnet.sourceforge.net/) + rlogin + hpux just doesn't work. Every time that I logged in through rlogin into hpux, telnet hangs. It's doesn't hand when I logged in with telnet. Weirdest thing, but that's what traces, tusc and logs tell.
Alex.