Salesforce

Cannot uninstall OpenEdge after AdminService has been stopped

« Go Back

Information

 
TitleCannot uninstall OpenEdge after AdminService has been stopped
URL NameP111108
Article Number000184837
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x
OS: Windows
Other: Uninstall
Question/Problem Description
Cannot uninstall OpenEdge after AdminService has been stopped
DLL in use prevents uninstalling OpenEdge

Uninstall process reports procfg.dll and environ.dll files are still in use.

AdminService was stopped before running the uninstall process.
Steps to Reproduce
Clarifying Information
Uninstalling OpenEdge licenses that include the AdminService.
AdminService was running immediately prior to the start of the uninstall process
Error MessageCannot continue uninstallation
The following files are busy and mmust be closed before uninstalling. Click Next to abort this uninstall
%DLC%\bin\procfg.dll
%DLC%\bin\environ.dll
Defect NumberDefect PSC00150510 / OE00102555
Enhancement Number
Cause
If the needed files are still in use, they cannot be deleted by the uninstall process.

The uninstall is correctly reporting the files in use. These files are busy and therefore cannot be deleted. This has been identified as a timing issue between the AdminService properly shutting down and the Uninstall process starting. Typically it takes a while for the AdminService to shut down. Typically the AdminService  is not shutdown completely when the Services panel says it is.
Resolution
Ensure that the AdminService has completely shutdown prior to running the Uninstall routine.

$ proadsv -query -verbose -port <listening port default 20931>
AdminServer not alive. (8543)


If the Uninstall subsequently fails to run, please review the Workarounds detailed below.
Workaround
Choose one of the following workarounds:

Option 1: Reboot
  1. Set the AdminService to Manual.
  2. Reboot the PC.
  3. Restart the uninstall process.
Option 2: Terminate processes using the reported dll's

Use a third-party tool such as Process Explorer to identify which process is using the files referenced. Then kill the process. These are usually 
left-over java.exe processes. Process Explorer can be found at: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx  

Option 3: Uninstall using Administrator privileges and Windows Safe Mode
  1. Set the AdminService to Manual.
  2. Reboot the PC.
  3. Start in Windows Safe Mode
  4. Login as Administrator
  5. Restart the uninstall process.
Option 4: Manual Uninstall

Uninstall OpenEdge manually. Refer to Article 
18709, How to uninstall OpenEdge manually, what Windows Registry entries must be removed?   
Notes
Keyword Phrase
Last Modified Date12/5/2018 8:44 PM

Powered by