168错误处理

报错信息:
[doeuat:doeinst3]/ges1/db2/doeinst3/sqllib/adsm>db2adutl query
Error : calling program and dsmtca are not compatible
calling program build date : Mon Sep 19 17:13:08 2005 Mon Sep 19 17:13:08 2005

TCA build date : Mon Sep 19 16:29:18 2005 Mon Sep 19 16:29:18 2005

Error: Initialize session failed with ADSM return code 168

Error: Initialize session failed with ADSM return code 168


解决办法:

Password file is needed, but user is not root. This message is often generated when the DSMI_DIR environment variable points to a directory that contains a 32-bit version of the dsmtca program, yet the DB2 instance is 64-bit, or vice-versa.  意思是说,环境变量DSMI_DIR指向的目录不对,不应该指向32位的路径,应该直接指向64位的路径。注意修改路径后需要退出用户并重新登录一次,使得刚才的更改生效。当然,如果在linux下,可以直接source用户的参数文件即可。


___________________________________________________________________________________

版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!

Author:   laven54 (lurou)

Email:    laven54@163.com

Blog:      http://blog.youkuaiyun.com/laven54



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值