Resolving GSKit installation problems

When you use the IBM Storage Protect installation software, the correct Global Security Kit (GSKit) version is installed automatically.

If the IBM Storage Protect server instance environment is not configured properly, the server might not load the appropriate GSKit libraries. The server instance configuration wizard helps you to avoid many issues that might be prevalent when you manually configure the instance.
Windows operating systemsIssue the following command:
set PATH=X:\Program Files\IBM\gsk8\bin;X:\Program Files\IBM\gsk8\lib64;%PATH%
where X is the system drive. The PATH environmental variable is modified to point to the correct directory.
Linux operating systemsUpdate the LD_LIBRARY_PATH or shell by issuing the following command:
export LD_LIBRARY_PATH=platform-specific-gskit-library-directory:$LD_LIBRARY_PATH
where platform-specific-gskit-library-directory is one of these directories, according to your platform:
  • Linux operating systems/usr/local/ibm/gsk8_64/lib64
AIX operating systemsFor AIX®, issue the following command:
export LIBPATH=/usr/opt/ibm/gsk8_64/lib64:$LIBPATH
Linux operating systemsAIX operating systemsYou must update the following files to set the library path when Db2 or the server is started:
  • instance_directory/sqllib/usercshrc
  • instance_directory/sqllib/userprofile
For the instance_directory/sqllib/usercshrc file, add the following lines:
  • AIX operating systems
    setenv LIBPATH /usr/opt/ibm/gsk8_64/lib64:$LIBPATH
  • Linux operating systems
    setenv LD_LIBRARY_PATH /usr/local/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
For the instance_directory/sqllib/userprofile file, add the following lines:
  • AIX operating systems
    LIBPATH=/usr/opt/ibm/gsk8_64/lib64:$LIBPATH
    export LIBPATH
  • Linux operating systems
    LD_LIBRARY_PATH=/usr/local/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
Verify the library path settings and the GSKit version by issuing the following commands:
  • AIX operating systems
    echo $LIBPATH
    gsk8capicmd_64 -version
  • Linux operating systems
    echo $LD_LIBRARY_PATH
    gsk8ver_64

If your GSKit version is not 8.0.14.28 or later, you must reinstall the server. The reinstallation ensures that the correct GSKit version is available.