IBM Support

onbar备份报错“file bar_unix.c line 1315, dumps core, received signal 11 ”的解决方法

Question & Answer


Question

file bar_unix.c line 1315, dumps core, received signal 11

Cause

调用onbar的脚本中调用的函数在当前shell中不被支持,该脚本可能是自定义脚本或者存储管理器厂商提供甚至是$INFORMIXDIR/bin/onbar.
Bar_Act.log中的错误信息如下:
2011-10-04 04:00:32 17907 17906 Begin level 0 backup rootdbs.
2011-10-04 04:00:33 17907 17906 Successfully connected to Storage Manager.
2011-10-04 04:00:33 17907 17906 ASSERT: file bar_unix.c line 1315 - contact
product support
2011-10-04 04:00:33 17907 17906 See also:
/Informix/informix11.50.uc8/dumps/core.17907
2011-10-04 04:00:33 17907 17906 (-43080) Process 17907 received signal 11.
Process will exit after cleanup.

The Online.log will contain a message similar to the following:
04:00:32 Level 0 Archive started on rootdbs
04:01:52 Archive on rootdbs ABORTED.
04:01:52 Aborted by client.

Answer

在调用onbar脚本的第一行增加include #!/bin/ksh

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"10.0;11.1;11.5;7.3;9.4;11.70;12.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 June 2021

UID

swg21691342