免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5623 | 回复: 2
打印 上一主题 下一主题

DB2在AIX下安装问题出错。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-25 11:50 |只看该作者 |倒序浏览
####################################db2setup.log内容######################
+ find_homedir db2inst1
+ trac find_homedir db2inst1
+ [ 0 -eq 0 ]
+ + sr/bin/tee -a//tmp/db2icrt ## call fun
tion find_homedir db2inst1
+ set -x
username=db2inst1
+ /usr/opt/db2_08_01/bin/db2usrinf -q db2inst1
+ /usr/opt/db2_08_01/bin/db2usrinf -d db2inst1
USERHOME=/home/db2inst1
+ dmsg User home dir = /home/db2inst1
+ [ 0 -eq 0 ]
+ /usr/bin/tee /u /tmp/db2icr## User home
ir = /home/db2inst1
+ trax find_homedir
+ [ 0 -eq 0 ]
+ /usr/bin/tee /u /tmp/db2icr## exit func
on find_homedir
+ return 0
INSTUSE=/home/db2inst1/sqllib/ctrl/.instuse
+ /usr/opt/db2_08_01/bin/db2fupdt -f /home/db2inst1/sqllib/ctrl/.instuse -p INSTVER
INSTUSE_VALUE=
rc=1
+ [ 1 -ne 0 ]
INSTUSE_VALUE=0
+ return 1
+ dmsg INSTUSE_VALUE for INSTVER is 0
+ [ 0 -eq 0 ]
+ /usr/bin/tee /u /tmp/db2icr## INSTUSE_V
UE for INSTVER is 0
+ [ X0 = X81 ]
db2pdir=/usr/opt/db2_08_01
+ trax get_db2dir_ver
+ [ 0 -eq 0 ]
+ /usr/bin/tee /u /tmp/db2icr## exit func
on get_db2dir_ver
+ /usr/opt/db2_08_01/instance/db2iset -q db2inst1
+ [ 0 -eq 0 ]
rc=0
+ [ 10 -eq 5 -o 10 -eq 10 ]
+ /usr/opt/db2_08_01/instance/db2iset DB2DLFMADMIN -g
tmp=db2set MsgRC=1303, P1='', P2=''
+ [ db2set MsgRC=1303, P1='', P2='' = db2inst1 ]
+ trax chk_instlist
+ [ 0 -eq 0 ]
+ /usr/bin/tee /u /tmp/db2icr## exit func
on chk_instlist
+ return 0
+ [ 0 -eq 1 ]
+ /usr/opt/db2_08_01/instance/db2iset -d db2inst1
+ [ 0 -ne 0 ]
+ /usr/opt/db2_08_01/instance/db2iset DB2ADMINSERVER -g
tmp=dasusr1
+ [ db2inst1 = dasusr1 ]
+ /usr/opt/db2_08_01/instance/db2iset DB2DLFMADMIN -g
tmp=db2set MsgRC=1303, P1='', P2=''
+ [ db2inst1 = db2set MsgRC=1303, P1='', P2='' ]
+ /usr/opt/db2_08_01/instance/db2iset DQPSERVER -g
tmp=db2set MsgRC=1303, P1='', P2=''
+ [ db2inst1 = db2set MsgRC=1303, P1='', P2='' ]
+ [ 0 -eq 0 ]
+ dmsg List of instances =  
+ [ 0 -eq 0 ]
+ /usr/bin/tee -a /tmp/db2icrt.log.528392
+ /usr/bin/echo ## List of instances =  
+ /usr/opt/db2_08_01/instance/db2ilist
+ trax rm_instlist
+ [ 0 -eq 0 ]
+ /usr/bin/tee -a /tmp/db2icrt.log.528392
+ /usr/bin/echo ## exit function rm_instlist
+ return 0
+ trax undo_chg
+ [ 0 -eq 0 ]
+ /usr/bin/tee -a /tmp/db2icrt.log.528392
+ /usr/bin/echo ## exit function undo_chg
+ exit 1

ERROR:An error occurred while configuring the instance "db2inst1".

Creating DB2 instances:.......Failure
ERROR:An error occurred while updating the configuration parameter "DASADM_GRP"
to "dasadm1" for the DB2 Administration Server. The return value is "-8050".

ERROR:An error occurred while updating the DB2 Administration Server's
configuration with the specified administration group. Please ensure the
DASADM_GROUP setting is correct by using the GET ADMIN CONFIGURATION command.
To modify the value of any DB2 Administration Server configuration parameter,
use the UPDATE ADMIN CONFIGURATION command.

ERROR:An error occurred while updating the configuration parameter
"SMTP_SERVER" to "1" for the DB2 Administration Server. The return value is
"-8050".

ERROR:An error occurred while updating the DB2 Administration Server with the
specified SMTP Server. No notifications will be sent. Please configure the DB2
Administration Server with an SMTP server manually. View the current settings
of SMTP_SERVER using the GET ADMIN CONFIGURATION command. To modify the value
of any DB2 Administration Server configuration parameter, use the UPDATE ADMIN
CONFIGURATION command.

Configuring the DB2 Administration Server:.......Failure
Updating global profile registry:.......Success
ERROR:Could not switch current DB2INSTANCE to "db2inst1". The return code is
"-2029059916".

ERROR:The installation program is unable to add the contact "contact1". The
return value is "5104". Please see the DB2 documentation for more information
about configuring health alert notifications.

Configuring health alert notifications:.......Failure
WARNING:A minor error occurred while installing "DB2 Universal Database
Enterprise Server Edition" on this computer. Some features may not function
correctly.


DB2 Setup log file finished at: Tue Nov 25 10:25:40 BEIST 2008 BEIST
============================================================


# more db2setup.err
/usr/bin/lslpp:  Error while processing fileset e44a44c17bc4df37f9e9a6e911e59b42
.
/usr/bin/lslpp:  No match was found for the SWVPD data search.

小弟郁闷了好几天。都没有找到解决的办法,请在座的各位大虾,给小弟指点下迷津!谢谢了

erorr.jpg (60.76 KB, 下载次数: 43)

erorr.jpg

论坛徽章:
0
2 [报告]
发表于 2008-11-25 21:33 |只看该作者
建议command line安装方式,可参考http://hi.baidu.com/xmltiger/blo ... aa3edaa3cc2bc7.html

论坛徽章:
0
3 [报告]
发表于 2008-11-28 09:09 |只看该作者
错误信息已经非常的完整和明确了啊

ERROR:An error occurred while configuring the instance "db2inst1".
首先告诉你发生错误了

Creating DB2 instances:.......Failure
ERROR:An error occurred while updating the configuration parameter "DASADM_GRP"
to "dasadm1" for the DB2 Administration Server. The return value is "-8050".

然后告诉你发生错误的原因是在更新数据库管理服务器的参数的时候出现了错误,并且告诉你返回值是-8050,不是简单的-1,这个-8050是可以通过IBM的相关网站或者信息中心(Information Center)来查询原因的。

ERROR:An error occurred while updating the DB2 Administration Server's
configuration with the specified administration group. Please ensure the
DASADM_GROUP setting is correct by using the GET ADMIN CONFIGURATION command.
To modify the value of any DB2 Administration Server configuration parameter,
use the UPDATE ADMIN CONFIGURATION command.

这里都说的非常直白了:请确保DASADM_GROUP设置是正确的

ERROR:An error occurred while updating the configuration parameter
"SMTP_SERVER" to "1" for the DB2 Administration Server. The return value is
"-8050".

你需要SMTP_SERVER干嘛使?一般的DB2都部署在企业内部网络,发给谁啊?你真的确定你有邮件服务器可以给你转发邮件给你的DBA(估计就是你啦)?

ERROR:An error occurred while updating the DB2 Administration Server with the
specified SMTP Server. No notifications will be sent. Please configure the DB2
Administration Server with an SMTP server manually. View the current settings
of SMTP_SERVER using the GET ADMIN CONFIGURATION command. To modify the value
of any DB2 Administration Server configuration parameter, use the UPDATE ADMIN
CONFIGURATION command.

Configuring the DB2 Administration Server:.......Failure
Updating global profile registry:.......Success
ERROR:Could not switch current DB2INSTANCE to "db2inst1". The return code is
"-2029059916".
无法切换当前实例到db2inst1是因为你创建实例失败,是你之前的结果的连锁反应,如果你的实例创建成功了,这一步100%就pass了

ERROR:The installation program is unable to add the contact "contact1". The
return value is "5104". Please see the DB2 documentation for more information
about configuring health alert notifications.

Configuring health alert notifications:.......Failure
WARNING:A minor error occurred while installing "DB2 Universal Database
Enterprise Server Edition" on this computer. Some features may not function
correctly.


建议:
1、要简单地浏览一下release Notes,关注一下对于前一版本增加了什么,改进了什么,修补了什么
2、强烈建议那些只想安装DB2又不愿意投入更多的时间的"DBA"花2个小时把DB2的安装手册好好看一遍,比什么都强
3、基于第2点,建议这些“DBA”老老实实按照安装文档来安装
4、对日志呢,还是要谨慎地去分析的
5、安装目录什么的,没有必要去随意更改,除非你说得出安装在/usr/db2比安装在/opt/ibm/db2目录下的优点,至少我是不知道有些什么优点,缺点倒是知道一个:就是工作交接或者出现故障找人处理的时候需要更多的口舌
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP