Chinaunix

标题: DB2 无法安装,是怎么回事? [打印本页]

作者: ITIL    时间: 2006-11-08 13:05
标题: DB2 无法安装,是怎么回事?
正版DB2
在AIX 5.3上用db2setup安装时,没出现接受license界面,再配置选项完成后,无法安装

错误日志:
ERROR:You have selected to decline the license agreement. Installation has not
been completed. You may restart installation later or you may return the
Program to the party (IBM or its reseller) from whom it was acquired and
request a refund.

For information on how to accept the license agreement refer to the DB2
documentation or the LIC_AGREEMENT keyword in the sample response files.

Checking license agreement acceptance:.......Failure
ERROR:A major error occurred while installing "DB2 Universal Database
Enterprise Server Edition" on this computer. The installation can not continue.
If the problem persists please contact your technical service representative.
作者: ITIL    时间: 2006-11-08 15:12
自己解决~
作者: kll99    时间: 2008-02-20 10:59
你好,我现在也遇到了这个问题,原因是在安装的过程中没有出现接受license的对话框。
我是在aix上安装的。
AIX上原来的数据库坏了,我没有使用卸载命令卸载就直接删除安装文件和用户、组以及用户目录。可能是因为没有卸载干净的缘故。使用smit remove卸载db2的安装包不成功。

能否告诉我你是怎么解决的吗?谢谢
作者: hncal    时间: 2008-02-20 17:32
标题: 回复 #1 ITIL 的帖子
重新配置和启动一下license就OK了。
作者: limaojia    时间: 2008-03-26 11:50
确实是DB2没有卸载干净,你仔细的话可以发现安装步骤少了"接受 license"这一步。这是因为安装程序延用了之前的license。

输入这样的命令 installp -u db2_08_01;
看卸载的是什么版本,如果是之前的版本,证明老版本没有卸载干净。
再次输入 installp -u db2_08_01;
如果出现 pre-instalation failure的错误,这是新版本安装失败后不能卸载的原因,不用着急,加个命令参数就OK。

新命令如下
installp -ug db2_08_01;
卸载成功后,删除urs/opt/db2_08_01/
清空/var/db2*

就OK了。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2