zcl32 发表于 2012-1-2 11:39
检查dbm cfg中svcename是否设置为db2c_inst1,如果没有,设置一下:
db2 update dbm cfg using svcename d ...
執行結果如下所示:
[uec@ns-db16 ~]$ db2 update dbm cfg using svcename db2c_inst1
DB20000IThe UPDATE DATABASE MANAGER CONFIGURATION command completed
successfully.
[uec@ns-db16 ~]$ db2stop
01/02/2012 11:41:56 0 0 SQL1064NDB2STOP processing was successful.
SQL1064NDB2STOP processing was successful.
[uec@ns-db16 ~]$ db2start
01/02/2012 11:42:05 0 0 SQL1063NDB2START processing was successful.
SQL1063NDB2START processing was successful.
[uec@ns-db16 ~]$ netstat -vtat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address
Foreign Address
Stat
e
tcp00 *:32769
*:*
LIST
EN
tcp00 *:1218
*:*
LIST
EN
tcp00 *:523
*:*
LIST
EN
tcp00 *:sunrpc
*:*
LIST
EN
tcp00 *:db2c_uec
*:*
LIST
EN
tcp00 *:auth
*:*
LIST
EN
tcp00 ns-db16:ipp
*:*
LIST
EN
tcp01 ns-db16:34404
192.168.5.206:db2c_uecSYN_
SENT
tcp00 *:1219
*:*
LIST
EN
tcp0132 ns-db16:1219
::ffff:172.16.22.33:2159ESTA
BLISHED
tcp00 ns-db16:1219
::ffff:172.16.9.199:2328ESTA
BLISHED