AutoSys upgrade returns with exit code 1
search cancel

AutoSys upgrade returns with exit code 1

book

Article ID: 440574

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

AutoSys upgrade returns with exit code 1.

example:

<ISO>/install.bin ......    (silent or interactive mode either way  and then it finishes)
echo $0
1

The cawa_installer.log would show some warnings, if not fatal errors. Below are some errors / warnings observed


CAUAJM_E_60227 ASSAFETOOLPW: environment variable is not set.
CAUAJM_W_119012 Unable to configure the CA EEM security for the instance.
[CAUAJM_W_112114] The CA EEM application "WorkloadAutomationAE" is of a higher version.

 

 

 

Cause

exit 1 is what the install program spits out, when there is successful completion with warnings / non fatal errors. 

InstallAnywhere documentation shows "The installation completed successfully, but one or more of the actions from the installation sequence caused a warning or a non-fatal error."

Resolution

Some causes / resolutions that for such warnings:
 
 
  • The installer logic requires EiamAdmin credentials in the response file being used.  This is set via: IA_AE_INSTANCE_EEM_PASSWORD  If it is not set, the installer logs would show an error like this:
2026-05-13 10:55:32,416 [main] DEBUG com.ca.wla.ae.installer.util.CommandUtil(80) - Command Env : ASSAFETOOLPW = ******
2026-05-13 10:55:32,416 [main] DEBUG com.ca.wla.ae.installer.util.CommandUtil(82) - Command Env : AUTOSYS = /opt/CA/WorkloadAutomationAE/autosys
2026-05-13 10:55:32,458 [main] INFO  com.ca.wla.ae.installer.util.CommandUtil(190) - Read error stream = CAUAJM_E_60227 ASSAFETOOLPW: environment variable is not set.
 
2026-05-13 10:55:35,874 [main] WARN  com.ca.wla.ae.installer.logger.LogHelper(59) - NonFatalException : W_AE_INSTANCE_EEM_SECURITY_FAILED [CAUAJM_W_119012] Unable to configure the CA EEM security for the "ACE" instance. Execute the "autosys_secure -regencert -host "eemhost.example.com" -p "*****" -secadmu EiamAdmin"command to configure the instance security.
 
Resolution:  Set the attribute name/value in the response file. The value of the above can be obtained by encrypting a clear string password using autosys_secure utility
 
 
  • If the EEM server already has the needed policies at the version to which the ugprade is being attempted to:
2026-05-15 08:34:35,927 [main] WARN  com.ca.wla.ae.installer.logger.LogHelper(25) - [CAUAJM_W_112114] The CA EEM application "WorkloadAutomationAE" is of a higher version.
 
Resolution:  Nothing need to be done, it is just a warning.
 
  • Permissions to add/modify EEM policies (SEADM / as-control) are missing for the Unix (or Windows) user that is attempting the upgrade process. 

    Resolution: Ensure appropriate permission is granted for the user running the upgrade, in EEM, for this policy (WorkloadAutomationAE application in EEM)
 
 
 
 

Additional Information

Warning CAUAJM_W_119012 During AutoSys Upgrade