The "Security file was not found:ftpusers.txt (The system cannot find the file specified)" message in spool file
search cancel

The "Security file was not found:ftpusers.txt (The system cannot find the file specified)" message in spool file

book

Article ID: 99950

calendar_today

Updated On:

Products

Workload Automation Agent Autosys Workload Automation CA Workload Automation DE CA Workload Automation DE - System Agent (dSeries) ESP Workload Automation

Issue/Introduction

The Security file was not found:ftpusers.txt (The system cannot find the file specified) message in spool file

SFTP job succeeded but job's spool file says "Security file was not found:ftpusers.txt (The system cannot find the file specified)".
Can you kindly explain why are we getting this? And what are the best practice?

Environment

CA Workload Automation Agents

Resolution

For the first instance of any FTP job, WA Agent initializes a security object that does many things, including providing the means to change the ownership of downloaded files.

Part of the initialization is to look for the ftpusers.txt file (to be able to run as a server).

Most of the time the message "Security file was not found:ftpusers.txt" will appear just once in one of the log files (defaultlog_agent.log).

But this job is run with RunExternal, meaning agent creates a special purpose version of itself as a child of the agent. This special purpose agent also tries to initialize a copy of the security object. It does not write to the log files, but writes all its messages to the spool directory. The message really serves no purpose in this context.

If this message is a distraction, a dummy ftpusers.txt file can be created as below using the ftpusrcfg script from the agent installation directory.

ftpusrcfg -a dummyuser dummypass