informix onbar恢复报错后onbar程序直接退出该怎么办
这篇文章将为大家详细讲解有关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程序直接退出该怎么办就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341