Network Management

Unable to Remove the ShadowCopyCache directory in NPM

Unable to remove the ShadowCopyCache directory in the JobEngine folder in NPM. This is due to the JobEngine failing to create a new cache copy in the same directory.

First published date

11/1/2018 9:02 PM

Last published date

1/10/2022 3:39 PM

Overview

Errors related to Access Denied are showing in the SolarWinds.JobEngineService_v2 logs even after Antivirus program scanning exclusions were made as per Files and directories to exclude from antivirus scanning for Orion Platform products
Below are several examples of the error message:

2014-09-10 15:05:48,989 [33] WARN SolarWinds.JobEngine.Engine.WorkerProcessWCFProxyFactory - Can't remove directory C:\Windows\TEMP\SolarWinds\JobEngine.v2\ShadowCopyCache-12200 System.UnauthorizedAccessException: Access to the path 'SolarWinds.APM.BlackBox.Sql.Strings.DLL' is denied.

2014-09-10 15:10:07,054 [17] WARN SolarWinds.JobEngine.Engine.WorkerProcessWCFProxyFactory - Can't remove directory C:\Windows\TEMP\SolarWinds\JobEngine.v2\ShadowCopyCache-856
System.UnauthorizedAccessException: Access to the path 'pspluginwkr.dll' is denied.

2014-09-10 15:22:23,923 [5] WARN SolarWinds.JobEngine.Engine.WorkerProcessWCFProxy - Could not delete C:\Windows\TEMP\SolarWinds\JobEngine.v2\ShadowCopyCache-24176
System.UnauthorizedAccessException: Access to the path 'SolarWinds.Logging.DLL' is denied.

Product section

Network Performance Monitor

Cause

The JobEngine failed to create a new cache copy in the same directory.

Resolution

Resolution: 

1. Stop all Orion services - Start and stop Orion services
2. Clear the Jet files (jet*.tmp in c:\Windows\Temp).
3. Restart the services - Start and stop Orion services
4. Check and confirm that a new cache copy was created.
5. Check and confirm that there are no longer errors in the JobEngine log.