Linux install fails setting DB2_LIB_PATH

Install server 9.2.5.130 on Linux 6. Took the option to install DB2. DB2 appears to install successfully but then it fails trying to set the library path. The referenced log has no relevant entry.

Info: Installing DB2, please wait ...
Info: The DB2 prerequisite was installed successfully.
Info: Validating the DB2 copy installed at /opt/ibm/db2/V10.5/bin, please wait ...
Info: The DB2 prerequisite validation was completed successfully.
Error: Unable to set 'DB2_LIB_PATH' with the DB2 library path. Refer to the installation log file '/var/log/BESInstall.log' for additional details.

Hi

You might check whether the DB2 user has a login shell and can login

++ su - db2_user -c ‘set | grep LD_LIBRARY_PATH’

  • db2LibPath=‘This account is currently not available.’
    ++ extractDB2Lib64Path ‘This account is currently not available.’
    ++ db2LibPath=‘This account is currently not available.’
    +++ echo ‘This account is currently not available.’
    +++ read line
    +++ returnPath=
    +++ [[ This account is currently not available. = LD_LIBRARY_PATH* ]]
    +++ read line
    ++ returnPathList=
    ++ echo ‘’
  • DB2_LIB_PATH=
  • [[ ‘’ = ‘’ ]]
    ++ nls_replace TEM0039E DB2_LIB_PATH /var/log/BESInstall.log
  • writeMsg stdout ‘Error: Unable to set ‘’‘DB2_LIB_PATH’’’ with the DB2 library path. Refer to the installation log file ‘’’/var/log/BESInstall.log’’’ for additional details.’
  • dest=stdout
  • case $dest in
  • echo ‘Error: Unable to set ‘’‘DB2_LIB_PATH’’’ with the DB2 library path. Refer to the installation log file ‘’’/var/log/BESInstall.log’’’ for additional details.'
    Error: Unable to set ‘DB2_LIB_PATH’ with the DB2 library path. Refer to the installation log file ‘/var/log/BESInstall.log’ for additional details.
  • exit 1

++ su - sb2_user -c ‘set | grep LD_LIBRARY_PATH’

Ever figure this one out? I hit the same issue with 9.5.3. The user was created with the default instance.

[root@server log]# su db2inst1 -c 'set | grep LD_LIBRARY_PATH’
BASH_EXECUTION_STRING=‘set | grep LD_LIBRARY_PATH’
[root@u060krema901 log]# su db2inst1
bash-4.2$ set | grep LD_LIBRARY_PATH
bash-4.2$