onbar failed
Posted in 2010
Hallo,
I'm trying to make a logical backup using onbar -b -l.
bar_act.log says 'completed' but no log is created on file system.
What does
bar_srv_status: return 5 (0x05)
mean?
Whole log in bar_debug.log with level9:
2010-02-08 10:19:10 2460 2460 bar_get_hostname: enter
2010-02-08 10:19:10 2460 2460 bar_get_hostname: input new_svr devtest
2010-02-08 10:19:10 2460 2460 bar_get_hostname: output hostname ***
2010-02-08 10:19:10 2460 2460 bar_get_hostname: return 0 (0x00)
2010-02-08 10:19:10 2460 2460 setting progress_freq to 0
2010-02-08 10:19:10 2460 2460 setting alarm_freq to 240
2010-02-08 10:19:10 2460 2460 setting bar_timeout to 600
2010-02-08 10:19:10.000000 2460 2460 read_config:server devtest:0 max_backup 3
retry 1 actfd 1924
2010-02-08 10:19:10.000000 2460 2460 debugfd 1880 debug 9 bootfd -1 log_blks
179188
2010-02-08 10:19:10.000000 2460 2460 buf size 61440 buf count 20 ltapedev
\\\\ISMDATA\\\\devtest\\\\logical_logs
2010-02-08 10:19:10.000000 2460 2460 backup filter , restore filter
2010-02-08 10:19:10.000000 2460 2460 read_config: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: enter
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: return 5 (0x05)
2010-02-08 10:19:10.000000 2460 2460 bar_main: server status 5
2010-02-08 10:19:10.000000 2460 2460 do_args: enter
2010-02-08 10:19:10.000000 2460 2460 do_args: input status 5 argc 3 argv
00126F10
2010-02-08 10:19:10.000000 2460 2460 do_args: got command, -b
2010-02-08 10:19:10.000000 2460 2460 do_args: got command, -l
2010-02-08 10:19:10.000000 2460 2460 do_args: workflags 2 (0x2)
2010-02-08 10:19:10.000000 2460 2460 do_args: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 bar_siginit_NT: enter
2010-02-08 10:19:10.000000 2460 2460 bar_siginit_NT: return
2010-02-08 10:19:10.000000 2460 2460 bar_alarm: enter
2010-02-08 10:19:10.000000 2460 2460 bar_alarm: return
2010-02-08 10:19:10.000000 2460 2460 bar_is_drsec: enter
2010-02-08 10:19:10.000000 2460 2460 bar_is_drsec: Server type '0'
2010-02-08 10:19:10.000000 2460 2460 bar_is_drsec: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 bar_exec: enter
2010-02-08 10:19:10.000000 2460 2460 BSAQueryApi: enter
2010-02-08 10:19:10.000000 2460 2460 bar_loadXBSA: return 0
2010-02-08 10:19:10.000000 2460 2460 bar_loadXBSA: return 0
2010-02-08 10:19:10.000000 2460 2460 barQueryApi: BSA version 1.0.1
2010-02-08 10:19:10.000000 2460 2460 barQueryApi: reading line from
sm_versions: 1|1.0.1|ism|ISM.2.20.UC1.114|
2010-02-08 10:19:10.000000 2460 2460 barQueryApi: found line matching XBSA
version number
2010-02-08 10:19:10.000000 2460 2460 barQueryApi: set ccb->bar_sm to ism
2010-02-08 10:19:10.000000 2460 2460 macro: set ccb->bar_sm_code to 1
2010-02-08 10:19:10.000000 2460 2460 barQueryApi: set ccb->bsa_ses_style to 2
2010-02-08 10:19:10.000000 2460 2460 barQueryApi: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 get_a_connection: enter
2010-02-08 10:19:10.000000 2460 2460 bar_api_connect: enter
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: enter
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: return 5 (0x05)
2010-02-08 10:19:10.000000 2460 2460 bar_api_connect: output errtxt
2010-02-08 10:19:10.000000 2460 2460 bar_api_connect: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 get_a_connection: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 bar_db_connect: enter
2010-02-08 10:19:10.000000 2460 2460 bar_db_connect: input dbname sysmaster
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: enter
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: return 5 (0x05)
2010-02-08 10:19:10.000000 2460 2460 bar_db_connect: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 bar_full_logs: enter
2010-02-08 10:19:10.000000 2460 2460 bar_full_logs: select count(uniqid)
sysmaster:syslogs where is_new = 1 or is_dropped = 1 or (flags = 0 and uniqid
= 0)
2010-02-08 10:19:10.000000 2460 2460 bar_full_logs: select first 1
is_backed_up, min(uniqid) sysmaster:syslogs where uniqid != 0 group by 1 order
by 2
2010-02-08 10:19:10.000000 2460 2460 bar_full_logs: output log_flag 0
2010-02-08 10:19:10.000000 2460 2460 bar_full_logs: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 do_log_backup: enter
2010-02-08 10:19:10.000000 2460 2460 do_log_backup: input log_full FALSE
2010-02-08 10:19:10.000000 2460 2460 bar_db_connect: enter
2010-02-08 10:19:10.000000 2460 2460 bar_db_connect: input dbname sysmaster
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: enter
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: return 5 (0x05)
2010-02-08 10:19:10.000000 2460 2460 bar_db_connect: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 ck_log_backup: enter
2010-02-08 10:19:10.000000 2460 2460 ck_log_backup: select count(*) from
sysmaster:sysrstcb where logbu <> 0
2010-02-08 10:19:10.000000 2460 2460 ck_log_backup: return number of log
backup processes 0
2010-02-08 10:19:10.000000 2460 2460 read_bar_debug_value: enter
2010-02-08 10:19:10.000000 2460 2460 read_bar_debug_value: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 bar_open_logbackup: enter
2010-02-08 10:19:10.000000 2460 2460 bar_open_logbackup: input mode 1 bufsize
61440 bufuse 61440 bufcnt 20
2010-02-08 10:19:10.000000 2460 2460 bar_open_logbackup: output logid 21
curlogflag 1 errtxt
2010-02-08 10:19:10.000000 2460 2460 bar_open_logbackup: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 do_log_backup: don't backup current log
2010-02-08 10:19:10.000000 2460 2460 bar_close_logbackup: enter
2010-02-08 10:19:10.000000 2460 2460 bar_close_logbackup: input commit_flag -1
dealloc_flag 0
2010-02-08 10:19:10.000000 2460 2460 bar_close_logbackup: output errtxt
2010-02-08 10:19:10.000000 2460 2460 bar_close_logbackup: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 barEndTxn: enter
2010-02-08 10:19:10.000000 2460 2460 barEndTxn: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 barTerminate: enter
2010-02-08 10:19:10.000000 2460 2460 barTerminate: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 bar_close_logbackup: enter
2010-02-08 10:19:10.000000 2460 2460 bar_close_logbackup: input commit_flag -1
dealloc_flag 1
2010-02-08 10:19:10.000000 2460 2460 bar_close_logbackup: output errtxt
2010-02-08 10:19:10.000000 2460 2460 bar_close_logbackup: return -1
(0xffffffff)
2010-02-08 10:19:10.000000 2460 2460 do_log_backup: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: enter
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: return 5 (0x05)
2010-02-08 10:19:10.000000 2460 2460 bar_upd_list: enter
2010-02-08 10:19:10.000000 2460 2460 bar_upd_list: ccb->objlist is NULL
2010-02-08 10:19:10.000000 2460 2460 bar_upd_list: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 return from bar_exec 0
2010-02-08 10:19:10.000000 2460 2460 bar_main: not changing rc:0 due to
IS_OVERRIDING
2010-02-08 10:19:10.000000 2460 2460 Removing the onbar_restore file
2010-02-08 10:19:10.000000 2460 2460 bar_main: return 0 (0x00)
2010-02-08 10:19:10.000000 2460 2460 bar_cleanup: enter
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: enter
2010-02-08 10:19:10.000000 2460 2460 bar_srv_status: return 5 (0x05)
2010-02-08 10:19:10.000000 2460 2460 bar_act_cleanup: enter
2010-02-08 10:19:10.000000 2460 2460 bar_act_cleanup: free act_ins