168错误处理

来源:互联网 发布:筒灯和射灯品牌 知乎 编辑:程序博客网 时间:2024/04/27 16:52
报错信息:
[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.csdn.net/laven54



0 0