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>
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>
Why did this happen? How can I correct the problem?
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>
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>
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>
No script containing this error will function correctly.
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:
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.