Informix Error -43049: Error writing to the ON-Bar emergency boot file. Before attempting a restore, insert the following into <filename>: <text>.
Cause and resolution
Error writing to the ON-Bar emergency boot file. Before attempting a restore, insert the following into <filename>: <text>.
An error occurred when ON-Bar attempted to write information to the ON-Bar emergency boot file. The backup of this object succeeded; however, the object will not be included in a cold restore unless the specified information is added to the emergency boot file.
To include the object in a cold restore, ask your database server administrator to insert the specified data into the ON-Bar emergency boot file or try running onsmsync -b. (The emergency boot file is $INFORMIXDIR/etc/Bixbar_<hostname>.<dbservernum> for IBM Informix Extended Parallel Server, $INFORMIXDIR/etc/ixbar.<dbservernum> for IBM Informix Dynamic Server 9.2 or later on UNIX, or %INFORMIXDIR%\etc\ixbar.<dbservernum> for Dynamic Server 9.2 or later on Windows.) </dbservernum></dbservernum></dbservernum></hostname>
</text></filename>Oninit® Troubleshooting Guidance
Reasons / Common Causes
-43049 fires when ON-Bar fails to write information to the emergency boot file after an otherwise-successful backup — per the official guidance, the object won't be included in a cold restore unless the missing entry is added manually.
- A write failure to the emergency boot file after a successful backup, per the official guidance — the direct, only cause.
Solutions / Resolution
- Ask the database server administrator to insert the specified data into the ON-Bar emergency boot file, per the official guidance, or
- Try running
onsmsync -b, per the official guidance, to regenerate the boot file.
Examples
Locating the emergency boot file
# IDS 9.2+, UNIX
$ ls $INFORMIXDIR/etc/ixbar.<dbservernum>
# IDS 9.2+, Windows
> dir %INFORMIXDIR%\etc\ixbar.<dbservernum>
# Extended Parallel Server
$ ls $INFORMIXDIR/etc/Bixbar_<hostname>.<dbservernum>
Diagnostic Checks
- Insert the specified data into the named emergency boot file, or run
onsmsync -bto regenerate it, before attempting a cold restore.
Related Errors / Related Topics
- -43050 — "Copy of old emergency bootfile saved in
." A related emergency- boot-file message, on onsmsyncpreserving the prior version before regenerating it. - -43051 — "Copy of old emergency bootfile failed." A related emergency-boot-file error, on that preservation copy itself failing.
- -43052 — "Error parsing the emergency bootfile
." A related emergency- boot-file error, on reading a corrupted file rather than failing to write to it.
Writing to the emergency boot file failed after a successful backup — insert the specified
data manually, or run onsmsync -b.