- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- telnet session terminates abruptly
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-30-2001 01:16 PM
03-30-2001 01:16 PM
telnet session terminates abruptly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2001 01:24 PM
03-30-2001 01:24 PM
Re: telnet session terminates abruptly
If the latter then check the value of the TMOUT environment variable.
# echo $TMOUT
If it's >0 then sessions will timeout in that many seconds of inactivity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2001 01:30 PM
03-30-2001 01:30 PM
Re: telnet session terminates abruptly
thanks the session hangs and and if i try click with muse or use key board i get the message "telnet sesion aborted" .
TMOUT is set to 0 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2001 05:33 AM
04-02-2001 05:33 AM
Re: telnet session terminates abruptly
Other very important thing is to use a sniffer (nettl in hp-ux) to trace the connection. Some times you have network problems that cause very strange behaviours. In hp-ux, you can do the following:
- restart nettl: nettl -stop;nettl -start;
- start your client telnet connection;
- discover the telnetd PID and monitor it. It is the father of your shell;
- start to capture a trace:
/usr/sbin/nettl -traceon hdrin hdrout pduin \ pduout logging -entity ns_ls_ip -file /tmp/tn -size 1024 -m 128
- When the problem happens, restart nettl:
nettl -stop; nettl -start
- to format the trace file capturing only data from your client, create a filter cfg file, i.e.: vi /tmp/fmt.cfg
formatter filter subsystem !*
formatter filter subsystem NS_LS_IP
filter tcp_sport 23 # telnet service
filter tcp_dport 23 # telnet service
filter ip_saddr 15.76.184.107 #IP/telnetclient
filter ip_daddr 15.76.184.107 #IP/telnetclient
- format the trace:
/usr/sbin/netfmt -c /tmp/fmt.cfg -N -f /tmp/tn.TRC0 > trcout0
/usr/sbin/netfmt -c /tmp/fmt.cfg -N -f /tmp/tn.TRC1 > trcout1
Now you are able to analise formated data in trcout0 and trcout1 and see who is terminating the connection. You should also determine what is going on with your telnetd on server side. To discover what socket is being used by telnetd, use lsof. To monitor the telnetd process, use ps -efl inside a while. To monitor proccess state, use glance.
If it appears to be a tough task, open a Response Center call and provide with all data you have collected.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2001 05:41 AM
04-02-2001 05:41 AM
Re: telnet session terminates abruptly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2001 11:50 AM
04-09-2001 11:50 AM