- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet session hangs, when I open vi or output is ...
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
07-29-2008 10:36 PM
07-29-2008 10:36 PM
We have a HP UX box. When i can connect to it using putty, from Windows. But, when i start vi or any command, with large put put(like tail, cat etc) the session hangs. At the same time, in some of the Windows boxes, it is working with out any issues! I compared the LAN card settings, putty settings etc in the client, all are same.
Could any one please help me to fix this ? I am totally lost!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 10:59 PM
07-29-2008 10:59 PM
Re: Telnet session hangs, when I open vi or output is large
have you the same putty version and have you enabled the session logging in putty?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 12:11 AM
07-30-2008 12:11 AM
Re: Telnet session hangs, when I open vi or output is large
Try this version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 12:45 AM
07-30-2008 12:45 AM
Re: Telnet session hangs, when I open vi or output is large
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 12:48 AM
07-30-2008 12:48 AM
Re: Telnet session hangs, when I open vi or output is large
Tried the attached, but issue remains.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 12:55 AM
07-30-2008 12:55 AM
Re: Telnet session hangs, when I open vi or output is large
Afraid to say, the bottleneck is windows, reinstalling might fix issue. Use your due diligence. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 02:05 AM
07-30-2008 02:05 AM
Re: Telnet session hangs, when I open vi or output is large
Not one windows boxes- out of 20 windows boxes, we have issues with most of them. compared the patches, versions etc..etc.. with all the boxes, all are same !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 02:33 AM
07-30-2008 02:33 AM
Re: Telnet session hangs, when I open vi or output is large
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 02:37 AM
07-30-2008 02:37 AM
Re: Telnet session hangs, when I open vi or output is large
No firewalls!!!
More over, we are able to connect to the HP UX box, and able to execute commands. If the command output is large, the session hangs.
For example, if i say "cat abcd", and the abcd is small, it works. If the file abcd is large, the session hangs, in some of the systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 02:46 AM
07-30-2008 02:46 AM
Re: Telnet session hangs, when I open vi or output is large
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 03:13 AM
07-30-2008 03:13 AM
Re: Telnet session hangs, when I open vi or output is large
Please try this
open putty session
window > Line to Scrollback > make it 200000
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 03:39 AM
07-30-2008 03:39 AM
Re: Telnet session hangs, when I open vi or output is large
Try this also:
Open a telnet session to hp-ux box
run following
stty ixoff
/bin/X11/resize
cat file_name_you_want_to_open...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 03:51 AM
07-30-2008 03:51 AM
Re: Telnet session hangs, when I open vi or output is large
"pathping"
from the window box to ensure or check connectivity first.
Just type
"pathping"
for more options.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 03:58 AM
07-30-2008 03:58 AM
Re: Telnet session hangs, when I open vi or output is large
How can i narrow down, whether this is a network issue or a server issue or a client issue ?
I am totally lost!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 04:30 AM
07-30-2008 04:30 AM
Re: Telnet session hangs, when I open vi or output is large
1. Re-IP the windows which is not working with the IP which is working.
2. Capture Ethreal at time of pasting and compare.
1st can be tried immediately.
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 04:53 AM
07-30-2008 04:53 AM
Re: Telnet session hangs, when I open vi or output is large
you must force full duplex in all component, or in HP box.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 05:56 AM
07-30-2008 05:56 AM
Re: Telnet session hangs, when I open vi or output is large
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2008 08:18 AM
07-30-2008 08:18 AM
Re: Telnet session hangs, when I open vi or output is large
Repeat the same functions that causes the error, but without logging to eliminate this factor.
Jov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2008 07:53 AM
07-31-2008 07:53 AM
Re: Telnet session hangs, when I open vi or output is large
Check the usage of /tmp on the HP box. If you are trying to vi a large file, vi uses /tmp (or /var/tmp, I don't remember which) to create a temp file of what you are editing. If /tmp if full, or nearly so, vi will bomb. Ususally, though, it will tell you that it does't have enough space to open the file.
Just my 2cts.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2008 08:03 AM
07-31-2008 08:03 AM
Re: Telnet session hangs, when I open vi or output is large
he mentioned, "At the same time, in some of the Windows boxes, it is working with out any issues!"
In this case, i dont see any thing on hp-ux as issue is not always reproducible from all Win boxes... :-)
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2008 11:26 PM
07-31-2008 11:26 PM
SolutionThis may lead to nothing but I have seen this when the server and the switch have mismatched Duplex on the NIC.
Find out what the switch is set to (Auto, 1000FD, 1000HD etc) and then use landiag to look at the duplex setting of the NIC.
lanscan will show you which card number to reference.
It will probably be set to the opposite of the switch IE half duplex instead of full.....
It will probably be a CISCO switch too.
Reset both to the same and all is OK...
Trevor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2008 01:31 AM
08-01-2008 01:31 AM
Re: Telnet session hangs, when I open vi or output is large
it might be a network issue. we are planning to change from half duplex to full.
mean while, any other ideas, MOST Welcome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2008 01:40 AM
08-01-2008 01:40 AM
Re: Telnet session hangs, when I open vi or output is large
I'm not sure, but this sounds as if the path MTU discovery between Putty client and HP-UX server is impaired.
Could it be that you have any blackhole routers along the route (viz. those which aren't allowed to return ICMP "fragmentation needed" packets)?
Some network device admins block all (even legitimate) ICMP traffic).
I'm not sure about the Windows ping command,
but I think it also allows for giving the packet size (try WINkey+r => cmd to get a DOS shell and enter "ping /h" for valid options).
Then you could try to send echo request packets of increasing size (provided these aren't filtered, and the HP-UX server is allowed to respond), and check from when you encounter packet loss.
But I suppose in order to reduce the MTU of your windows box you need to tamper with some registry setting, of which I am afraid I am clueless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2008 08:47 PM
08-04-2008 08:47 PM
Re: Telnet session hangs, when I open vi or output is large
Thanks a TON for the inputs!!!