Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What should I do if the onbar program exits directly after informix onbar resumes the error report?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to exit the onbar program directly after informix onbar recovery error, the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

IBM Informix Dynamic Server Version 11.50.FC5 onbar recovery error:

1. Recover the onbar according to the point in time and stop reporting the error directly.

[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. Change the headquarters configuration file and change the SHMBASE to-1

# SHMBASE 0x44000000L

SHMBASE-1

3. Resume the error report

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, change the configuration file

The original configuration parameter is (it is normal for this parameter to restore other instances on the same machine)

RESIDENT 0

SHMBASE 0x44000000L

SHMVIRTSIZE 326560

SHMADD 32656

EXTSHMADD 8192

SHMTOTAL 0

SHMVIRT_ALLOCSEG 0,3

SHMNOACCESS

Change to the following parameters to restore normally.

RESIDENT 0

SHMBASE 0x44000000L

# SHMBASE-1

SHMVIRTSIZE 32656

SHMADD 8192

EXTSHMADD 8192

SHMTOTAL 0

SHMVIRT_ALLOCSEG 0,3

SHMNOACCESS

About the informix onbar recovery error report after the onbar program directly quit how to share here, I hope that the above content can be of some help to everyone, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report