License ERROR with DB2 driver on linux

℡╲_俬逩灬. 提交于 2019-12-12 17:27:11

问题


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!


回答1:


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 Command will apply the valid license.



来源:https://stackoverflow.com/questions/26402142/license-error-with-db2-driver-on-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!