hdbsetup throws segmentation fault in UR step
search cancel

hdbsetup throws segmentation fault in UR step

book

Article ID: 273804

calendar_today

Updated On:

Products

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

Issue/Introduction

When upgrading to SCM 14.5, we completed the installation, but when running hdbsetup, the UR step returned a segmentation fault error.

Updating database schema...
The existing schema will be upgraded to V14.5 schema.  The changes are permanent and cannot be rolled back.  Do you want to continue [Y/N]?
Y
   Using Data source name harvest
   Temporary encrypted user information saved
sh: line 1: 1945524 Segmentation fault      (core dumped) hserver -upgrade -authmode=internal -verbose -edb=.hsvrtemp.dfo >> "/opt/CA/scm/log/updateschema.log"

Problem has also been encountered while logging into Harvest.

Environment

Release : 14.5.0

Linux platform

Cause

This can happen if the Oracle-related environment variables such as

  • ORACLE_HOME,
  • PATH (should include $ORACLE_HOME/bin) and
  • LD_LIBRARY_PATH (should include $ORACLE_HOME/lib) are not set correctly.  

Another possible root cause is related to applying system patches and updates to the Oracle DBMS.

Resolution

If recent Oracle patches or updates were applied, roll those back and test again to see if the problem persists.

Check the tnsnames.ora file to be sure  the tns service name is correct.

Check the environment variables to be sure ORACLE_HOME is correct.

Go to the /opt/CA/scm/lib folder and executed "ldd hserver".  Resolve any missing dependencies you find.

Check the LD_LIBRARY_PATH environment variable.  If the /opt/CA/scm/lib folder is missiing, update the .bash_profile for the cascm user and ensure this is corrected there.  Then re-source the .bash_profile.

After these changes, test again to ensure the problem is resolved.