- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet session to HP-UX box times out.
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
10-17-2000 02:43 AM
10-17-2000 02:43 AM
Telnet session to HP-UX box times out.
I encountered a problem whereby my telnet session times out.
If I were to telnet into my HP-UX v11.00 box and leave the telnet session idle for about an hour or so, and when I hit
I do not encounter this problem with my other HP-UX boxes. I was suspecting that could it be some kernel parameters which needs to be fine tuned? Please help !! As this is getting irritating when the telnet session times out and you do not recall where you left off. You have to re-establish the telnet session and login again.
Please help as it's pretty urgent. Thanks a million to whoever answered my question. Thanks so much !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 02:49 AM
10-17-2000 02:49 AM
Re: Telnet session to HP-UX box times out.
There is a shell environment variable that makes the shell quit after a certain number of seconds of inactivity. The name of the variable is TMOUT.
Hope this helps,
Rik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 02:54 AM
10-17-2000 02:54 AM
Re: Telnet session to HP-UX box times out.
I forgot to say how to solve your problem: you should unset it (unset TMOUT) or set it to 0 (export TMOUT=0).
Bye,
Rik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 03:09 AM
10-17-2000 03:09 AM
Re: Telnet session to HP-UX box times out.
If TMOUT is your problem then the shell should output a warning message before logging you out.
If you don't receive a message then it is possible that the disconnection is being done by some 'third party' comms box.
Do you connect directly to the server or through some sort of firewall or proxy server. If the latter, it's possible that this may be disconnecting you.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 03:12 AM
10-17-2000 03:12 AM
Re: Telnet session to HP-UX box times out.
Thanks for your quick response.
Where can I set the TMOUT? In which file?
Please advise. Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 03:14 AM
10-17-2000 03:14 AM
Re: Telnet session to HP-UX box times out.
Thanks for your reply. The problem is, my UNIX box is in the sam segment as my workstation. So it should not have gone thru' the firewall.
Any other solutions which you might think of?
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 03:15 AM
10-17-2000 03:15 AM
Re: Telnet session to HP-UX box times out.
TMOUT can be set in /etc/profile or in the users home directory at $HOME/.profile
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 03:41 AM
10-17-2000 03:41 AM
Re: Telnet session to HP-UX box times out.
Can you double check for me, as I have a case where TMOUT has been set in /etc/profile (as for all connections) on a machine (HPUX11), I have just tried using unset TMOUT and export TMOUT=0, it still clears the connection... and so doesnt solves Tan's problem if she were to keep the timeout for others
Best regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 03:53 AM
10-17-2000 03:53 AM
Re: Telnet session to HP-UX box times out.
default is 2hours . See document Id S1100002433B / or do a search for keepalive
under technical docs / manuals.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 04:11 AM
10-17-2000 04:11 AM
Re: Telnet session to HP-UX box times out.
Your problem was due to the fact that you 'unset' TMOUT. If you do that then the shell retains the old value and any subsequent assignments are ignored for timeout purposes.
The man page for sh-posix states:-
Unsetting _, ERRNO, LINENO, MAILCHECK, OPTARG, OPTIND, RANDOM, SECONDS, and TMOUT removes their special meaning, even if they are subsequently assigned to.
Regards
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 04:41 AM
10-17-2000 04:41 AM
Re: Telnet session to HP-UX box times out.
Yes I started with unset in .profile, then at 2nd test I did manually a export TMOUT=0...
So unset TMOUT isnt a good option...
Best of all
Victor