- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Removing disconnected telnet session?
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
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
тАО08-03-2005 06:58 AM
тАО08-03-2005 06:58 AM
Thanks
Scott
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 08:08 AM
тАО08-03-2005 08:08 AM
Re: Removing disconnected telnet session?
Welcome to VMS!!
I think I need some more info, but let me try some guessing.
It looks to me that your terminology somehow does not macth mine.
Is your user logged in using Telnet from some external source, say, a PC, or a *UX session?
Then, if his Telnet terminated, by definition his connection is gone.
Maybe you use a terminal emulator with embedded telnet, and you(r user) logged out of his VMS session? Some emulator then leave the connection alive, and you must terminate it by EXIT (^D, ^Z, ,^C depending on specific emulator).
If your Telnet connection gets broken somehow, than (by default, changeable by system manager) his PROCESS stays alive for some time. In that case, at setting up a new connection for the same username VMS ask if you want to re-attach to that session, and just continue.
If this does not answer your question, please specify some more details:
remote system type
terminal emulator
VMS version
a more extensive description of the issue.
(do not care about terminology, if the description contains enough details we will find out what is happening, and then the terminology will come later on)
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 01:05 PM
тАО08-03-2005 01:05 PM
Re: Removing disconnected telnet session?
The default is for the session to be deleted automatically when the timeouts expire.
It is true that the timeouts can be annoyingly large in a TCP/Ip network, but there is generally not a need to abort a session. If a session hangs, there are generally other (applications) issues involved.
If you can give additional information, then it is easier to be more accurate with advice.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 02:47 PM
тАО08-03-2005 02:47 PM
Re: Removing disconnected telnet session?
I'd recommend enabling virtual terminals. On Alpha, add the following to your startup procedure:
$ MCR SYSMAN IO CONNECT VTA0/NOADAPT-
/DRIVER=SYS$LOADABLE_IMAGES:SYS$TTDRIVER.EXE
$ DEFINE TCPIP$TELNET_VTA TRUE
$ DEFINE TCPIP$RLOGIN_VTA TRUE
Now when a session is disconnected without logging out, it will remain on the system for (SYSGEN parameter) TTY_TIMEOUT seconds - default is 15 minutes. If a user logs back in within that time, they will be given the option to reconnect to their disconnected session. No more lost work!
You will be able to see the disconnected sessions with:
$ PIPE SHOW USERS/FULL | -
SEARCH SYS$PIPE "(disconnected)"
any process with a VTA terminal name is disconnected. You could kill the process with:
$ STOP/EXIT/ID=pid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2005 08:13 PM
тАО08-03-2005 08:13 PM
Re: Removing disconnected telnet session?
just for curiosity command to kill any process is STOP.
Help is your friend. For furthermore information type
$ HELP STOP
Again, just for playing you can see all users connected (like unix who) with command
$ SHOW USER
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2005 01:12 AM
тАО08-04-2005 01:12 AM
Re: Removing disconnected telnet session?
Username Node Interactive Subprocess Batch
4869AK02 HNAC 1 8 1
Thanks for all the GREAT input!!
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2005 04:26 AM
тАО08-04-2005 04:26 AM
Re: Removing disconnected telnet session?
yes, that looks mightily like the scenario I already guessed.
The symptoms at the users'new session look like:
You have a disconnected session xxxx. Connect to it? [Y/N}
(sorry, not exact systax, this is from memory, cannot test right now).
If the user answers "Y", then (s)he can continue where (s)he was interrupted.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2005 04:56 AM
тАО08-04-2005 04:56 AM
Re: Removing disconnected telnet session?
scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2005 04:58 AM
тАО08-04-2005 04:58 AM
Solution$ Stop/ID=
Replace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2005 05:01 AM
тАО08-04-2005 05:01 AM
Re: Removing disconnected telnet session?
$ SHOW US/FULL
will show all processes from this user. The 3rd column will have the process-id (PID). Then you can stop the process with $ STOP/ID=
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2005 05:04 AM
тАО08-04-2005 05:04 AM
Re: Removing disconnected telnet session?
Thanks for helping a newbie!
Scott