- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet Connection Hanging...
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
03-28-2006 07:08 PM
03-28-2006 07:08 PM
Telnet Connection Hanging...
We've got an A400-44 server over in the Netherlands in a BT managed datacentre. unluckily for us it has no LAN console connection :-| and the server keeps deciding to just stop responding.
One minute it is fine, the next when we try to telnet to it, we just get...
Trying...
Connected to nl345_4.nl.acme.com.
Escape character is '^]'.
And that's it. It just hangs there. I haven't had a proper chance to investigate this yet, and until we can get someone on site to reset the server I won't be able to get on. That is unless someone has any ideas of another way which might let me get onto the box for now. SSH is not installed on the server, and it also seems that FTP is not responding...so I'm not sure if maybe inetd is dying for some reason. Just wondered if anyone had seen this kind of behaviour before and wondered what it was being caused by.
Many Thanks - Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 07:17 PM
03-28-2006 07:17 PM
Re: Telnet Connection Hanging...
Is there any new applications installed? (http://www.cygwin.com/ml/cygwin/2002-11/msg01709.html)
swlist will give that.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 07:21 PM
03-28-2006 07:21 PM
Re: Telnet Connection Hanging...
Can you try doing remsh/rlogin??
remsh -l "user_name" server
rlogin server_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 07:21 PM
03-28-2006 07:21 PM
Re: Telnet Connection Hanging...
My suspects are Networks,DNS,inetd.
You say "one minute it is fine..."
Once you have a telnet session, can you do a local loopback?
Have you reported this to the datacenter manager, it may be a local problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 07:34 PM
03-28-2006 07:34 PM
Re: Telnet Connection Hanging...
OK, the box is running B.11.00 (as far as I know) and we've advised the support staff on site who are going to reboot the server.
As soon as the box is back up, I'll get on and check out syslog and a few other things.
In the meantime, allow me to hypothesise if I may...
I'm thinking that if this was inetd related it would be a "connection refused" message rather than what I'm getting.
It could be a name resolution issue, but other boxes in the same place which would be configured to use the same DNS settings are not affected.
I'm thinking this could also potentially be a problem with load...if the box is getting hammered I suppose this could be causing the problem (a sar -u should hopefully tell me this).
I don't think this is hardware related either...for example if it was the LAN card playing up, then I'd expect to lose connectivity completely, but all the way through these periods of us not being able to telnet to the server we are still able to get a response from pinging the box.
Regards - Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 08:00 PM
03-28-2006 08:00 PM
Re: Telnet Connection Hanging...
A common culprit in this situation is another machine coming on the network with the same IP address as the one you are telnetting to.
To test this, disconnect the network cable of the machine you think you are connecting to and try pinging. If you get an answer, I am right.
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
03-28-2006 08:07 PM
03-28-2006 08:07 PM
Re: Telnet Connection Hanging...
a) vmstat
b) sar
c) top
d) UNIX95=1 ps -ef -o sz,vsz,cpu,pcpu,pid,comm
e) bdf
will give the resource usage. IT has to be normal.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 09:21 PM
03-28-2006 09:21 PM
Re: Telnet Connection Hanging...
I've checked sar -u and the CPU idle % has never dropped lower than 95% since midnight last night. Current load is 0.02 0.13 0.15. No full or nearly full filesystems. Nothing in nettl to indicate a problem with duplicate IPs. Nothing of any interest in syslog.
The only thing I did find a bit odd was that the domain and nameserver arguments in /etc/resolv.conf were commented out, as was the only line in /etc/nsswitch.conf. The only line in there referenced hosts: files [NOTFOUND=continue] dns. I've uncommented these...i'm not sure why there are no entries for passwds, groups, and so on.
Hmmm...bit confused by this one, I can't really see anything that could potentially be causing the problem I'm seeing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 06:56 PM
03-29-2006 06:56 PM
Re: Telnet Connection Hanging...
Did you try SEP's suggestion about the IP address being a duplicate? This random connection/not connection hang can definitely indicate that there is an IP addressing problem.
Regards,
JASH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 07:07 PM
03-29-2006 07:07 PM
Re: Telnet Connection Hanging...
I don't think a duplicate IP is the problem here. The reason I say that, is because we never fail to get a connection as such, its just that sometimes the connection is established but then hangs and never gives you the login prompt.
Also, I ran a netfmt -f /var/adm/nettl.LOG00 and there were no entries in there to suggest a duplicate IP on the network, which is where I'd normally expect to see this logged.