Salesforce

How to disconnect a database user with PROSHUT or PROMON

« Go Back

Information

 
TitleHow to disconnect a database user with PROSHUT or PROMON
URL Name000036460
Article Number000159001
EnvironmentProduct: Progress
Product: OpenEdge
Version: All supported versions
OS: All supported platforms
Other: RDBMS, promon, proshut
Question/Problem Description
How to disconnect a database user with PROSHUT or PROMON OS-COMMANDS
Is there a way to disconnect a database user without PROSHUT or PROMON?
Can a user be disconnected from a database using the _connect vst?
How can a database user be disconnected by a client running on a remote machine that can access the database server?
The PROSHUT -C disconnect user command can only be executed on the database server itself, not from a client.
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Outside running OS Kill signals to terminate the PID of the client, which can lead to dbdowns, or application code using the DISCONNECT <ldbname> statement to disconnect the current client session, PROSHUT or PROMON are the only tools available to disconnect a client from a database.

To disconnect a User from the database with PROMON or PROSHUT:
  • promon dbname > Options: 8.  Shut Down Database > 1  Disconnect a User
  • proshut dbname > Option: 1. Disconnect a User
  • proshut dbname -list > Option: 1. Disconnect a User
  • proshut dbname -C disconnect <user number>
For further information refer to Articles: A client can only be disconnected with a user who started the database or the user themselves to perform the disconnect. Refer to Article  Since OpenEdge 11.5 other PROMON sessions can also be disconnected: When there are too many user connections to manually disconnect every connected user, or users need to be disconnected from a remote client session to where the database is running, the process can be scripted by interrogating the _Connect VST and parsing the _Connect-Usr to an OS-COMMAND which runs the PROSHUT -C DISCONNECT utility. Refer to Articles: Considerations when needing to terminate a client session by disconnecting it:
Workaround
Notes
References to Other Documentation:

Progress Article(s):
Considerations when upgrading from OpenEdge 11 to a later OpenEdge 11 version.
 
Keyword Phrase
Last Modified Date9/15/2020 8:48 AM

Powered by