Salesforce

How to stop the AdminServer with proadsv -stop command in Windows

« Go Back

Information

 
TitleHow to stop the AdminServer with proadsv -stop command in Windows
URL Namecannot-stop-the-adminserver-with-proadsv-stop-command-in-windows
Article Number000117465
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x, 12.x
OS: Windows
Other: AdminServer
Question/Problem Description
How to stop the AdminServer with proadsv -stop command when the AdminService starts the AdminServer
Why can the AdminServer not be terminated from a PROENV command line: proadsv -stop
When the PROENV shell is started "as Administrator' the AdminServer does not shutdown
The AdminServer can be stopped from Windows Services but shutdown cannot be scripted with: proadsv -stop
When logged in as an 'Administrator' user, the proadsv -stop command in Windows fails to stop the AdminServer when started as a Service:
Shutdown request failed. (ADMMsg010)
Steps to Reproduce
Clarifying Information
Error MessageShutdown request failed. (ADMMsg010)
Defect Number
Enhancement Number
Cause
Resolution
OpenEdge AdminServer is started by default in Windows as an AdminService by the "LOCAL SYSTEM' user or with the LOCAL SERVICE account.

OPTION 1: Change the AdminService login account to 'Administrator', as follows:
  1. Windows Control Panel > Administrative Tools > Services
  2. Right-click the AdminService and choose 'Properties'
  3. Select the second 'Log on' Tab
  4. Change the account to 'Administrator'
Use the 'Administrator' user to stop the AdminServer from a Proenv command prompt:
$  proadsv -stop  

Alternatively create a specific user for the AdminService "Log on" Tab:
OPTION 2: Use NET STOP
As Administrator run:
NET STOP "AdminService for OpenEdge 11.7"
Workaround
Notes
Keyword PhraseAdminService
Last Modified Date10/2/2020 7:34 AM

Powered by