问题 一 tcp

1 在db2cmd中执行db2 get dbm cfg |find "SVCENAME"
没有设定

#设定

$ db2 update dbm cfg using SVCENAME db2inst

#用命令查看

$ db2set -all

问题 二

db2 => connect to platform
SQL1224N  The database manager is not able to accept new requests, has
terminated all requests in progress, or has terminated the specified request
because of an error or a forced interrupt.  SQLSTATE=55032

从新建实例

1 删除现有实例

#停掉实例

[db2inst@cnwbzp0253 ~]$ db2stop

#使用root用户登录,进入到DB2安装目录

[root@cnwbzp0253 instance]# pwd
/opt/ibm/db2/V10.1/instance
#执行db2idrop命令删除

[root@cnwbzp0253 instance]# ./db2ilist
db2inst
[root@cnwbzp0253 instance]# ./db2idrop -f db2inst
DBI1006I  An i