Workload Automation Agent is not starting

Document ID : KB000032409
Last Modified Date : 14/02/2018
Show Technical Document Details


The agent 11.3 when started runs for a few seconds and stops automatically. This happened because the agent was configured to act as an FTP server while the port 21 was already in use.


CA Workload Automation Agent for I5 R11.3

Installed on AS400/i5 platform


The problem was identified by reviewing the defaultlog_agent.log.


main.MainThread.CybFtpPluginDriver.runApplication[:132] - CybFtpPluginDriver terminated:

cybermation.library.communications.CybConversationException: The socket name is already in use.

main.MainThread.CybAgentDriver.runApplication[:373] - cybermation.library.plugins.CybPluginException: Plugin instantiation failed


The agentparm.txt had the following entries

# FTP specific



This caused the agent to act as a FTP server to listen on port 21.

There was already a generic FTP server listening on port 21.

Since  port 21 was already in use the agent could not start.



The resolution is to configure the agent as a ftp client.

Made the following changes to to the agentparm.txt



Commented out the first line and added the second and restarted the agent. This made the agent behave as a FTP client.


Additional Information:

You can also run the agent as another ftp server, but you have to use another port