Im trying to connect to a DB2 db. ive installed driver server package from IBM 10.5.
When i try to connect to the db2 server im receiving that message:
[IBM][CLI Driver] SQL1598N An attempt to connect to the database server failed because of a licensing problem. SQLSTATE=42968 SQLCODE=-1598
How can i solve this problem? Im looking for inf on google and i cant see anything to help me.
The driver server package has been installed on debian machine to use with php/apache2 server.
Thanks!
Do a db2licm -l where your db2 is installed.
In your case it will tell you something like - Product name: "DB2 Express-C" Expiry date: "Expired" Product identifier: "db2expc" Version information: "9.7" Max number of CPUs: "2" Max amount of memory (GB): "2"
Notice expiry date.
Get a valid license and place it in a file *.lic
Navigate to the db2 installation folder and give db2licm -a filename. This command will apply the valid license.