informix onbar恢復報錯,onbar程式直接退出
IBM Informix Dynamic Server Version 11.50.FC5 onbar恢復報錯:
1,按照時間點恢復onbar直接報錯停止
[informix@tonykorn97 bin]$ onbar -r -t "2017-03-06 15:58:58"
*** glibc detected *** /home/informix/bin/onbar_d: double free or corruption (!prev): 0x00000000038c4110 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3748475f3e]
/lib64/libc.so.6[0x3748478dd0]
/lib64/libc.so.6[0x374847bd60]
/lib64/libc.so.6(realloc+0x158)[0x374847c058]
/lib64/libc.so.6[0x37484353bd]
/lib64/libc.so.6(putenv+0x5e)[0x37484350fe]
/usr/lib/libxnmi.so(lg_putenv+0x47)[0x7f22983f58c7]
/usr/lib/libxnmi.so(_nwbsa_setup_jobs+0x2cd)[0x7f229830a46d]
/usr/lib/libxnmi.so(BSABeginTxn+0x21b)[0x7f22983084db]
/home/informix/bin/onbar_d(BSABeginTxn+0x12e)[0x4aa7fe]
/home/informix/bin/onbar_d(barBeginTxn+0x6b)[0x4dcccb]
/home/informix/bin/onbar_d(barCreateObject+0x48a)[0x4dd30a]
/home/informix/bin/onbar_d(bar_salvage_logs+0x4f8)[0x4a67e8]
/home/informix/bin/onbar_d(bar_exec+0x1638)[0x49f948]
/home/informix/bin/onbar_d(main+0x1934)[0x485d14]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x374841ed1d]
/home/informix/bin/onbar_d[0x482c3a]
======= Memory map: ========
00400000-00688000 r-xp 00000000 fc:11 786170 /home/informix/bin/onbar_d
00787000-007df000 rwxp 00287000 fc:11 786170 /home/informix/bin/onbar_d
007df000-01c2b000 rwxp 00000000 00:00 0
0381d000-03931000 rwxp 00000000 00:00 0 [heap]
3748000000-3748020000 r-xp 00000000 fc:01 524290 /lib64/ld-2.12.so
374821f000-3748220000 r-xp 0001f000 fc:01 524290 /lib64/ld-2.12.so
3748220000-3748221000 rwxp 00020000 fc:01 524290 /lib64/ld-2.12.so
3748221000-3748222000 rwxp 00000000 00:00 0
3748400000-374858a000 r-xp 00000000 fc:01 524300 /lib64/libc-2.12.so
374858a000-374878a000 ---p 0018a000 fc:01 524300 /lib64/libc-2.12.so
374878a000-374878e000 r-xp 0018a000 fc:01 524300 /lib64/libc-2.12.so
374878e000-3748790000 rwxp 0018e000 fc:01 524300 /lib64/libc-2.12.so
3748790000-3748794000 rwxp 00000000 00:00 0
3748800000-3748802000 r-xp 00000000 fc:01 524308 /lib64/libdl-2.12.so
3748802000-3748a02000 ---p 00002000 fc:01 524308 /lib64/libdl-2.12.so
3748a02000-3748a03000 r-xp 00002000 fc:01 524308 /lib64/libdl-2.12.so
3748a03000-3748a04000 rwxp 00003000 fc:01 524308 /lib64/libdl-2.12.so
3748c00000-3748c17000 r-xp 00000000 fc:01 524304 /lib64/libpthread-2.12.so
3748c17000-3748e17000 ---p 00017000 fc:01 524304 /lib64/libpthread-2.12.so
3748e17000-3748e18000 r-xp 00017000 fc:01 524304 /lib64/libpthread-2.12.so
3748e18000-3748e19000 rwxp 00018000 fc:01 524304 /lib64/libpthread-2.12.so
3748e19000-3748e1d000 rwxp 00000000 00:00 0
3749000000-3749083000 r-xp 00000000 fc:01 524310 /lib64/libm-2.12.so
3749083000-3749282000 ---p 00083000 fc:01 524310 /lib64/libm-2.12.so
3749282000-3749283000 r-xp 00082000 fc:01 524310 /lib64/libm-2.12.so
3749283000-3749284000 rwxp 00083000 fc:01 524310 /lib64/libm-2.12.so
3749400000-3749407000 r-xp 00000000 fc:01 524316 /lib64/librt-2.12.so
3749407000-3749606000 ---p 00007000 fc:01 524316 /lib64/librt-2.12.so
3749606000-3749607000 r-xp 00006000 fc:01 524316 /lib64/librt-2.12.so
3749607000-3749608000 rwxp 00007000 fc:01 524316 /lib64/librt-2.12.so
374a400000-374a416000 r-xp 00000000 fc:01 524314 /lib64/libgcc_s-4.4.7-20120601.so.1
374a416000-374a615000 ---p 00016000 fc:01 524314 /lib64/libgcc_s-4.4.7-20120601.so.1
374a615000-374a616000 rwxp 00015000 fc:01 524314 /lib64/libgcc_s-4.4.7-20120601.so.1
374b800000-374b80c000 r-xp 00000000 fc:01 524352 /lib64/libpam.so.0.82.2
374b80c000-374ba0c000 ---p 0000c000 fc:01 524352 /lib64/libpam.so.0.82.2
374ba0c000-374ba0d000 r-xp 0000c000 fc:01 524352 /lib64/libpam.so.0.82.2
374ba0d000-374ba0e000 rwxp 0000d000 fc:01 524352 /lib64/libpam.so.0.82.2
374c800000-374c802000 r-xp 00000000 fc:01 524338 /lib64/libfreebl3.so
374c802000-374ca01000 ---p 00002000 fc:01 524338 /lib64/libfreebl3.so
374ca01000-374ca02000 r-xp 00001000 fc:01 524338 /lib64/libfreebl3.so
374ca02000-374ca03000 rwxp 00002000 fc:01 524338 /lib64/libfreebl3.so
374cc00000-374cc07000 r-xp 00000000 fc:01 524349 /lib64/libcrypt-2.12.so
374cc07000-374ce07000 ---p 00007000 fc:01 524349 /lib64/libcrypt-2.12.so
374ce07000-374ce08000 r-xp 00007000 fc:01 524349 /lib64/libcrypt-2.12.so
374ce08000-374ce09000 rwxp 00008000 fc:01 524349 /lib64/libcrypt-2.12.so
374ce09000-374ce37000 rwxp 00000000 00:00 0
7f2290000000-7f2290021000 rwxp 00000000 00:00 0
7f2290021000-7f2294000000 ---p 00000000 00:00 0
7f229760e000-7f229760f000 rwxp 00000000 00:00 0
7f229760f000-7f2297610000 r-xp 00000000 fc:01 1180953 /usr/lib64/gconv/ISO8859-1.so
7f2297610000-7f2297810000 ---p 00001000 fc:01 1180953 /usr/lib64/gconv/ISO8859-1.so
7f2297810000-7f2297811000 r-xp 00001000 fc:01 1180953 /usr/lib64/gconv/ISO8859-1.so
7f2297811000-7f2297812000 rwxp 00002000 fc:01 1180953 /usr/lib64/gconv/ISO8859-1.so
7f2297812000-7f2297819000 r-xs 00000000 fc:01 1181742 /usr/lib64/gconv/gconv-modules.cache
7f2297819000-7f22982aa000 rwxp 00000000 00:00 0
7f22982aa000-7f229843a000 r-xp 00000000 fc:01 1197352 /usr/lib/libxnmi.so
7f229843a000-7f229853a000 ---p 00190000 fc:01 1197352 /usr/lib/libxnmi.so
7f229853a000-7f229857f000 rwxp 00190000 fc:01 1197352 /usr/lib/libxnmi.so
7f229857f000-7f2298ae9000 rwxp 00000000 00:00 0
7f2298ae9000-7f229e97b000 r-xp 00000000 fc:01 1195901 /usr/lib/locale/locale-archive
7f229e97b000-7f229e988000 r-xp 00000000 fc:01 524315 /lib64/libnss_files-2.12.so
7f229e988000-7f229eb87000 ---p 0000d000 fc:01 524315 /lib64/libnss_files-2.12.so
7f229eb87000-7f229eb88000 r-xp 0000c000 fc:01 524315 /lib64/libnss_files-2.12.so/home/informix/bin/onbar: line 89: 4973 Segmentation fault ${INFORMIXDIR}/bin/onbar_d "$@"
[informix@tonykorn97 bin]$
2,更改總部配置檔案,更改SHMBASE為-1
#SHMBASE 0x44000000L
SHMBASE -1
3,恢復報錯報錯
If you are using the correct SHMBASE value in your ONCONFIG file, then
consider this message informational only.
14:36:11 OS couldn't allocate first resident segment at SHMBASE (0x1).
[informix@tonykorn97 ~]$
4,更改配置檔案
原配置引數為(這樣的引數在同一臺機器上恢復其他例項是正常的)
RESIDENT 0
SHMBASE 0x44000000L
SHMVIRTSIZE 326560
SHMADD 32656
EXTSHMADD 8192
SHMTOTAL 0
SHMVIRT_ALLOCSEG 0,3
SHMNOACCESS
更改為如下引數可以正常恢復。
RESIDENT 0
SHMBASE 0x44000000L
#SHMBASE -1
SHMVIRTSIZE 32656
SHMADD 8192
EXTSHMADD 8192
SHMTOTAL 0
SHMVIRT_ALLOCSEG 0,3
SHMNOACCESS
1,按照時間點恢復onbar直接報錯停止
[informix@tonykorn97 bin]$ onbar -r -t "2017-03-06 15:58:58"
*** glibc detected *** /home/informix/bin/onbar_d: double free or corruption (!prev): 0x00000000038c4110 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3748475f3e]
/lib64/libc.so.6[0x3748478dd0]
/lib64/libc.so.6[0x374847bd60]
/lib64/libc.so.6(realloc+0x158)[0x374847c058]
/lib64/libc.so.6[0x37484353bd]
/lib64/libc.so.6(putenv+0x5e)[0x37484350fe]
/usr/lib/libxnmi.so(lg_putenv+0x47)[0x7f22983f58c7]
/usr/lib/libxnmi.so(_nwbsa_setup_jobs+0x2cd)[0x7f229830a46d]
/usr/lib/libxnmi.so(BSABeginTxn+0x21b)[0x7f22983084db]
/home/informix/bin/onbar_d(BSABeginTxn+0x12e)[0x4aa7fe]
/home/informix/bin/onbar_d(barBeginTxn+0x6b)[0x4dcccb]
/home/informix/bin/onbar_d(barCreateObject+0x48a)[0x4dd30a]
/home/informix/bin/onbar_d(bar_salvage_logs+0x4f8)[0x4a67e8]
/home/informix/bin/onbar_d(bar_exec+0x1638)[0x49f948]
/home/informix/bin/onbar_d(main+0x1934)[0x485d14]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x374841ed1d]
/home/informix/bin/onbar_d[0x482c3a]
======= Memory map: ========
00400000-00688000 r-xp 00000000 fc:11 786170 /home/informix/bin/onbar_d
00787000-007df000 rwxp 00287000 fc:11 786170 /home/informix/bin/onbar_d
007df000-01c2b000 rwxp 00000000 00:00 0
0381d000-03931000 rwxp 00000000 00:00 0 [heap]
3748000000-3748020000 r-xp 00000000 fc:01 524290 /lib64/ld-2.12.so
374821f000-3748220000 r-xp 0001f000 fc:01 524290 /lib64/ld-2.12.so
3748220000-3748221000 rwxp 00020000 fc:01 524290 /lib64/ld-2.12.so
3748221000-3748222000 rwxp 00000000 00:00 0
3748400000-374858a000 r-xp 00000000 fc:01 524300 /lib64/libc-2.12.so
374858a000-374878a000 ---p 0018a000 fc:01 524300 /lib64/libc-2.12.so
374878a000-374878e000 r-xp 0018a000 fc:01 524300 /lib64/libc-2.12.so
374878e000-3748790000 rwxp 0018e000 fc:01 524300 /lib64/libc-2.12.so
3748790000-3748794000 rwxp 00000000 00:00 0
3748800000-3748802000 r-xp 00000000 fc:01 524308 /lib64/libdl-2.12.so
3748802000-3748a02000 ---p 00002000 fc:01 524308 /lib64/libdl-2.12.so
3748a02000-3748a03000 r-xp 00002000 fc:01 524308 /lib64/libdl-2.12.so
3748a03000-3748a04000 rwxp 00003000 fc:01 524308 /lib64/libdl-2.12.so
3748c00000-3748c17000 r-xp 00000000 fc:01 524304 /lib64/libpthread-2.12.so
3748c17000-3748e17000 ---p 00017000 fc:01 524304 /lib64/libpthread-2.12.so
3748e17000-3748e18000 r-xp 00017000 fc:01 524304 /lib64/libpthread-2.12.so
3748e18000-3748e19000 rwxp 00018000 fc:01 524304 /lib64/libpthread-2.12.so
3748e19000-3748e1d000 rwxp 00000000 00:00 0
3749000000-3749083000 r-xp 00000000 fc:01 524310 /lib64/libm-2.12.so
3749083000-3749282000 ---p 00083000 fc:01 524310 /lib64/libm-2.12.so
3749282000-3749283000 r-xp 00082000 fc:01 524310 /lib64/libm-2.12.so
3749283000-3749284000 rwxp 00083000 fc:01 524310 /lib64/libm-2.12.so
3749400000-3749407000 r-xp 00000000 fc:01 524316 /lib64/librt-2.12.so
3749407000-3749606000 ---p 00007000 fc:01 524316 /lib64/librt-2.12.so
3749606000-3749607000 r-xp 00006000 fc:01 524316 /lib64/librt-2.12.so
3749607000-3749608000 rwxp 00007000 fc:01 524316 /lib64/librt-2.12.so
374a400000-374a416000 r-xp 00000000 fc:01 524314 /lib64/libgcc_s-4.4.7-20120601.so.1
374a416000-374a615000 ---p 00016000 fc:01 524314 /lib64/libgcc_s-4.4.7-20120601.so.1
374a615000-374a616000 rwxp 00015000 fc:01 524314 /lib64/libgcc_s-4.4.7-20120601.so.1
374b800000-374b80c000 r-xp 00000000 fc:01 524352 /lib64/libpam.so.0.82.2
374b80c000-374ba0c000 ---p 0000c000 fc:01 524352 /lib64/libpam.so.0.82.2
374ba0c000-374ba0d000 r-xp 0000c000 fc:01 524352 /lib64/libpam.so.0.82.2
374ba0d000-374ba0e000 rwxp 0000d000 fc:01 524352 /lib64/libpam.so.0.82.2
374c800000-374c802000 r-xp 00000000 fc:01 524338 /lib64/libfreebl3.so
374c802000-374ca01000 ---p 00002000 fc:01 524338 /lib64/libfreebl3.so
374ca01000-374ca02000 r-xp 00001000 fc:01 524338 /lib64/libfreebl3.so
374ca02000-374ca03000 rwxp 00002000 fc:01 524338 /lib64/libfreebl3.so
374cc00000-374cc07000 r-xp 00000000 fc:01 524349 /lib64/libcrypt-2.12.so
374cc07000-374ce07000 ---p 00007000 fc:01 524349 /lib64/libcrypt-2.12.so
374ce07000-374ce08000 r-xp 00007000 fc:01 524349 /lib64/libcrypt-2.12.so
374ce08000-374ce09000 rwxp 00008000 fc:01 524349 /lib64/libcrypt-2.12.so
374ce09000-374ce37000 rwxp 00000000 00:00 0
7f2290000000-7f2290021000 rwxp 00000000 00:00 0
7f2290021000-7f2294000000 ---p 00000000 00:00 0
7f229760e000-7f229760f000 rwxp 00000000 00:00 0
7f229760f000-7f2297610000 r-xp 00000000 fc:01 1180953 /usr/lib64/gconv/ISO8859-1.so
7f2297610000-7f2297810000 ---p 00001000 fc:01 1180953 /usr/lib64/gconv/ISO8859-1.so
7f2297810000-7f2297811000 r-xp 00001000 fc:01 1180953 /usr/lib64/gconv/ISO8859-1.so
7f2297811000-7f2297812000 rwxp 00002000 fc:01 1180953 /usr/lib64/gconv/ISO8859-1.so
7f2297812000-7f2297819000 r-xs 00000000 fc:01 1181742 /usr/lib64/gconv/gconv-modules.cache
7f2297819000-7f22982aa000 rwxp 00000000 00:00 0
7f22982aa000-7f229843a000 r-xp 00000000 fc:01 1197352 /usr/lib/libxnmi.so
7f229843a000-7f229853a000 ---p 00190000 fc:01 1197352 /usr/lib/libxnmi.so
7f229853a000-7f229857f000 rwxp 00190000 fc:01 1197352 /usr/lib/libxnmi.so
7f229857f000-7f2298ae9000 rwxp 00000000 00:00 0
7f2298ae9000-7f229e97b000 r-xp 00000000 fc:01 1195901 /usr/lib/locale/locale-archive
7f229e97b000-7f229e988000 r-xp 00000000 fc:01 524315 /lib64/libnss_files-2.12.so
7f229e988000-7f229eb87000 ---p 0000d000 fc:01 524315 /lib64/libnss_files-2.12.so
7f229eb87000-7f229eb88000 r-xp 0000c000 fc:01 524315 /lib64/libnss_files-2.12.so/home/informix/bin/onbar: line 89: 4973 Segmentation fault ${INFORMIXDIR}/bin/onbar_d "$@"
[informix@tonykorn97 bin]$
2,更改總部配置檔案,更改SHMBASE為-1
#SHMBASE 0x44000000L
SHMBASE -1
3,恢復報錯報錯
If you are using the correct SHMBASE value in your ONCONFIG file, then
consider this message informational only.
14:36:11 OS couldn't allocate first resident segment at SHMBASE (0x1).
[informix@tonykorn97 ~]$
4,更改配置檔案
原配置引數為(這樣的引數在同一臺機器上恢復其他例項是正常的)
RESIDENT 0
SHMBASE 0x44000000L
SHMVIRTSIZE 326560
SHMADD 32656
EXTSHMADD 8192
SHMTOTAL 0
SHMVIRT_ALLOCSEG 0,3
SHMNOACCESS
更改為如下引數可以正常恢復。
RESIDENT 0
SHMBASE 0x44000000L
#SHMBASE -1
SHMVIRTSIZE 32656
SHMADD 8192
EXTSHMADD 8192
SHMTOTAL 0
SHMVIRT_ALLOCSEG 0,3
SHMNOACCESS
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/312079/viewspace-2134952/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Informix Return Codes for OnBarORM
- Onbar常用命令
- onbar備份的時候返回錯誤程式碼142
- informix onbar 備份失敗Archive API processing failed at line 258 for rc.ORMHiveAPIAI
- onbar的日誌搶救備份
- Informix資料庫備份與恢復ORM資料庫
- windows核心程式設計---錯誤報告與應用程式恢復Windows程式設計
- 威聯通NAS開機報錯資料恢復資料恢復
- 直接透過備份恢復資料庫資料庫
- informix停資料庫是報錯:Must be a DBSA to run this programORM資料庫
- SqlServer2005恢復報154錯誤處理SQLServer
- 資料庫異機恢復開啟報錯ORA-36961資料庫
- 作業系統和informix資料庫全部損壞恢復測試作業系統ORM資料庫
- 【北亞資料恢復】某公司網路共享檔案開啟報錯的資料恢復案例資料恢復
- 資料庫資料恢復-oracle資料庫報錯無法開啟的如何恢復資料?資料庫資料恢復Oracle
- 安裝informix for nt時報錯ORM
- 【北亞資料恢復】異常斷電導致Oracle資料庫報錯的oracle資料恢復資料恢復Oracle資料庫
- OpenCV報錯修復OpenCV
- oracle關閉狀態刪除活動日誌報錯恢復(一)Oracle
- 【資料庫資料恢復】Oracle資料庫檔案出現壞塊報錯的資料恢復案例資料庫資料恢復Oracle
- 【北亞資料恢復】伺服器斷電導致Oracle資料庫報錯的資料恢復案例資料恢復伺服器Oracle資料庫
- 資料庫資料恢復—MongoDB資料庫檔案丟失,啟動報錯的資料恢復案例資料庫資料恢復MongoDB
- oracle日誌錯誤恢復(轉)Oracle
- 深入理解 HDFS 錯誤恢復
- 關閉與恢復visual studio實時偵錯程式
- RMAN資料庫恢復異常報錯ORA-01180資料庫
- H3C華三伺服器raid報錯資料恢復伺服器AI資料恢復
- MongoDB資料庫報錯,資料庫檔案丟失資料恢復案例MongoDB資料庫資料恢復
- 恢復備庫 activate standby database 報錯找不到standby redo - ORA-00313Database
- 最近在學習rman,恢復的時候報錯,大家看看,怎麼解決
- 【伺服器資料恢復】Ext4檔案系統執行fsck後檔案掛載報錯的資料恢復伺服器資料恢復
- Xtrabackup恢復時報錯'Error: datadir must be specified'Error
- 在IDEA上執行成功,打包成jar包後,執行報錯,程式自動退出IdeaJAR
- vim 編輯報錯導致無法正常退出和編輯
- Android 退出多個Activity | 退出程式Android
- 11g的RMAN在命令出錯後退出程式
- oracle 12c新特性:Rman表恢復之直接匯入系統Oracle
- 作業系統和informix資料庫全部損壞恢復測試(不同機器之間)作業系統ORM資料庫