Running 'cybAgent' with any valid argument results in usage error
search cancel

Running 'cybAgent' with any valid argument results in usage error

book

Article ID: 232271

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

When attempting to run the cybAgent script with any valid argument (-v for version, -a to start the agent, etc.) results in a usage error...

[[email protected] WA_AGENT]$ ./cybAgent -v
Usage: cybAgent -[a|r|s|v|vv|?]
-a [target writeable root] Start agent as service
-r                         Refresh security
-s [target writeable root] Shutdown an agent
-v                         Display program version
-vv                        Display program version (verbose)
-?                         Display this help

Environment

Release : 12.0

Component : Workload Automation System Agent

Cause

This behavior occurs if the user running the cybAgent script does not have read permission for the agentparm.txt file located in the agent install directory.

Resolution

Ensure the <AGENT_HOME>/agentparm.txt file is readable by the user attempting to run the cybAgent script.