I can't see why 'onbar' is not working as I want it to. I can't create a
backup !
I am trying to make a backup with 'onbar - b -w' on a SUN machine running
Solaris 2.6.
My Informix OnLine is version 7.30.uc8. My first try with 'onbar' on this
machine is with ISM.
The 'onbar -b -w' returns after 3-4 sec.
In my server log i get:
14:24:37 Checkpoint Completed: duration was 0 seconds.
14:24:38 Level 0 Archive started on tb50root1dbs, tb50plog1dbs,
tb50tlog1dbs, tb50tmp1dbs, tb50mmx1dbs
14:24:40 Archive on tb50root1dbs, tb50plog1dbs, tb50tlog1dbs, tb50tmp1dbs,
tb50mmx1dbs ABORTED.
14:24:40 Aborted by client.
In my ONCONFIG file I have:
# Backup/Restore variables
BAR_ACT_LOG /usr/Informix/bar_act.log
BAR_MAX_BACKUP 10
BAR_RETRY 1
BAR_NB_XPORT_COUNT 100
BAR_XFER_BUF_SIZE 100
BAR_BSALIB_PATH /usr/Informix/lib/libbsa.so # XBSA shared lib path
BAR_DEBUG 9
RESTARTABLE_RESTORE off # Status of restartable restore
LOG_BACKUP_MODE MANUAL # MANUAL or CONT
# Informix Storage Manager variables
ISM_DATA_POOL ISMData # If the data pool name is changed, be sure
to
# update $INFORMIXDIR/bin/onbar. Change to
# ism_catalog -create_bootstrap -pool <new name>
ISM_LOG_POOL ISMLogs
My 'onbar' log file ends with:
2000-05-11 14:20:34 10374 10373 WARNING: BAR_XFER_BUF_SIZE exceeded
maximum allowed limit. Changing buffer size to 63488.
2000-05-11 14:20:34 10374 10373 /usr/Informix/bin/onbar_d -b -w
2000-05-11 14:20:39 10374 10373 Begin level 0 backup tb50root1dbs.
2000-05-11 14:20:40 10374 10373 Successfully connected to Storage Manager.
2000-05-11 14:20:40 10374 10373 XBSA Error (BSACreateObject): A system
error occurred. Aborting XBSA session.
2000-05-11 14:24:32 10386 10385 WARNING: BAR_XFER_BUF_SIZE exceeded
maximum allowed limit. Changing buffer size to 63488.
2000-05-11 14:24:32 10386 10385 /usr/Informix/bin/onbar_d -b -w
2000-05-11 14:24:38 10386 10385 Begin level 0 backup tb50root1dbs.
2000-05-11 14:24:39 10386 10385 Successfully connected to Storage Manager.
2000-05-11 14:24:39 10386 10385 XBSA Error (BSACreateObject): A system
error occurred. Aborting XBSA session.
In my debug file I get:
2000-05-11 14:24:36 10386 10385 barQueryApi: return 0 (0x0)
2000-05-11 14:24:36 10386 10385 bar_get_backup: enter
2000-05-11 14:24:36 10386 10385 bar_get_backup: look for tb50root1dbs
2000-05-11 14:24:36 10386 10385 bar_get_backup: obj_name tb50root1dbs time
0 level 0
2000-05-11 14:24:36 10386 10385 bar_get_backup: look for tb50plog1dbs
2000-05-11 14:24:36 10386 10385 bar_get_backup: obj_name tb50plog1dbs time
0 level 0
2000-05-11 14:24:36 10386 10385 bar_get_backup: look for tb50tlog1dbs
2000-05-11 14:24:36 10386 10385 bar_get_backup: obj_name tb50tlog1dbs time
0 level 0
2000-05-11 14:24:36 10386 10385 bar_get_backup: look for tb50mmx1dbs
2000-05-11 14:24:36 10386 10385 bar_get_backup: obj_name tb50mmx1dbs time
0 level 0
2000-05-11 14:24:36 10386 10385 bar_get_backup: look for tb50tmp1dbs
2000-05-11 14:24:36 10386 10385 bar_get_backup: obj_name tb50tmp1dbs time
0 level 0
2000-05-11 14:24:36 10386 10385 bar_get_backup: return 0 (0x00)
2000-05-11 14:24:36 10386 10385 do_archive_backup: enter
2000-05-11 14:24:36 10386 10385 bar_open_archive: enter
2000-05-11 14:24:36 10386 10385 bar_open_archive: input
1st_dbspace_in_list level tstamp restore_flag rootflag bufsize bufuse
2000-05-11 14:24:36 10386 10385 bar_open_archive: input tb50root1dbs
0 0 1 1 63488 100
2000-05-11 14:24:36 10386 10385 bar_alarm: enter
2000-05-11 14:24:36 10386 10385 bar_alarm: input 600 seconds
2000-05-11 14:24:36 10386 10385 bar_alarm: return
2000-05-11 14:24:38 10386 10385 bar_alarm: enter
2000-05-11 14:24:38 10386 10385 bar_alarm: input 0 seconds
2000-05-11 14:24:38 10386 10385 bar_alarm: return
2000-05-11 14:24:38 10386 10385 bar_open_archive: output test_blks 209469
logid 1170 errtxt
2000-05-11 14:24:38 10386 10385 bar_open_archive: return 0 (0x00)
2000-05-11 14:24:38 10386 10385 bar_read_archive: enter
2000-05-11 14:24:38 10386 10385 bar_read_archive: input buf 0x00000000
2000-05-11 14:24:38 10386 10385 bar_alarm: enter
2000-05-11 14:24:38 10386 10385 bar_alarm: input 600 seconds
2000-05-11 14:24:38 10386 10385 bar_alarm: return
2000-05-11 14:24:38 10386 10385 bar_alarm: enter
2000-05-11 14:24:38 10386 10385 bar_alarm: input 0 seconds
2000-05-11 14:24:38 10386 10385 bar_alarm: return
2000-05-11 14:24:38 10386 10385 bar_read_archive: output buf nbytes
events dbspace lolog hilog errtxt
2000-05-11 14:24:38 10386 10385 bar_read_archive: output 0xeba6c400 63488
448 0 0
2000-05-11 14:24:38 10386 10385 bar_read_archive: return 0 (0x00)
2000-05-11 14:24:38 10386 10385 barBeginTxn: enter
2000-05-11 14:24:38 10386 10385 barBsaInit: enter
2000-05-11 14:24:38 10386 10385 initObjDesc: enter
2000-05-11 14:24:38 10386 10385 initObjDesc: input: obj_id obj_name
obj_type act_id act_type act_statusact_start act_end ins_time level
copyid left:right first_log est_blks do_query restore_order left:rt
child_pid child_state retry in_catalog in_bootfile
2000-05-11 14:24:38 10386 10385 initObjDesc: input: 0 tb50root1dbs
R 0 0 0
0 0 0:0 0 428992512 0
0:0 0 0 0 0 0
2000-05-11 14:24:38 10386 10385 initObjOwner: enter
2000-05-11 14:24:38 10386 10385 initObjOwner:bsa owner INFORMIX app owner
informix
2000-05-11 14:24:38 10386 10385 initObjOwner: return
2000-05-11 14:24:38 10386 10385 buildObjName: enter
2000-05-11 14:24:38 10386 10385 buildObjName: obj_id obj_name obj_type
act_id act_type act_statusact_start act_end ins_time level copyid
left:right first_log est_blks do_query restore_order left:rt child_pid
child_state retry in_catalog in_bootfile
2000-05-11 14:24:38 10386 10385 buildObjName: 0 tb50root1dbs
R 0 0 0
0 0 0:0 0 428992512 0
0:0 0 0 0 0 0
2000-05-11 14:24:38 10386 10385 buildObjName: output objectSpaceName
/tb50, pathName /tb50/tb50root1dbs/0
2000-05-11 14:24:38 10386 10385 buildObjName: return 0 (0x00)
2000-05-11 14:24:39 10386 10385 initObjDesc: output: object owner
name copytype copyid size
resource type status desc info
2000-05-11 14:24:39 10386 10385 initObjDesc: output: INFORMIX informix
/tb50 /tb50/tb50root1dbs/0 3 0 0 0 0
4 2
2000-05-11 14:24:39 10386 10385 initObjDesc: return
2000-05-11 14:24:39 10386 10385 bar_get_hostname: enter
2000-05-11 14:24:39 10386 10385 bar_get_hostname: input new_svr tb50
2000-05-11 14:24:39 10386 10385 bar_get_hostname: output hostname belati
2000-05-11 14:24:39 10386 10385 bar_get_hostname: return 0 (0x00)
2000-05-11 14:24:39 10386 10385 barBsaInit: envtab[0] ISM_SERVER=belati
2000-05-11 14:24:39 10386 10385 barBsaInit: envtab[1]
ISM_DATA_VOLUME_POOL=ISMData
2000-05-11 14:24:39 10386 10385 barBsaInit: envtab[2]
ISM_LOG_VOLUME_POOL=ISMLogs
2000-05-11 14:24:39 10386 10385 barBsaInit: envtab[3]
ISM_SAVESET_NAME=INFORMIX:/tb50/tb50root1dbs/0
2000-05-11 14:24:39 10386 10385 BSAInit: enter
2000-05-11 14:24:39 10386 10385 BSAInit: input tokenPtr owner INFORMIX
informix
2000-05-11 14:24:39 10386 10385 BSAInit: enter
2000-05-11 14:24:39 10386 10385 BSAInit: return 0 (0x00)
2000-05-11 14:24:39 10386 10385 barBsaInit: return 0 (0x0)
2000-05-11 14:24:39 10386 10385 BSABeginTxn: enter
2000-05-11 14:24:39 10386 10385 BSABeginTxn: enter
2000-05-11 14:24:39 10386 10385 BSABeginTxn: return 0 (0x00)
2000-05-11 14:24:39 10386 10385 barBeginTxn: return 0 (0x0)
2000-05-11 14:24:39 10386 10385 barCreateObject: enter obj_name
tb50root1dbs
2000-05-11 14:24:39 10386 10385 initObjDesc: enter
2000-05-11 14:24:39 10386 10385 initObjDesc: input: obj_id obj_name
obj_type act_id act_type act_statusact_start act_end ins_time level
copyid left:right first_log est_blks do_query restore_order left:rt
child_pid child_state retry in_catalog in_bootfile
2000-05-11 14:24:39 10386 10385 initObjDesc: input: 0 tb50root1dbs
R 0 0 0
0 0 0:0 0 428992512 0
0:0 0 0 0 0 0
2000-05-11 14:24:39 10386 10385 initObjOwner: enter
2000-05-11 14:24:39 10386 10385 initObjOwner:bsa owner INFORMIX app owner
informix
2000-05-11 14:24:39 10386 10385 initObjOwner: return
2000-05-11 14:24:39 10386 10385 buildObjName: enter
2000-05-11 14:24:39 10386 10385 buildObjName: obj_id obj_name obj_type
act_id act_type act_statusact_start act_end ins_time level copyid
left:right first_log est_blks do_query restore_order left:rt child_pid
child_state retry in_catalog in_bootfile
2000-05-11 14:24:39 10386 10385 buildObjName: 0 tb50root1dbs
R 0 0 0
0 0 0:0 0 428992512 0
0:0 0 0 0 0 0
2000-05-11 14:24:39 10386 10385 buildObjName: output objectSpaceName
/tb50, pathName /tb50/tb50root1dbs/0
2000-05-11 14:24:39 10386 10385 buildObjName: return 0 (0x00)
2000-05-11 14:24:39 10386 10385 initObjDesc: output: object owner
name copytype copyid size
resource type status desc info
2000-05-11 14:24:39 10386 10385 initObjDesc: output: INFORMIX informix
/tb50 /tb50/tb50root1dbs/0 3 0 0 0 0
4 2
2000-05-11 14:24:39 10386 10385 initObjDesc: return
2000-05-11 14:24:39 10386 10385 BSACreateObject: enter
2000-05-11 14:24:39 10386 10385 BSACreateObject: object owner name
copytype copyid size resource type status desc info
2000-05-11 14:24:39 10386 10385 BSACreateObject: INFORMIX informix /tb50
/tb50/tb50root1dbs/0 3 0 0 0 428992512 R
4 2
2000-05-11 14:24:39 10386 10385 BSACreateObject: enter
2000-05-11 14:24:39 10386 10385 BSACreateObject: return 3 (0x03)
2000-05-11 14:24:39 10386 10385 do_xbsa_error: enter
2000-05-11 14:24:39 10386 10385 do_xbsa_error: input the_error 3 function
BSACreateObject
2000-05-11 14:24:39 10386 10385 do_xbsa_error: return 138 (0x8a)
2000-05-11 14:24:39 10386 10385 barCreateObject: return 3 (0x3)
2000-05-11 14:24:39 10386 10385 barEndTxn: enter
2000-05-11 14:24:39 10386 10385 BSAEndTxn: enter
2000-05-11 14:24:39 10386 10385 BSAEndTxn: enter
2000-05-11 14:24:39 10386 10385 BSAEndTxn: return 0 (0x00)
2000-05-11 14:24:40 10386 10385 barEndTxn: return 0 (0x0)
2000-05-11 14:24:40 10386 10385 barTerminate: enter
2000-05-11 14:24:40 10386 10385 BSATerminate: enter
2000-05-11 14:24:40 10386 10385 BSATerminate: enter
2000-05-11 14:24:40 10386 10385 BSATerminate: return 0 (0x00)
2000-05-11 14:24:40 10386 10385 barTerminate: return 0 (0x0)
2000-05-11 14:24:40 10386 10385 bar_close_archive: enter
2000-05-11 14:24:40 10386 10385 bar_close_archive: input commit_flag 1
2000-05-11 14:24:40 10386 10385 bar_alarm: enter
2000-05-11 14:24:40 10386 10385 bar_alarm: input 600 seconds
2000-05-11 14:24:40 10386 10385 bar_alarm: return
2000-05-11 14:24:40 10386 10385 bar_alarm: enter
2000-05-11 14:24:40 10386 10385 bar_alarm: input 0 seconds
2000-05-11 14:24:40 10386 10385 bar_alarm: return
2000-05-11 14:24:40 10386 10385 bar_close_archive: output tstamp 0 errtxt
2000-05-11 14:24:40 10386 10385 bar_close_archive: return 0 (0x00)
2000-05-11 14:24:40 10386 10385 do_archive_backup return 3
2000-05-11 14:24:45 10386 10385 return from bar_exec 3
2000-05-11 14:24:45 10386 10385 bar_unloadXBSA: enter
2000-05-11 14:24:45 10386 10385 bar_unloadXBSA: return 0 (0x00)
2000-05-11 14:24:45 10386 10385 bar_main: process exit 3 (0x03)
2000-05-11 14:24:46 10386 10385 bar_cleanup: enter
2000-05-11 14:24:46 10386 10385 bar_api_disconnect: enter
2000-05-11 14:24:46 10386 10385 bar_alarm: enter
2000-05-11 14:24:46 10386 10385 bar_alarm: input 600 seconds
2000-05-11 14:24:46 10386 10385 bar_alarm: return
2000-05-11 14:24:46 10386 10385 bar_alarm: enter
2000-05-11 14:24:46 10386 10385 bar_alarm: input 0 seconds
2000-05-11 14:24:46 10386 10385 bar_alarm: return
2000-05-11 14:24:46 10386 10385 bar_api_disconnect: return
2000-05-11 14:24:46 10386 10385 bar_cleanup: return
Regards
Poul Pedersen
Doug
"Poul Pedersen" <p...@q8.dk> wrote in message
news:8fea4f$2fl$1...@news1.tele.dk...
I thinks, that I have found the problem - Will try to solve it.
Yes I ISM was started and I could mount the volumes, but I found out,
that Legato now is installed on the machine.
Regards
Poul Pedersen