Db2 licensing issues
When deploying Db2®, if you see a message about a valid product license not being found in the log you might need to remove the deployment, run a command, and redeploy.
The following example shows the message:
+ db2start
03/30/2020 08:56:55 0 0 SQL8000N DB2START processing failed; a valid product license was not found. If you have licensed this product, ensure the license key is properly registered. You can register the license using the db2licm command. The license key can be obtained from your licensed product CD.
SQL1032N No start database manager command was issued. SQLSTATE=57019
The fix for this problem differs depending on whether you have a single Db2 instance in your cluster or multiple instances.
- Single instance
- Follow these steps:
- Remove the Db2 deployment.
- Run the following
command:
oc get no --no-headers | awk '{print $1}' | xargs -I {} -- ssh -o StrictHostKeyChecking=no {} -- ipcrm -S 0x61a8
- Redeploy Db2.
- Multiple instances
- Follow these steps:
- Locate the node where the Db2 instance that prompted the error message is deployed.
- Remove the Db2 deployment.
- Run the following command:
ipcrm -S 0x61a8
- Redeploy Db2.