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:
- Log in to the Db2 virtual machines.
- 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.
See the following example packages for RHEL 7.9:
https://centos.pkgs.org/7/centos-x86_64/mksh-46-8.el7.x86_64.rpm.html
https://centos.pkgs.org/7/centos-x86_64/patch-2.7.1-12.el7_7.x86_64.rpm.html
https://centos.pkgs.org/7/centos-x86_64/mksh-46-8.el7.x86_64.rpm.html
https://centos.pkgs.org/7/centos-x86_64/patch-2.7.1-12.el7_7.x86_64.rpm.html
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"}]
Was this topic helpful?
Document Information
Modified date:
28 January 2022
UID
ibm16551858