IBM Support

Agent upgrade fails with teb error 19

Troubleshooting


Problem

Agent upgrade fails with "error 19" during updateLWAAction.sh step

Diagnosing The Problem

Getting below error in twsinst.*.log file:
 ------------------------------------------------------------------
 Start updateLWAAction.sh command 
 ------------------------------------------------------------------
-
-
IBM Workload Scheduler Environment Successfully Set !!!
/usr/tivoli/TWS/TWS/_uninstall/ACTIONTOOLS/updateLWAAction.sh : Step Executing tebinst
Software Package file: /usr/tivoli/TWS/TWS/_uninstall/ACTIONTOOLS/teb/teb.zip
Exploiter Name: TWS
Instance Name: tws_cpa_agent_srvtwscaptv00bc
Skip agent startup after installation
Installer Version: 1.0.1
Looking for existing INI file: /etc/teb/teb_tws_cpa_agent_srvtwscaptv00bc.ini
Ini file not found or outdated

Starting upgrade...
Installing Manifest Line: # ITA Manifest File 
Installing Manifest Line: TEB_BuildDate = 2023/03/29
Installing Manifest Line: TEB_BuildLevel = 
Installing Manifest Line: TEB_Version = 1.0
Installing Manifest Line: TEB_Compatible =
/usr/tivoli/TWS/TWS/_uninstall/ACTIONTOOLS/updateLWAAction.sh : Executed: /usr/tivoli/TWS/TWS/_uninstall/ACTIONTOOLS/teb/tebinst u -s "/usr/tivoli/TWS/TWS/_uninstall/ACTIONTOOLS/teb/teb.zip" -e TWS -i tws_cpa_agent_srvtwscaptv00bc -n    rc = 19
error 19 in 

Tue 23 Sep 16:29:21 BST 2025  ----------------------------------------------------------
Tue 23 Sep 16:29:21 BST 2025  End updateLWAAction.sh command.                           
Tue 23 Sep 16:29:21 BST 2025  ----------------------------------------------------------
ACTION STEP: AWSFAB117I Installing IBM Workload Automation agent
     EXIT VALUE: 19
FAILED:

Resolving The Problem

The error suggests that either the INI file is not present or it is corrupted. Perform below steps to resolve the problem:
1) Check if the teb_tws_cpa_agent_instanceuser.ini file is present under /etc/teb/
2) If the file is missing, manually create the INI file under /etc/teb/ directory. You can refer any working DA/FTA for the file content. In usual scenario, the file should look like below:
[root@FTA teb]# pwd
/etc/teb
[root@FTA teb]# cat teb_tws_cpa_agent_ftauser.ini
TEB_Version = 1.0.0.0
TEB_BuildDate = 2023/03/29
TEB_HomeDirectory = /opt/FTA/TWS/ITA/cpa
TEB_ConfigHomeDirectory = /opt/FTA/TWSDATA/ITA/cpa
TEB_Exploiters =  TWS
TEB_User = ftauser
[root@FTA teb]#
NOTE: You would need to update the TEB_HomeDirectory, TEB_ConfigHomeDirectory and TEB_User based on your dynamic agent environment.
4) Make sure the permissions are set as of a working environment.
5) Retry the upgrade.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS8GJD","label":"IBM Workload Automation"},"ARM Category":[{"code":"a8m50000000L0hRAAS","label":"Components-\u003EDynamic Agent"},{"code":"a8m50000000L1vPAAS","label":"Components-\u003EFTA"}],"ARM Case Number":"TS020408715","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1.0;10.2.0;10.2.1;10.2.2;10.2.3;10.2.4;10.2.5;10.2.6;9.2.0;9.3.0;9.4.0;9.5.0"}]

Product Synonym

IBM Workload Scheduler; IWS; TWS; IWA

Document Information

Modified date:
02 October 2025

UID

ibm17246963