IBM Support

db2prereqcheck returns DBT3507E due to missing mksh or psmisc packages

Troubleshooting


Problem

db2prereqcheck returns DBT3507E if you don't have mksh or psmisc installed, which is only a requirement for TSAMP.  This db2prereqcheck behaviour causes db2setup and db2_install to fail.

Symptom

db2prereqcheck returns:
DBT3507E  The db2prereqcheck utility failed to find the following package or file: "mksh".
and/or 
DBT3507E The db2prereqcheck utility failed to find the following package or file: "psmisc".
This db2prereqcheck behaviour will cause db2_install and db2setup to fail even if you don't intend to install TSAMP.

Cause

This is a code defect, the check for the mksh and psmisc packages should be done by prereqSAM, not db2prereqcheck.

Environment

The problem occurs on all Linux and AIX architectures.

Diagnosing The Problem

You can see if you're affected by issuing the command "db2prereqcheck -l" on Db2 version 11.5.7.0 or later.

Resolving The Problem

Call db2setup or db2_install with "-f sysreq" to bypass this error.
This was fixed in Db2 V11.5.8.0.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFHEG","label":"DB2 Enterprise Server Edition"},"ARM Category":[{"code":"a8m500000008PknAAE","label":"Install\/Migrate\/Upgrade"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.5.0"}]

Document Information

Modified date:
03 May 2023

UID

ibm16538966