SFTP job fails and error critical.log (Permission denied) is in the logs
search cancel

SFTP job fails and error critical.log (Permission denied) is in the logs

book

Article ID: 420212

calendar_today

Updated On:

Products

ESP dSeries Workload Automation ESP dSeries Workload Automation - Business Agents (dSeries) ESP dSeries Workload Automation - Scheduler (dSeries) ESP dSeries Workload Automation - System Agent (dSeries) Workload Automation Agent

Issue/Introduction

What does the following error indicate?

Error loading critical log file : java.io.FileNotFoundException: critical.log (Permission denied)

 

 

 

Environment

Workload Automation Agent 12.0 or above

ESP dSeries (Workload Automation DE): Any

Cause

Job is not able to write to log / spool directory.

Resolution

The SFTP / SCP job will run as an external process when a "run as" user is defined in the job.  The run as user will need write permissions to agent log and spool directory.