IBM Support

Upgrading existing Db2 virtual system instances in IBM Cloud Pak System to Db2 version 11.5.7 or higher on RHEL 7.x fails

Troubleshooting


Problem

Upgrading existing Db2 virtual system instances in IBM Cloud Pak System to Db2 version 11.5.7 or higher on RHEL 7.x fails due to the missing mksh and patch packages.

Symptom

When you run the process to upgrade the database version to 11.5.7 by using the Manage > Operations > Apply a Db2 fixpack menu for a Db2 virtual system instance, the result shows that the upgrade was successful. However, the upgrade failed. Validate the upgrade status with the following steps:
  1. Log in to the Db2 virtual machines.
  2. Verify the db2level by running the following command:
    su - db2inst1 -c db2level
It does not show the upgraded db2version.
The following message is seen in the Db2 server trace logs of the pattern (opt/IBM/maestro/agent/usr/servers/OS_Node_1.xxxxxx/logs/OS_Node_1xxxx.DB2_Server_1-Part/trace.log)

Requirement not matched for DB2 database "Server". Version: "11.5.7.0".
Summary of prerequisites that are not met on the current system:
DBT3507E The db2prereqcheck utility failed to find the following package or file: "mksh".

Resolving The Problem

Install the following mksh and patch packages to resolve the issue.
  • patch.x86_64
  • mksh.x86_64
Install correct packages for the RHEL7.x version that the Db2 virtual machines are running.

Note: The exact version of these packages depends on the RHEL7.x version.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFQSV","label":"IBM Cloud Pak System Software"},"ARM Category":[{"code":"a8m0z000000cwneAAA","label":"Product Components-\u003EPatterns-\u003EDB2"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2.3.3"}]

Document Information

Modified date:
28 January 2022

UID

ibm16551858