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

Document ID : KB000099950
Last Modified Date : 03/06/2018
Show Technical Document Details
Introduction:
The Security file was not found:ftpusers.txt (The system cannot find the file specified) message in spool file
Question:
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
Answer:
For the first instance of any FTP job, we initialize 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 we create a special purpose version of the agent 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