- 论坛徽章:
- 0
|
我在一台P550的小型机上做了两个分区,两个分区划分的2个CPU、8G内存,都安装AIX5.3的操作系统,和DB2UDB8.2,没有安装任何补丁,并建立了一个64位的实例。之后从另一个小型机的DB2UDB8.2数据库拿了一个在线备份文件进行重定向备份。在一个分区上能够成功还原,发出的命令和返回的信息如下:
db2 => create db db1 on /home/db2inst1 using codeset gbk territory cn@
DB20000I The CREATE DATABASE command completed successfully.
db2 => restore db db1 from /file taken at 20071015040001 to /home/db2inst1 into db1 REPLACE EXISTING redirect@SQL2523W Warning! Restoring to an existing database that is different from the database on the backup image, but have matching names. The target database will be overwritten by the backup version. The Roll-forward recovery logs associated with the target database will be deleted.
SQL1277N Restore has detected that one or more table space containers are inaccessible, or has set their state to 'storage must be defined'.
DB20000I The RESTORE DATABASE command completed successfully.
db2 => set tablespace containers for 0 using (path 'SQLT0000.0')@
SQL1224N A database agent could not be started to service a request, or was terminated as a result of a database system shutdown or a force command.
SQLSTATE=55032
运行db2diag检查set tablespace命令发出之后有以下的消息:
2007-10-18-13.37.01.487388+480 I109025C456 LEVEL: Severe
PID : 331978 TID : 1 PROC : db2agent (DB1) 0
INSTANCE: db2inst1 NODE : 000 DB : DB1
APPHDL : 0-9 APPID: *LOCAL.db2inst1.071018053524
FUNCTION: DB2 UDB, buffer pool services, sqlbConvertTBSCONTQRY_DATA, probe:1
MESSAGE : DiagData
DATA #1 : Hexdump, 4 bytes
0x2FF12540 : 800F 005B ...[
2007-10-18-13.37.01.487641+480 I109482C512 LEVEL: Error
PID : 331978 TID : 1 PROC : db2agent (DB1) 0
INSTANCE: db2inst1 NODE : 000 DB : DB1
APPHDL : 0-9 APPID: *LOCAL.db2inst1.071018053524
FUNCTION: DB2 UDB, DRDA Application Server, sqljsTermAgentReply, probe:10
MESSAGE : DIA5000C A DRDA AS token "AGENT TERMINATING" was detected. The
diagnostic data returned is (SRVDGN): "SQLERRP:SQLEMPCV
SQLCODE:-901".
2007-10-18-13.37.01.488135+480 I109995C721 LEVEL: Error
PID : 331978 TID : 1 PROC : db2agent (DB1) 0
INSTANCE: db2inst1 NODE : 000 DB : DB1
APPHDL : 0-9 APPID: *LOCAL.db2inst1.071018053524
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -901 sqlerrml: 31
sqlerrmc: SQB code page conversion error
sqlerrp : SQLEMPCV
sqlerrd : (1) 0x00000000 (2) 0x00000000 (3) 0x00000000
(4) 0x00000000 (5) 0x00000000 (6) 0x00000140
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) ( (9) (10) (11)
sqlstate:
2007-10-18-13.37.01.488916+480 I110717C437 LEVEL: Severe
PID : 331978 TID : 1 PROC : db2agent (DB1) 0
INSTANCE: db2inst1 NODE : 000 DB : DB1
APPHDL : 0-9 APPID: *LOCAL.db2inst1.071018053524
FUNCTION: DB2 UDB, database utilities, sqludrsa, probe:55
MESSAGE : DiagData
DATA #1 : Hexdump, 4 bytes
0x4058CF34 : 0000 09DB ....
2007-10-18-13.37.01.489193+480 I111155C404 LEVEL: Error
PID : 463098 TID : 1 PROC : db2bp
INSTANCE: db2inst1 NODE : 000
APPID : *LOCAL.db2inst1.071018053524
FUNCTION: DB2 UDB, base sys utilities, sqleriar_database, probe:9
RETCODE : ZRC=0x8005006D=-2147155859=SQLE_CA_BUILT
"SQLCA has been built and saved in component specific control block."
出现这个问题之后,我已经试过将出问题分区的DB2整个删除、重新安装、重新建立实例,再做还原,但是问题依旧出现。
哪位高手可以帮忙分析一下,到底什么问题?万分感激! |
|