在linux上使用DB2驱动程序的许可证ERROR [英] License ERROR with DB2 driver on linux

查看:792
本文介绍了在linux上使用DB2驱动程序的许可证ERROR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图连接到一个DB2数据库。从IBM 10.5安装驱动程序服务器软件包。



当我尝试连接到接收到该消息的db2服务器时:


[IBM] [CLI驱动程序] SQL1598N由于发生许可问题,尝试连接到数据库服务器失败。 SQLSTATE = 42968 SQLCODE = -1598


我如何解决这个问题?我在谷歌寻找inf,我无法看到任何帮助我。



驱动程序服务器包已经安装在debian机器上使用php / apache2服务器。 p>

谢谢!

解决方案

执行db2licm -l,



在你的情况下,它会告诉你一些类似的东西 -
产品名称:DB2 Express-C
到期日:已过期
产品标识符:db2expc
版本信息:9.7
最大CPU数:2
最大内存量(GB):2



通知到期日。



获取有效的许可证并将其放在一个文件* .lic



导航到db2安装文件夹并提供db2licm -a filename
命令将应用有效的许可证。


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

这篇关于在linux上使用DB2驱动程序的许可证ERROR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆