您好,登錄后才能下訂單哦!
這篇文章將為大家詳細講解有關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
關于informix onbar恢復報錯后onbar程序直接退出該怎么辦就分享到這里了,希望以上內容可以對大家有一定的幫助,可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。