DB2 license file expired

Understand the cause of problems that are related to your electronic DB2® license and follow the steps to fix them.

If you see the following message during DB2 or server startup, there might be a problem with your electronic DB2 license:
GLPCTL010E Failed to start database manager for database instance: instance name.
To verify the cause of the problem, type the following command at the command prompt:
db2start
If your license is correct, you see the message:
SQL1063N DB2START processing was successful.

Otherwise, you see a message that your license is expired or is going to expire in some number of days.

If there is a problem with your electronic DB2 license, one of the following situations might be the cause:

  • You have a demonstration license.
    1. You must upgrade your DB2 product from a demonstration license to a product license. Refer Download Document, and download DB2 licenses. You are not required to reinstall DB2.
      Note: Your Proof of Entitlement and License Information booklets identify the products for which you are licensed.
    2. After you have a valid license file on the system, run the following command to activate the license:
      db2licm -a license_filename
  • You purchased a different DB2 product.

    If you install a DB2 product as Try-and-Buy, and you buy a different DB2 product, you must uninstall the Try-and-Buy product first. Then, install the new one that you purchased. Type the following at a command prompt to upgrade your DB2 license:

    db2licm -a license_filename
Note: license_filename is the name of the license file; for example, db2udbee.lic.