Network Management

Orion Configuration Wizard Fails: Deploying packages FAILED. Services Configuration failed: one or more errors occurred

The article discusses how to address the issue when error prompts during a run of the Configuration Wizard

First published date

10/25/2019 5:38 PM

Last published date

1/14/2022 7:52 AM

Overview


Configuration Wizard may fail due to a dependent file in use. It is not clear what this file is used for or if it is really needed by the Configuration Wizard. This article suggests at least one potential solution when seeing this error in the ConfigurationWizard.log file in the C:\ProgramData\SolarWinds\Logs\Orion folder.
 

Error 1

 
Error running task Orion.DeployingPackages Deploying packages System.AggregateException: One or more errors occurred. ---> System.IO.IOException: 
The process cannot access the file 'C:\Users\xxxxx\AppData\Local\Temp\SWPackagingTemp\OpenJDK\12\lib\ct.sym' because it is being used by another process.

 

Error 2

 
2020-04-03 23:52:21,214 [26] ERROR TaskAdapter - Error running task Orion.DeployingPackages Deploying packages 
System.Security.Cryptography.CryptographicException: There are no more endpoints available from the endpoint mapper. at 
System.Security.Cryptography.NCryptNative.OpenStorageProvider(String providerName) at System.Security.Cryptography.CngKey.Import(Byte[] keyBlob, 
String curveName, CngKeyBlobFormat format, CngProvider provider)

 

Error 3

Same error but a different set of folders and files:
 

ERROR PackageDataPacksDeployer - Unable to delete C:\Program Files (x86)\SolarWinds\Orion\OpenJDK\13\bin\sunmscapi.dll after 3 retries, aborting 
operation ERROR TaskAdapter - Error running task Orion.DeployingPackages Deploying packages System.AggregateException: One or more errors occurred. 
---> System.IO.IOException: The process cannot access the file 'C:\Program Files (x86)\SolarWinds\Orion\OpenJDK\13\lib\modules' because it is being 
used by another process.


Error 4

2020-04-03 23:52:21,214 [26] ERROR TaskAdapter - Error running task Orion.DeployingPackages Deploying packages System.AggregateException: One or 
more errors occurred ---> System.UnauthorizedAccessException: Access to the path '[installation drive]:\Program Files (x86)\SolarWinds\Orion\
[xxxxxxxx]\[file.dll]


 

Product section

Orion Platform

Cause

The dependent file is in use prohibiting the Configuration Wizard to proceed on executing the stored procedure

Resolution

Workaround 1

  • Rename the file named ct.sym (e.g. ct.sym.1)
  • File can be located here: C:\Users\xxxxx\AppData\Local\Temp\SWPackagingTemp\OpenJDK\12\lib\
  • After renaming the file, run the Configuration Wizard
  • Use Resource Monitor to close the mentioned file and folder

Workaround 2

  • Disable Antivirus
  • If still the same issue, temporarily uninstall the antivirus, then re-run Configuration Wizard

Workaround 3

Workaround 4

  • Open the folder path [Volume]:\Program Files (x86)\SolarWinds\Orion\xxxxx
  • Create a new folder and rename it as "Backup"
  • Move the affected files into it
  • Re-run the Configuration Wizard

Workaround 5

Solution Error 2:

  • CNG Key isolation service is either not running or disabled
  • Please enable this service via services.msc and re-run the Configuration Wizard
Solution Error 3:
  • Login as Local Administrator
  • Copy the ****.dll shown on the Configuration Wizard error logs
  • Use the tool Resource Monitor and search for the process which is using the DLL file
  • End the process if applicable, if not
  • Back-up the DLL that is being used by another process by following the DLL path on the Configuration Wizard error logs and afterward, delete the Original DLL file on the path folder
  • Reboot the server and re-run Configuration Wizard