search cancel

FTP (or some other plugin) is not getting enabled in WA Agent

book

Article ID: 255354

calendar_today

Updated On:

Products

Workload Automation Agent CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation DE - System Agent (dSeries) CA Workload Automation AE - Business Agents (AutoSys)

Issue/Introduction

User tried enable FTP plugin by adding this to the agentparm.txt

plugins.start_internal_6=ftp

 

#
# FTP specific
#
ftp.noserver=true

The WA agent didn't enable the FTP plugin as FTP jobs are resulting in 'No such plugin'

Environment

Release : 12.x

OS: Any

Component: Workload Automaton System Agent

Cause

The WA System agent likely has two plugins with the same number in agentparm.txt.

plugins.start_internal_6=ftp

plugins.start_internal_6=database

 

In case of duplicate, the agent will always use the last entry and ignore previous.

Resolution

When adding functional builtin or non-business agents, make sure that each plugin is numbered properly.  Do not use the same number for two plugins or have any skips in sequence.   Any gaps will result in plugins not loaded after the number sequence that was skipped.

The following are internal functional plugins of WA agent and are manually configured if they were not enabled during install.

config                                  
ftp         <-- Most commonly enabled afterwards.
management                               
snmp 

In agent directory, run this command to see what plugins have been enabled.

./cybAgent -vv           (Linux/Unix)

cybagent.exe -vv       (Windows)

The "plugins.start_internal_<number>" can be higher or after  than the any "Additional Integrations/Plugins" installed.  

E.g. So if agent has database plugin applied and agentparm.txt has this entry as last plugin entry:  

plugins.start_internal_6=database

And would like to add FTP plugin, then add this to agentparm, making sure there isn't already a 7 or 8 :

plugins.start_internal_7=ftp

 

Note:  Do not manually enable "Additional Integrations/Plugins" listed by cybAgent -vv command.  Always use PluginInstaller command to enable those business plugins.

Additional Information

AutoSys users may user autorep -M <machine_name> command to see the enabled plugin.