[求助]DB2的故障问题...
某台服务器上有两个数据库,其中一个小的能正常使用,另外一个大的只要一尝试连接(比如db2 connect to xxx)就会自动停止服务(相当于自动db2stop)查看db2diag.log后发现如下一些信息
2009-05-21-13.00.17.654353+480 I87729A466 LEVEL: Error
PID : 246422 TID: 1 PROC : db2agent (CREDITDB) 0
INSTANCE: db2inst2 NODE : 000 DB : CREDITDB
APPHDL: 0-7 APPID: *LOCAL.db2inst2.090521050009
FUNCTION: DB2 UDB, data protection, sqlpgrlg, probe:10
RETCODE : ZRC=0x8610000D=-2045771763=SQLP_BADLOG "Log File cannot be used"
DIA8414C Logging can not continue due to an error.
------------------------------------------------------------------------------------
2009-05-21-13.00.17.655931+480 I90198A449 LEVEL: Error
PID : 246422 TID: 1 PROC : db2agent (CREDITDB) 0
INSTANCE: db2inst2 NODE : 000 DB : CREDITDB
APPHDL: 0-7 APPID: *LOCAL.db2inst2.090521050009
FUNCTION: DB2 UDB, data protection, sqlpSpRb, probe:50
DATA #1 : String, 91 bytes
Failed to rollback to savepoint. Error code: -2045771763
Request rollback savepoint type: 3
----------------------------------------------------------------------------
2009-05-21-13.00.17.785397+480 E101880A456 LEVEL: Error
PID : 246422 TID: 1 PROC : db2agent (CREDITDB) 0
INSTANCE: db2inst2 NODE : 000 DB : CREDITDB
APPHDL: 0-7 APPID: *LOCAL.db2inst2.090521050009
FUNCTION: DB2 UDB, data management, sqldEndIndexCreate, probe:2
MESSAGE : ADM5543EIndex rebuild of indexes on table "SYSIBM.SYSTABLES"
failed. The SQLCODE is "-902".
-----------------------------------------------------------------------------
2009-05-21-13.00.17.900190+480 I115608A471 LEVEL: Error
PID : 246422 TID: 1 PROC : db2agent (CREDITDB) 0
INSTANCE: db2inst2 NODE : 000 DB : CREDITDB
APPHDL: 0-7 APPID: *LOCAL.db2inst2.090521050009
FUNCTION: DB2 UDB, catalog services, sqlrlScanOpen, probe:800
RETCODE : ZRC=0x87040001=-2029780991=SQLD_BADPAGE "Bad Data Page"
DIA8500C A data file error has occurred, record id is "".
---------------------------------------------------------------------------------
2009-05-21-13.00.17.972227+480 I135835A472 LEVEL: Error
PID : 246422 TID: 1 PROC : db2agent (CREDITDB) 0
INSTANCE: db2inst2 NODE : 000 DB : CREDITDB
APPHDL: 0-7 APPID: *LOCAL.db2inst2.090521050009
FUNCTION: DB2 UDB, data protection, sqlpthrd, probe:440
RETCODE : ZRC=0x8602001A=-2046689254=SQLB_BADD "Bad Database, Can't flush"
DIA8427C The database has been marked as being damaged.
-----------------------------------------------------------------------------------
而且其中有这么一句
MESSAGE : ADM7518C"CREDITDB" marked bad.
是不是事务日志文件损坏了?没救是是吧? The database has been marked as being damaged.
最后这句。。
唉,现在S1真是全能型论坛
回复 2楼的 chrisY 的帖子
下至小学生中学生家庭作业,上至逃离黑手党 最近没备份过?先完全备份当前的数据库,然后恢复到以前的备份看看会不会出现问题
页:
[1]