Hdbsetup fails to start. Error message: Line 71 file name argument required
search cancel

Hdbsetup fails to start. Error message: Line 71 file name argument required

book

Article ID: 8965

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

I have installed licensing, capki, odbc and pec components.  After installing the SCM Server component I selected "Y" to run hdbsetup and configure the database.  Hdbsetup fails to start with error message:

/opt/CA/scm/bin/hdbsetup: line 71: .: filename argument required
.: usage: . filename [arguments]

<Please see attached file for image>

image001.jpg

When looking at line 71 in the hdbsetup script, instead of seeing the correct path to the odbc.sh script, I am seeing something unexpected:

. ##ODBC_HOME##/odbc.sh

<Please see attached file for image>

image002.jpg

Why did this happen?  How can I correct the problem?

 

Environment

Problem was reproduced with SCM v13 64-bit Server, but we expect a similar problem might be found with other Linux/Unix platforms and other versions of SCM

Cause

This will happen when the wrong information is provided when setting the ODBC_HOME environment variable or when requested by the SCM Server's install.sh script:

<Please see attached file for image>

image003.jpg

If the wrong information is provided you will see this on the final confirmation screen before the install.sh script updates all the scripts in the $CA_SCM_HOME/bin folder:

<Please see attached file for image>

image004.jpg

If you select option 4 at this point to accept the settings and continue, every script in the $CA_SCM_HOME/bin folder will have a line similar to what was found in the hdbsetup script.

<Please see attached file for image>

image002.jpg

No script containing this error will function correctly.

Resolution

If you see "##ODBC HOME##" as the ODBC Install Location on the confirmaition screen:

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKDrAAO" alt="image004.jpg" width="624" height="112">

Do not select option 4 to accept the selections.  Instead, do one or both of these things:

  1. If you know that your ODBC component was installed correctly and the value that was provided is a simple mistake, you can select option 3, and provide the correct location for your ODBC installation.
  2. If you need to check to confirm that ODBC was installed correctly, you should cancel the install.sh script using <Ctrl>-C, resolve the problem with the ODBC installation, reset and export the updated ODBC_HOME environment variable and then start the $CA_SCM_HOME/install/install.sh script again.

If you discover this problem after having complete the installation of the SCM Server, resolve any problems with your ODBC installation, reset and export the updated ODBC_HOME environment variable and then restart the $CA_SCM_HOME/install/install.sh script.  This time select option 3 to update the scripts only.

Attachments

1558700782570000008965_sktwi1f5rjvs16p74.jpeg get_app
1558700780790000008965_sktwi1f5rjvs16p73.jpeg get_app
1558700779032000008965_sktwi1f5rjvs16p72.jpeg get_app
1558700776803000008965_sktwi1f5rjvs16p71.jpeg get_app
1558700774973000008965_sktwi1f5rjvs16p70.jpeg get_app
1558700773040000008965_sktwi1f5rjvs16p6z.jpeg get_app