Unable to run my UDP script on the new test broker machine
search cancel

Unable to run my UDP script on the new test broker machine

book

Article ID: 133465

calendar_today

Updated On:

Products

CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

Setting up a new SCM Broker machine. UDP scripts that are working correctly on the current Production machine are failing on the new Test machine. Why is this happening?

I00060040: New connection with Broker <brokername> established.

E03020516: Execution of server UDP program <UDP script and parameters> has failed. Exit code: 1.

E03060019: Process Execute failed. Process Name: <UDP process name>

UDP.Execute() failed.



Environment

Release : all releases

Component : CA Harvest Software Change Manager

Linux/Unix platforms

Cause

We compared environments and found that some environment variables were missing from the new test machine.  Here are example settings for the .bash_profile:

export CASHCOMP=/opt/CA/SharedComponents
export CABIN=$CASHCOMP/bin
export CALIB=$CASHCOMP/lib

export ORACLE_HOME=<installation folder for Oracle Client>
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH

export CAPKIHOME=$CASHCOMP/CAPKI
export PATH=$CABIN:$PATH
export LD_LIBRARY_PATH=$CALIB:$LD_LIBRARY_PATH

export ODBC_HOME=/opt/CA/odbc
# Next 2 only needed for RHEL 8.x
# export PATH=$ODBC_HOME:$PATH
# export LD_LIBRARY_PATH=$ODBC_HOME/lib:$LD_LIBRARY_PATH

export RTHOME=/opt/CA/pec
export PATH=$RTHOME:$PATH
# for 32-bit PEC
# export LD_LIBRARY_PATH=$RTHOME/lib/i86_32_linux24:$LD_LIBRARY_PATH
# for 64-bit PEC
export LD_LIBRARY_PATH=$RTHOME/lib/i86_64_linux24:$LD_LIBRARY_PATH

export CA_SCM_HOME=/opt/CA/scm
export PATH=$CA_SCM_HOME/bin:$PATH
export LD_LIBRARY_PATH=$CA_SCM_HOME/lib:$LD_LIBRARY_PATH

.

Resolution

Recommended to add the missing environment variable settings to the cascm user's .bash_profile, exit, and login again to confirm the environment variables are now included and restart the SCM Broker.