File Monitor jobs shows "Scan Failed" status, network drive or file-share
search cancel

File Monitor jobs shows "Scan Failed" status, network drive or file-share

book

Article ID: 217611

calendar_today

Updated On:

Products

CA Workload Automation DE Workload Automation Agent CA Workload Automation AE - System Agent (AutoSys)

Issue/Introduction

File monitor job fails with status "Scan Failed".  The user can access the directory location by logging on to the machine.

01/01/2021 00:00:12.345-0400 1 FileMonPlugin.FileMon processor(groupKey:\\example.com\a\bb\ccc\shared01 requests:7).CybFileMonHandler.processCriticalError[:262] - cybermation.library.services.queuerequests.CybRequestHandlingException: Scan Failed

at .........
Caused by: java.io.IOException: An unexpected network error occurred.

 

Environment

Release : 12.0

Component : CA Workload Automation System Agent

Cause

The user does not have read or traverse access to every upper directory in the file share path. The agent uses recursive to go from top level directory or folder to bottom.  If the Agent is unable to list or read a directory the job results in failure.

Resolution

Provide traverse and list to all the upper folders so that WA Agent can go down to the last folder and start monitoring for the file.