|
please backup the image to somewhere and try the tool i just made (rename patch.doc/patch_aix5.doc into patch/patch_aix5, and upload to your aix, and give 755)
(taoewang@db2debug) /home/taoewang/test $ cc test2.C -q64 -O2 -o patch
(taoewang@db2debug) /home/taoewang/test $ db2 restore db sample taken at 20090823123406
SQL2071N An error occurred while accessing the shared library
"/home/taoewang/sqllib/adsm/libtsm.a". Reason code: "1".
(taoewang@db2debug) /home/taoewang/test $ ls -la | grep -i "20090823123406"
-rw------- 1 taoewang build 111534080 Aug 23 13:51 SAMPLE.0.taoewang.NODE0000.CATN0000.20090823123406.001
(taoewang@db2debug) /home/taoewang/test $ ./patch SAMPLE.0.taoewang.NODE0000.CATN0000.20090823123406.001
This tool is write for Noteser for a specific issue asked on ITPUB. This tool is NOT a generic tool to use in all situation, please DO NOT use it if you are NOT Noteser and it's not for the problem described in URL http://www.itpub.net/viewthread. ... ;extra=#pid14131754 . Otherwise this tool may corrupted your backup image permenantly.
Please press Ctrl+C if you want to exit, otherwise press Enter
i=1469800
DB PROFILE
offset_matchstring=0x166d68
offset_cksum=0x166d64
offset_flag=0x1678f5
cksum=0xa92a
(taoewang@db2debug) /home/taoewang/test $ db2 restore db sample taken at 20090823123406
DB20000I The RESTORE DATABASE command completed successfully.
(taoewang@db2debug) /home/taoewang/test $ db2 get db cfg for sample | grep -i "LOGARCHMETH1"
First log archive method (LOGARCHMETH1) = OFF
Options for logarchmeth1 (LOGARCHOPT1) =
(taoewang@db2debug) /home/taoewang/test $ db2 "rollforward db sample complete"
Rollforward Status
Input database alias = sample
Number of nodes have returned status = 1
Node number = 0
Rollforward status = not pending
Next log file to be read =
Log files processed = -
Last committed transaction = 2009-08-23-16.34.08.000000 UTC
DB20000I The ROLLFORWARD command completed successfully.
(taoewang@db2debug) /home/taoewang/test $ db2 connect to sample
Database Connection Information
Database server = DB2/AIX64 9.5.2
SQL authorization ID = TAOEWANG
Local database alias = SAMPLE |
-
-
patch.doc
10.36 KB, 下载次数: 51
this is the version for aix6
-
-
patch_aix5.doc
9.87 KB, 下载次数: 39
this is the version for aix5
|