Re: Linux onbar restore fails (IDS9.4)
Posted in 2003
David Stes <stes@D5E029DD.kabel.telenet.be> wrote in message news:<hNRUa.35876$F92.3876@afrodite.telenet-ops.be>...
> Hello everybody,
>
<SNIP>
> 2) Backup Environment
> ---------------------
>
> Good; now that I have a fully supported RedHat 7.2 with a working IDS 9.40,
> I configure Legato NMI 2.1 (Networker module for Informix) with NetWorker 6.1.3
>
> After running onbar, I get:
>
> awk: cmd. line:2: fatal: file `/opt/informix/etc/' is a directory
> awk: cmd. line:2: fatal: file `/opt/informix/etc/' is a directory
>
> Apparently there is a bug in the onbar script:
>
> You have to add:
>
> ONCONFIG=onconfig>
> because it assumes that ONCONFIG is set. Otherwise you get the AWK error.
If so, this should be reported to Informix support. The default value
of $ONCONFIG is "onconfig".
>
> Then I do a backup (onbar -b -w -L 0) and all is fine; backup works, the
> simple database is stored in Legato (as I can verify there).
>
> Next, the critical test comes (can I do a recover?)
>
> So I shutdown IDS 9.40 (onmode -ky) and I start a cold restore:
>
> [root@localhost dbs]# onbar -r -w
> SENDER IS NULL NO MAIL WILL BE SENT
> SENDER IS NULL NO MAIL WILL BE SENT
>
> However my IDS 9.40 system is still not restored.
> onstat - shows that IDS is not online.
>
> I repeat the onbar -r -w recovery using BAR_DEBUG level 5 and here is the
> output of the BAR_DEBUG.LOG file:
>
> 2003-05-28 10:34:56 2752 2750 bar_log_close_restore: input commit_flag 1
> 2003-05-28 10:34:56 2752 2750 bar_log_close_restore: output errtxt Archive API error: not yet open
> 2003-05-28 10:34:56 2752 2750 bar_log_close_restore: return 130 (0x82)
> 2003-05-28 10:34:56 2752 2750 do_log_restore: return 130 (0x82)
> 2003-05-28 10:35:01 2752 2750 bar_is_drsec: enter
> 2003-05-28 10:35:01 2752 2750 bar_is_drsec: return 0 (0x00)
> 2003-05-28 10:35:01 2752 2750 return from bar_exec 130
> 2003-05-28 10:35:01 2752 2750 bar_unloadXBSA: enter
> 2003-05-28 10:35:01 2752 2750 bar_unloadXBSA: return 0 (0x00)
> 2003-05-28 10:35:01 2752 2750 bar_main: return 130 (0x82)
>
The error 130 is BAR_SERVER_CRASH, meaning that the database instance
crashed as it was being restored. This is not an onbar or Legato
problem. You'll need to open a case with Informix support and send
them the "/tmp/af.3fa73a8" file. Good luck.
Brice Avila
Minneapolis, Minnesota
<SNIP>