EVENT.UNIXFS fails with return code 127 command not found on Java Agent Unix 24.x
search cancel

EVENT.UNIXFS fails with return code 127 command not found on Java Agent Unix 24.x

book

Article ID: 412171

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation Automic SaaS

Issue/Introduction

The EVENT.UNIXFS fails with return code 127 (command not found) on Java Agent Unix 24.x.

Example of script:

:SET &HND# = PREP_PROCESS(UNIX01,'UNIXFS','*','PATH=/tmp','uc_login=LOGIN.UNIX01','FSPAR=MTIME="20220301," SIZE=1')
:process &HND#
:  SET &LINE# = GET_PROCESS_LINE(&HND#)
:  print &LINE#
:endprocess
20250905/120041.835 - U02000003 Job 'EVENT.UNIXFS' started with RunID '1004003'.
20250905/120041.843 - U02000442 The job '1004003' was started with Process ID = '9896'.
...
20250905/120041.882 - U02001013 Job agent reported status 'E' for job '1004003', return code '127'.
20250905/120041.886 - U02000482 Process '9896' for Run-Id '1004003', ended with exit code: '127'. Possible error description: 'Command not found.'.
20250905/120041.886 - U02000009 Job 'EVENT.UNIXFS' with RunID '1004003' ended with return code '127'.


The same script works fine with an agent on version 21.x or inferior.

Environment

Java Unix Agent 24.x

Cause

DE175512: the binary ucxe***f that performs the EVENT.UNIXFS was accidentally removed from the Java Agent deliveries

Resolution

Workaround:

Copy from an agent 21.x the binary ucxe***f and paste it into the Java Unix Agent 24.x bin folder and assign execution permissions.

Solution:

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

Fix version:
Component(s): Agent Unix
Automation.Engine 24.4.2 HF2 - Available
Automation.Engine 24.4.3 - Available