Re: /usr/informix/bin/onbar[84]: 22716 Memory fault



See below:



Martin Fuerderer
<MARTINFU@xxxxxxx
com> To
Sent by: "Superboer"
informix-list-bou <superboer7@xxxxxxxxxxx>
nces@xxxxxxxx cc
informix-list-bounces@xxxxxxxx,
informix-list@xxxxxxxx
03/07/2006 09:56 Subject
AM Re: /usr/informix/bin/onbar[84]:
22716 Memory fault










Hi,

the first place to look for more info would be the
ON-Bar Activity Log file (BAR_ACT_LOG parameter in
the ONCONFIG file).
If there actually is a core dump, this can be analysed.
Though that info is a bit arcane, i.e. suitable for Tech Support.

Also, if the problem reproduces, it is possible to let ON-Bar
write debug traces (setting BAR_DEBUG parameter in onconfig
0, higher means more traces). This may then give a clue
as to where what has happened.

Regards,
Martin
--
Martin Fuerderer
IBM Informix Development Munich, Germany
Information Management

informix-list-bounces@xxxxxxxx wrote on 07.03.2006 09:23:52:
it looks like you get a core dump....
/usr/informix/bin/onbar[84]: 22716 Memory fault


try:

onbar_d -b -w -L 0

and see if you get a coredump too.

maybe it's kernel params related...???!!! dono;
ask TS.

Superboer.

Darren_Jacobs@xxxxxxxxxx schreef:

Greetings,

I'm getting the above error when running onbar from a script. Does
anyone
have any ideas?

9.40 FC2
HPUX 11.11

set -x output from script:

+ [ ! -f /usr/informix/logs/db_archive.log ]
+ [ 2 -lt 1 ]
+ LEVEL=0
+ [ 0 -gt 2 ]
+ grep NULL
+ grep -qi ^TAPEDEV /usr/informix/etc/onconfig
+ [ 1 -eq 0 ]
+ date +%m/%d/%y %H:%M:%S
+ echo 03/06/06 16:26:06 Beginning Database Level 0
+ 1>> /usr/informix/logs/db_archive.log
+ echo EORROR_NUMBER before backup is equal to 0
+ 1>> /usr/informix/logs/db_archive.log
+ onbar -b -w -L 0
/usr/informix/bin/onbar[84]: 22716 Memory fault
+ grep -qiE ERROR|FAIL /usr/informix/backup/archive.06030616
+ ERR_CHK=0
+ [ 0 -eq 0 ]
+ ERROR_NUMBER=4
+ echo Fail is equal to 0
+ 1>> /usr/informix/logs/db_archive.log
+ echo ERRPR_NUMBER is equal to 4
+ 1>> /usr/informix/logs/db_archive.log
+ Case 4 -- date +%m/%d/%y %H:%M:%S
dbbackup_onbar[141]: Case: not found
+ echo ERROR: Backup failed during execution
+ 1> /usr/informix/backup/mail_file
+ cat /usr/informix/backup/mail_file
+ 1>> /usr/informix/logs/db_archive.log
+ hostname
+ hostname
+ echo Starting the mail section of script >>
/usr/informix/logs/db_archive.log

if [ 4 -ne 0 ];then
mailx -s tundra' Informix Backup Failed'
Darren_Jacobs@xxxxxxxxxx,Howard_Brown@xxxxxxxxxx <
/usr/informix/backup/mail_file
/usr/informix/bin/dbaccess tun89dmo
/usr/informix/scripts/failed.sql
else
mailx -s tundra' Informix Backup Succeeded'
Darren_Jacobs@xxxxxxxxxx,Howard_Brown@xxxxxxxxxx
/usr/informix/bin/dbaccess tun89dmo
/usr/informix/scripts/success.sql
fi

echo Finished mail section of script
+ 1>> /usr/informix/logs/db_archive.log
+ /usr/contrib/bin/gzip -9 /usr/informix/backup/archive.06030616

_______________________________________________
Martin, Superboer,

I made the change from onbar to onbar_d in the script. The same results.
The bar_act.log indicates that backup completes successfully. The error is
returned after onbar completes. There is no core dump. I'll attach the
script if you want to give it a quick review. Also, I'll call tech support
if no one comes back with any ideas.

Thanks for the responses!


(See attached file: dbbackup_onbar)

Attachment: dbbackup_onbar
Description: Binary data



Relevant Pages

  • Re: [SLE] Backup to CD/DVD -- recommended software?
    ... Here is the script I have used for CD-Rbackup of a specific ... Next is the CD-RW backup script. ... echo We are in the datasheets.CD-RW.backup script! ... failing to match md5sums or getting IO errors ...
    (SuSE)
  • Re: Maintain backup directory
    ... When I run the script (after setting target to the right ... the backup media runs out of ... Remove the word "echo" from Line #18 to enable the file deletion. ...
    (microsoft.public.scripting.wsh)
  • Re: Maintain backup directory
    ... When I run the script (after setting target to the right ... Consequently, the backup media runs ... Remove the word "echo" from Line #18 to enable the file deletion. ...
    (microsoft.public.scripting.wsh)
  • Re: backup strategy (was Re: reconstruct the system)
    ... > If my backup scripts don't quite do it for you, ... Here's my script. ... echo $NAME>> $TARDIR/$READMEFILENAME ... echo "Tarring various stuff ..." ...
    (Debian-User)
  • Re: /usr/informix/bin/onbar[84]: 22716 Memory fault
    ... write debug traces (setting BAR_DEBUG parameter in onconfig ... I'm getting the above error when running onbar from a script. ... echo EORROR_NUMBER before backup is equal to 0 ... mailx -s tundra' Informix Backup Succeeded' ...
    (comp.databases.informix)