- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Telnet sessions 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
Discussions
Discussions
Forums
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
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
тАО02-25-2009 01:55 PM
тАО02-25-2009 01:55 PM
Telnet sessions hanging
If a Laptop user opens up a session while connected to his docking station, and then subsequently undocks, the sessions in the Reflections window receive the normal, "Your 'TELNET' connection has terminated.", but the VMS processes do not go away.
When the user tries to reconnect, his request is turned down because we only allow two sessions per node (for licensing reasons). This then requires intervention by a Sys Admin to cleanup the processes that are hanging out there.
In our case, when the Telnet session disconnects, we want the VMS process to die an immediate death, allowing the user to login again.
Is there not a "tcp" parameter in ipconfig which with take care of this???
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2009 04:05 PM
тАО02-25-2009 04:05 PM
Re: Telnet sessions hanging
Enable virtual terminals so you can reconnect to the same session. This is much nicer than killing the process.
If you really want the process to go away, enable virtual terminals and set TTY_TIMEOUT to a very small value. It's in seconds but I'm not sure if 0 means immediate or forever.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2009 04:18 PM
тАО02-25-2009 04:18 PM
Re: Telnet sessions hanging
Either of the following probably require the telnet server to be restarted, or the host rebooted.
For the former, I'd start with the SET SERVICE TELNET /SOCKET_OPTIONS=KEEPALIVE command.
For the latter (and that's the approach I'd use), see the setup docs in the manual or in the OpenVMS FAQ. This can be enabled "hot." Here's the relevant text extracted from that document:
---
5.42.7 How to enable telnet virtual terminals?
To enable virtual terminal support for telnet and
rlogin devices, add the following logical name
definitions into SYLOGICALS.COM:
$ DEFINE/SYSTEM/EXECUTIVE TCPIP$RLOGIN_VTA TRUE
$ DEFINE/SYSTEM/EXECUTIVE TCPIP$TELNET_VTA TRUE
See SYS$STARTUP:SYLOGICALS.TEMPLATE for details on the
typical contents of SYLOGICALS.COM.
In SYSTARTUP_VMS.COM, ensure that a command similar to
the following is invoked:
$ SYSMAN IO CONNECT VTA0/NOADAPTER/DRIVER=SYS$LOADABLE_IMAGES:SYS$TTDRIVER.EXE
In MODPARAMS.DAT, add the following line or (if already
present) mask the specified hexidecimal value into an
existing TTY_DEFCHAR2, and perform a subsequent AUTOGEN
with an eventual reboot:
TTY_DEFCHAR2 = %X20000
This value is TT2$M_DISCONNECT.
....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 01:27 AM
тАО02-26-2009 01:27 AM
Re: Telnet sessions hanging
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 02:41 AM
тАО02-26-2009 02:41 AM
Re: Telnet sessions hanging
It seems that reflection doesn't support keepalive settings that it passes to the server. So, you must configure the settings in tcp on VMS (sysconfig).
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 05:15 AM
тАО08-20-2009 05:15 AM
Re: Telnet sessions hanging
thanks for your help.
Dave