Agent crashes (ENDED_LOST) after restarted when a script with :RESTART was running

book

Article ID: 212933

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

Agent crashes with a segmentation fault if before stopping the agent the UC4 command :RESTART was used in a script. For instance:

:restart STEP010, "RESTART=STEP010"
echo "step 10"
sleep 30


:restart STEP020, "RESTART=STEP020"
echo "step 20"
sleep 30

Investigation:

The issue happens whether the agent is started with the SMgr or from the Unix prompt. When start from the Unix prompt a segmentation fault is displayed:

[[email protected] bin]$
[1]+ Done          nohup ./ucxjlx6
[[email protected] bin]$ nohup ./ucxjlx6 &
[1] 105490
[[email protected] bin]$ nohup: ignoring input and appending output to nohup.out


[[email protected] bin]$
[1]+ Segmentation fault   nohup ./ucxjlx6
[[email protected] bin]$

Cause

This is a bug

Environment

Release : 12.3

Component : Unix Agent

Resolution

Workaround:

After removing the temporary REP file in the Agent's temp folder (O*) the Agent can be started again.

 

Solution:

Update to a fix version listed below or a newer version if available.


Fix version:

Component(s): Unix Agent

 

Automic Automation 21.0.1

Planned release: Automation.Engine 12.3.8