Db2をインストールするための前提条件の検査

検査コマンド

インストール・イメージを解凍したディレクトリに移動して「db2prereqcheck」コマンドを実行する。

# pwd
/work/server_dec
# ./db2prereqcheck -i -v 11.5.9.0
==========================================================================

Fri Jul 19 14:18:16 2024
Checking prerequisites for DB2 installation. Version "11.5.9.0". Operating system "Linux" 
...

ありがちなエラー

Validating "ksh symbolic link" ... 
   WARNING : Requirement not matched. 

kshが不足している。Db2単体で利用する場合は必要ないが、Tivoli System Automation for Multiplatformsを使う場合には必要になるとのこと。(yum install kshで解消)

Validating "32 bit version of "libstdc++.so.6" " ... 
   Found the 64 bit "/lib64/libstdc++.so.6" in the following directory "/lib64". 
DBT3514W  The db2prereqcheck utility failed to find the following 32-bit library file: "libstdc++.so.6". 
Validating "/lib/libpam.so*" ... 
   DBT3514W  The db2prereqcheck utility failed to find the following 32-bit library file: "/lib/libpam.so*". 
   WARNING : Requirement not matched.

libstdc++やlibpamのWarning(failed)は64bit環境では無視できる(IBMのマニュアルに記載)とのこと。