Troubleshooting
Problem
When updating from V11.5 GA to any higher fix pack, installFixPack may finish with a minor error due to the failure of license registration.
Symptom
installFixPack output will be as follows:
the installFixPack.log will show the following:
A minor error occurred during the execution. For more information see the DB2 installation log at /tmp/installFixPack.log
the installFixPack.log will show the following:
ERROR: LIC1407N You are trying to register an invalid license certificate file, "/opt/ibm/db2/V11.5.5.0/.licbkup/lic00000001.lic". ERROR: The installation of the license file "/opt/ibm/db2/V11.5.5.0/.licbkup/lic00000001.lic" using the command "/opt/ibm/db2/V11.5.5.0/adm/db2licm -a "/opt/ibm/db2/V11.5.5.0/.licbkup/lic00000001.lic" -install" did not complete successfully. The error data is "". The Return value was "160". Registering DB2 licenses :.......Failure
Cause
some products on V11.5 may contain a license file with carriage returns; Connect Server for example.
Environment
Linux, AIX
Diagnosing The Problem
open the license files using vim -b and check for carriage returns represented by the ^M character
from the example in the symptoms section, you can open it like this
from the example in the symptoms section, you can open it like this
vim -b /opt/ibm/db2/V11.5.5.0/.licbkup/lic00000001.lic
Resolving The Problem
Remove the carriage returns at the end of each line
a way to do this is to perform the dos2unix command on the license file
a way to do this is to perform the dos2unix command on the license file
dos2unix /opt/ibm/db2/V11.5.5.0/.licbkup/lic00000001.lic
and reapply the license manually using the db2licm command as root
/opt/ibm/db2/V11.5.5.0/adm/db2licm -a /opt/ibm/db2/V11.5.5.0/.licbkup/lic00000001.lic
Document Location
Worldwide
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008PknAAE","label":"Install\/Migrate\/Upgrade"},{"code":"a8m500000008Pm8AAE","label":"Install\/Migrate\/Upgrade->Command Line"},{"code":"a8m500000008Pm7AAE","label":"Install\/Migrate\/Upgrade->Fixpak"},{"code":"a8m500000008Pm9AAE","label":"Install\/Migrate\/Upgrade->GUI Install"},{"code":"a8m500000008PmBAAU","label":"Install\/Migrate\/Upgrade->Licensing"},{"code":"a8m50000000L2QmAAK","label":"Install\/Migrate\/Upgrade->Special Build"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"11.5.0;11.5.1;11.5.2;11.5.3;11.5.4"}]
Was this topic helpful?
Document Information
Modified date:
23 September 2020
UID
ibm16336433