Home | Contact Us | Submit Troubleshooting Info | Search | Help


    Output | Software Solutions | Proofing | Color, Screening and Calibration | Scanning | Digital Photography | Consumables | POS


Onbar fails to restore the database after crash


Product

 
  • Brisque® Serve 4
  • Timna 3.0

Platform

 
  • 44P–170—Hammerhead
  • 6F1—Condor
  • F50

Operating system

 

IBM® AIX® 4.2.1, 4.3.3


Error

 

In $SCI_LOGS/bar_act.log:
2006-03-23 12:20:20 16830 34654 There are no storage spaces/logical logs to backup/restore.
2006-03-23 12:20:37 16830 34654 SQL -25588 The appl process cannot connect to Dynamic Server 2000 ids_server.
2006-03-23 12:20:37 16830 34654 ISAM 2 No such file or directory
2006-03-23 12:21:01 16830 34654 SQL -25588 The appl process cannot connect to Dynamic Server 2000 ids_server.
2006-03-23 12:21:01 16830 34654 ISAM 2 No such file or directory
2006-03-23 12:21:13 16830 34654 /scitex/version/Manager/informix/bin/onbar_d complete, returning 147 (0x93)

From scismit: DB recover failed with status 147


Symptoms

 

After recreating a database following a crash, when you try to recover the database from the latest saveset or an older one, Onbar may fail with error 147.


Cause

 

The newer DB backup occurred after the DB was recreated from scratch, and prior to the Onbar recovery. This causes Legato to back up an almost empty file:
Onbar emergency boot
(1 KB) at
/scitex/version/Manager/informix/etc/ixbar.1.
When you try to recover the DB from Onbar, it looks for the latest copy of this file, and recovers the useless small file, which does not contain info on the relevant older Onbar DB backups.

Thu 13:02:07 ripro2:/scitex/version/Manager/informix/etc/ (3/23/06) starting read from backup.15 of 1 KB
Thu 13:02:14 ripro2:/scitex/version/Manager/informix/etc/ (3/23/06) done reading 1 KB

/scitex/version/Manager/informix/etc 41 % ls -la ixbar.*

-rw-rw---- 1 root informix 532 Mar 23 06:01 ixbar.1
-rw-rw---- 1 informix informix 1017982 Mar 17 06:06 ixbar.1.20060322.171833
-rw-rw---- 1 root informix 665 Mar 23 12:20 ixbar.1.20060323.123348

vi ixbar.1
"ixbar.1" 4 lines, 532 characters
ids_server dbroot R 0 1 0 1143093622 1143093623 2006-03-23 06:00:22 1 0 0 1 0 - -
ids_server dbtbls ND 0 2 0 1143093708 1143093709 2006-03-23 06:01:48 1 0 0 2 0 - -
ids_server dbblobs B 0 3 0 1143093709 1143093710 2006-03-23 06:01:49 1 0 0 3 0 - -
ids_server 4 L 0 4 0 1143093714 1143093715 2006-03-23 06:01:54 1 0 0 4 0 - -

Onbar fails the recovery since any older DB backup saveset that is requested is not included in this file.


Solution

 

The workaround is to delete the redundant small saveset containing the incorrect ixbar.1 file:

  1. Type: mminfo -av backup.15 | grep etc
    The follow appears:
    backup.15 ripro2 03/23/06 06:01:58 24 KB 574215681 cb full /scitex /version/Manager/informix/etc/
  2. To delete, type: nsrmm -d -S 574215681
    The following appears:
    Delete the file and media index entries for: save set '574215681'?, type: y
  3. To check that the saveset is deleted, type:
    mminfo -av backup.15 | grep etc

The next recovery attempt brings a larger ixbar.1 file (900 KB) and the Onbar recovery succeeds.


Technical contact(s)
 

Lev Weissman

Submitted by
 

Lev Weissman

Date submitted
 

30 Mar 2006


    Copyright © 2005 Creo Inc. All rights reserved. Confidential. Back to top.