免费注册 查看新帖 |

Chinaunix

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

help me! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-29 16:29 |只看该作者 |倒序浏览
DB2打完补丁包后,对实例升级, 出现以下情况:
[root@localhost root]# cd /opt/IBM/db2/V8.1/instance
[root@localhost instance]# ./dasupdt dasusr1
SQL4407W  The DB2 Administration Server was stopped successfully.
SQL4406W  The DB2 Administration Server was started successfully.
DBI1070I Program dasupdt completed successfully.

[root@localhost instance]# ./db2iupdt db2inst1
报错了:

DBI1250E Applications are still using instance
          db2inst1.  

Explanation:

There are applications that are still running that are using the
specified instance. All applications using this instance must be
terminated before the command can be completed successfully.  You
can get a list of the applications that are currently using the
instance by issuing the command:


    db2 list applications

User Response:

You can either wait for the applications to end by themselves, or
you can explicitly force the applications to end.  You can logon
as the instance owner and run the command


    db2 force application all

Note that some applications may have unexpected behaviour when
terminated using the above command. After all the applications
have stopped, stop the database manager using "db2istop"
command.  


DBI1122E Instance db2inst1 cannot be updated.  

Explanation:

An attempt was made to update an instance. This instance cannot
be updated because:

o   This "db2iupdt" command cannot be used to update this  
    instance.  

o   The instance is still active.  



User Response:

Ensure that you are using the correct version of the "db2iupdt"
command. Also ensure that there are no db2 processes running at
the instance. Retry the command.  


DBI1079I Output is saved in the log file /tmp/db2iupdt.log.26565.  

Explanation:

All processed and failed operations have been saved into this log
file.  

User Response:

Do not modify this file in any way. This file is for IBM
Technical Support reference.

论坛徽章:
0
2 [报告]
发表于 2006-05-29 18:00 |只看该作者
升级之前,停止实例

论坛徽章:
0
3 [报告]
发表于 2006-05-30 09:26 |只看该作者

回复 2楼 smithy 的帖子

那为什么dasusr1实例可以成功,又怎样停止db2inst1实例呢,谢谢,我刚学,请多帮忙!

论坛徽章:
0
4 [报告]
发表于 2006-05-30 10:09 |只看该作者
db2admin stop
db2stop

论坛徽章:
0
5 [报告]
发表于 2006-05-30 11:04 |只看该作者

回复 4楼 lizhuo 的帖子

/opt/IBM/db2/V8.1/das/bin
$ db2stop
db2stop: Symbol `g_sqltCompTraceFlags' has different size in shared object, cons
ider re-linking
/home/db2inst1/sqllib/adm/db2stop2: Symbol `g_sqltCompTraceFlags' has different
size in shared object, consider re-linking
/home/db2inst1/sqllib/adm/db2stop2: relocation error: /home/db2inst1/sqllib/adm/
db2stop2: undefined symbol: sqloset

论坛徽章:
0
6 [报告]
发表于 2006-05-30 11:41 |只看该作者
kill -9 `ps -ef|grep db2|awk '{print $2}'`
slibclean

论坛徽章:
0
7 [报告]
发表于 2006-05-31 12:52 |只看该作者

请联系我,010-51295545,msn:cyp1975@hotmail.com

你好,故障描述还是不具体,如果方便,请联系我,010-51295545,msn:cyp1975@hotmail.com,
很乐意与你一起交流,帮你解决问题,也可以满足一下我的成就感。
我们在ibm 存储备份,pseries,db2 ,was,tsm方面都有认证和专门的技术考试认证。从事这方面的技术服务多年。最好能电话交流,这样比较直接。

论坛徽章:
0
8 [报告]
发表于 2006-06-01 11:52 |只看该作者
db2admin stop
db2stop force
万一不行,`ps -ef|grep db2|grep $LOGNAME|grep -v grep|awk '{print $2}'`|xargs kill -9
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP