fox2 发表于 2011-03-13 18:18

紧急 db2set 问题

aix 5.3   db2 9.1

是两台lpar主机做的HACMP,数据库在a节点运行,当切换到节点的时候数据库连接不上了,

检查了状态,数据库的实例在,数据库的目录和用户宿主都是对了,数据库也可以启动,但就是连接不上。

启动的时候提示:
db2 connect to sbsdb
SQL0332NCharacter conversion from the source code page "1386" to the target
code page "819" is not supported.SQLSTATE=57017

我就用db2setdb2codepage=1386 修改,但提示
$ db2set DB2CODEPAGE=1386

DBI1306N The instance profile is not defined.

Explanation:

The instance is not defined in the target machine registry.

User Response:

Specify an existing instance name or create the required
instance.

请各位大侠帮助分析一下,多谢了!!

fox2 发表于 2011-03-13 18:24

$ db2set -all只有一下两行
DB2SYSTEM=实例名
DB2INSTDEF=实例用户

fox2 发表于 2011-03-13 18:26

切换到b节点上出现的以上问题

fox2 发表于 2011-03-14 12:21

终于搞定了,呵呵!
页: [1]
查看完整版本: 紧急 db2set 问题