AWA: Central Agent Upgrade on Unix not updating ServiceManager "deployment.txt not found"
book
Article ID: 190501
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation Engine
Issue/Introduction
While performing the Central Agent Upgrade (CAU) on Unix Agents, the Agent gets upgraded succesfully but the associated Service manager upgrade does not work.
It looks like the service manager is looking for a file named deployment.txt in its own bin directory, but that is not the correct location, the file exists only in the agent's bin directory.
In the service manager log, we find the following kind of error:
U00022004 Starting process 'sv248564_LUX_DEV' ... U00022005 ... with command line '/opt/uc4/LUX_DEV/executor/current/bin/ucxjlx6'. U00022006 ... and start directory '/opt/uc4/smgr/current/bin/'. U00022007 Process 'sv248564_LUX_DEV' (ID '6423') successfully started. U00022051 Error: Upgrade description file '/opt/uc4/smgr/current/bin/deployment.txt' not found, upgrade process has not started.
Environment
Release : 12.1.x and superior Component : AUTOMATION ENGINE Subcomponent: Agent for Unix
Cause
Wrong working directory "start directory" for the Unix Agent defined in the uc4.smd as seen below:
Review the service manager smd file (by default uc4.smd) and set the working directory to the agent's bin folder (where the agent binary is found) as on the following example: