Proxy Client does not start

book

Article ID: 207934

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The Proxy Client failed start.  The command returned with exit code 0 in the service manger log. However, does not create any log file under directory ../Proxy/temp/.

[[email protected] bin]$ java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)

Service Manger log: smgr_log_00.txt

20210202/092256.005 - U00022019 Client statement: process 'UC4 PROXY01' should be started.
20210202/092256.005 - U00022031 Client data: User 'asAutomic' of computer 'proxy-linux.com'.
20210202/092256.005 - U00022004 Starting process 'UC4 PROXY01' ...
20210202/092256.005 - U00022005 ... with command line  'java -jar /DataStdPerf/Automic/12.3.4/ServiceManager/bin/../../../Agents/proxy01/bin/proxy.jar -Iproxy.ini'.
20210202/092256.005 - U00022006 ... and start directory  '/DataStdPerf/Automic/12.3.4/ServiceManager/bin/../../../Agents/proxy01/bin/'.
20210202/092256.006 - U00022007 Process 'UC4 PROXY01' (ID '20410') successfully started.
20210202/092256.839 - U00022012 Process 'UC4 PROXY01' (ID '20410') ended.
20210202/092256.839 - U00022022 Process 'UC4 PROXY01' ended, exit code='0'

The relevant message is in the server CP log:

U00003359 Agent 'PROXY01' uses an incorrect Company Key

Cause

Due to missing [AUTHORIZATION] section in the proxy.ini file

Environment

Release : 12.3 or Higher

Component : AUTOMATION ENGINE

Resolution

Update the [AUTHORIZATION] with "IntialPackage" value in the proxy.ini file -[AUTHORIZATION]

;

; initialPackage: The name and the path of the file that includes the authentication package (company-key file).

; This parameter must be specified if you use the authentication methods "Server" or "Server and Agent". Any attempt to log in fails if the company-key file cannot be found.

; When the agent starts, it reads the company-key file and stores its information in the file that is specified in the parameter KeyStore=. The first file is deleted afterward.

;

initialPackage=inbound.nonprod

Remove the *.kstr file from Proxy client install directory/bin.

Start the proxy client using the command -

# java -jar proxy.jar

or

# java -jar proxy.jar -Iproxy.ini

Additional Information

Installing Proxy Client -

https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#Proxy/installation_proxy.htm?TocPath=Installing%257CManual%2520Installation%257C_____17

Unix Agent configuration file - 

https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#AWA/Admin/inifiles/admin_ini_agent_unix.htm