仙丹小新 发表于 2009-10-10 09:27

onbar备份问题

bar_act.log报错如下:每次做全备的时候报如下错误
2009-09-30 14:13:26 336458389506 /informix/bin/onbar_d -b -L 0 -w
2009-09-30 14:13:26 336458389506 Working with omni as generic storage manager.
2009-09-30 14:13:26 336458389506 (-43060) The buffer BAR_XFER_BUF_SIZEexceeded maximum allowed limit. Changing size to 61440.
2009-09-30 14:13:27 336458389506 Archive started on rootdbs, loan_data_01, flow_data_01, loan_index_data, logdbs, phydbs, flow_data_02, flow_index_data, loan_data_02 (Requested Level 0).
2009-09-30 14:13:27 336458389506 Begin level 0 backup rootdbs.
2009-09-30 14:13:27 336458389506 Successfully connected to Storage Manager.
2009-09-30 14:13:38 336458389506 Completed level 0 backup rootdbs (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:38 164564336458 Process 164564336458 successfully forked.
2009-09-30 14:13:38 164564336458 Begin level 0 backup loan_data_01.
2009-09-30 14:13:38 164564336458 Successfully connected to Storage Manager.
2009-09-30 14:13:39 393464336458 Process 393464336458 successfully forked.
2009-09-30 14:13:39 393464336458 Begin level 0 backup flow_data_01.
2009-09-30 14:13:39 393464336458 Successfully connected to Storage Manager.
2009-09-30 14:13:39 291100336458 Process 291100336458 successfully forked.
2009-09-30 14:13:39 274942336458 Process 274942336458 successfully forked.
2009-09-30 14:13:40 377420336458 Process 377420336458 successfully forked.
2009-09-30 14:13:40 377420336458 Begin level 0 backup logdbs.
2009-09-30 14:13:40 458758336458 Process 458758336458 successfully forked.
2009-09-30 14:13:40 458758336458 Begin level 0 backup phydbs.
2009-09-30 14:13:40 377420336458 Successfully connected to Storage Manager.
2009-09-30 14:13:40 458758336458 Successfully connected to Storage Manager.
2009-09-30 14:13:40 279130336458 Process 279130336458 successfully forked.
2009-09-30 14:13:40 279130336458 Begin level 0 backup flow_index_data.
2009-09-30 14:13:40 279130336458 Successfully connected to Storage Manager.
2009-09-30 14:13:40 274942336458 Begin level 0 backup loan_index_data.
2009-09-30 14:13:40 274942336458 Successfully connected to Storage Manager.
2009-09-30 14:13:40 291100336458 Begin level 0 backup flow_data_02.
2009-09-30 14:13:40 291100336458 Successfully connected to Storage Manager.
2009-09-30 14:13:40 442472336458 Process 442472336458 successfully forked.
2009-09-30 14:13:40 442472336458 Begin level 0 backup loan_data_02.
2009-09-30 14:13:40 442472336458 Successfully connected to Storage Manager.
2009-09-30 14:13:42 377420336458 Completed level 0 backup logdbs (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:42 458758336458 Completed level 0 backup phydbs (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:42 377420336458 Process 377420336458 completed.
2009-09-30 14:13:43 458758336458 Process 458758336458 completed.
2009-09-30 14:13:43 393464336458 Completed level 0 backup flow_data_01 (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:43 393464336458 Process 393464336458 completed.
2009-09-30 14:13:44 279130336458 Completed level 0 backup flow_index_data (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:44 279130336458 Process 279130336458 completed.
2009-09-30 14:13:45 274942336458 Completed level 0 backup loan_index_data (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:45 274942336458 Process 274942336458 completed.
2009-09-30 14:13:45 291100336458 Completed level 0 backup flow_data_02 (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:46 291100336458 Process 291100336458 completed.
2009-09-30 14:13:46 442472336458 Completed level 0 backup loan_data_02 (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:46 442472336458 Process 442472336458 completed.
2009-09-30 14:13:55 164564336458 Completed level 0 backup loan_data_01 (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:55 164564336458 Process 164564336458 completed.
2009-09-30 14:13:55 336458389506 Archive on rootdbs, loan_data_01, flow_data_01, loan_index_data, logdbs, phydbs, flow_data_02, flow_index_data, loan_data_02 Completed (Requested Level 0).
2009-09-30 14:13:55 336458389506 Begin backup logical log 27.
2009-09-30 14:13:55 336458389506 Successfully connected to Storage Manager.
2009-09-30 14:13:56 393216458766 /informix/bin/onbar_d -b -l
2009-09-30 14:13:56 393216458766 Working with omni as generic storage manager.
2009-09-30 14:13:56 393216458766 (-43060) The buffer BAR_XFER_BUF_SIZEexceeded maximum allowed limit. Changing size to 61440.
2009-09-30 14:13:56 393216458766 (-43395) A log backup is already running. Can't start another.
2009-09-30 14:13:58 336458389506 Completed backup logical log 27 (Storage Manager copy ID: 8 2009009030).
2009-09-30 14:13:59 336458389506 Successfully connected to Storage Manager.
2009-09-30 14:13:59 336458389506 /informix/bin/onbar_d complete, returning 14 (0x0e)
2009-09-30 14:14:01 393216458766 /informix/bin/onbar_d complete, returning 152 (0x98)
请问onbar_d complete, returning 14 (0x0e)是什么错误??
之后又报了个错误:
2009-10-06 21:09:47 295582238176 /informix/bin/onbar_d -b -l
2009-10-06 21:09:47 295582238176 Working with omni as generic storage manager.
2009-10-06 21:09:47 295582238176 (-43060) The buffer BAR_XFER_BUF_SIZEexceeded maximum allowed limit. Changing size to 61440.
2009-10-06 21:09:47 295582238176 (-43207) Unable to open connection to database server: could not fork server connection, SQLCODE -951.
2009-10-06 21:09:47 295582238176 /informix/bin/onbar_d complete, returning 130 (0x82)
2009-10-06 22:29:48 196766467108 /informix/bin/onbar_d -b -l
2009-10-06 22:29:48 196766467108 Working with omni as generic storage manager.
2009-10-06 22:29:48 196766467108 (-43060) The buffer BAR_XFER_BUF_SIZEexceeded maximum allowed limit. Changing size to 61440.
2009-10-06 22:29:49 196766467108 Begin backup logical log 164.
2009-10-06 22:29:49 196766467108 Successfully connected to Storage Manager.
2009-10-06 22:29:49 196766467108 XBSA Error: (BSACreateObject) A system error occurred. Aborting XBSA session.
2009-10-06 22:29:54 196766467108 /informix/bin/onbar_d complete, returning 3 (0x03)
2009-10-06 22:30:12 467116311738 /informix/bin/onbar_d -b -l
2009-10-06 22:30:12 467116311738 Working with omni as generic storage manager.
2009-10-06 22:30:12 467116311738 (-43060) The buffer BAR_XFER_BUF_SIZEexceeded maximum allowed limit. Changing size to 61440.
2009-10-06 22:30:12 467116311738 Begin backup logical log 164.
2009-10-06 22:30:12 467116311738 Successfully connected to Storage Manager.
2009-10-06 22:30:12 467116311738 XBSA Error: (BSACreateObject) A system error occurred. Aborting XBSA session.
2009-10-06 22:30:18 467116311738 /informix/bin/onbar_d complete, returning 3 (0x03)
returning 3 (0x03)又是什么错误?怎么解决这两个错误,望高手解答!!十分感激

oldoger 发表于 2009-10-10 09:58

相关配置贴出来

仙丹小新 发表于 2009-10-10 10:06

11.5的系统,是客户的机器,配置暂时没法搞到,只给了我bar_act.log感觉和配置没什么关系,我发现在每次做零级备份和全备时都会出现逻辑日志正在备份,无法启动另一个备份的提示,但是从日志中看并没有发起任何逻辑日志备份,资源有限,望高手们谅解,并解答,急等

仙丹小新 发表于 2009-10-10 10:10

用的是dp做备份管理器

lianyong 发表于 2009-10-10 14:28

原帖由 仙丹小新 于 2009-10-10 10:10 发表 http://bbs2.chinaunix.net/images/common/back.gif
用的是dp做备份管理器

1. 如是0级备份时出现:
逻辑日志自动备份状态下会出现上述提示!
就是在零级备份时发起了一个逻辑日志备份与已有逻辑日志备份冲突! 应该不影响! (你可以做onbar恢复测试)

2.如是逻辑日志备份时出现:
可能出现大量数据操作,逻辑日志写很的很快,写完就需要备份,这是可能出现上述情况。

这是偶的一个例子:

2006-11-03 22:30:04 14881486 /informix/bin/onbar_d -b -L 0
2006-11-03 22:30:04 14881486 Working with omni as generic storage manager.
2006-11-03 22:30:07 14881486 Begin level 0 backup rootdbs.
2006-11-03 22:30:07 14881486 Successfully connected to Storage Manager.
2006-11-03 22:31:42 14881486 Completed level 0 backup rootdbs (Storage Manager copy ID: 22 2006011003).
2006-11-03 22:31:42 15051488 Process 15051488 successfully forked.
2006-11-03 22:31:43 15061488 Process 15061488 successfully forked.
2006-11-03 22:31:43 15071488 Process 15071488 successfully forked.
2006-11-03 22:31:48 15051488 Begin level 0 backup logdbs.
2006-11-03 22:31:48 15061488 Begin level 0 backup phylogdbs.
2006-11-03 22:31:48 15071488 Begin level 0 backup hcbdbs.
2006-11-03 22:31:48 15061488 Successfully connected to Storage Manager.
2006-11-03 22:31:48 15051488 Successfully connected to Storage Manager.
2006-11-03 22:31:48 15071488 Successfully connected to Storage Manager.
2006-11-03 22:31:51 15061488 Completed level 0 backup phylogdbs (Storage Manager copy ID: 22 2006011003).
2006-11-03 22:31:51 15051488 Completed level 0 backup logdbs (Storage Manager copy ID: 22 2006011003).
2006-11-03 22:31:51 15061488 Process 15061488 completed.
2006-11-03 22:31:51 15051488 Process 15051488 completed.
2006-11-03 23:18:49 15071488 Completed level 0 backup hcbdbs (Storage Manager copy ID: 22 2006011003).
2006-11-03 23:18:50 15071488 Process 15071488 completed.
2006-11-03 23:18:50 14881486 Begin backup logical log 13682.
2006-11-03 23:18:50 14881486 Successfully connected to Storage Manager.
2006-11-03 23:18:51 19771975 /informix/bin/onbar_d -b -l
2006-11-03 23:18:51 19771975 Working with omni as generic storage manager.
2006-11-03 23:18:51 19771975 A log backup is already running. Can't start another.
2006-11-03 23:18:55 14881486 Completed backup logical log 13682 (Storage Manager copy ID: 22 2006011003).
2006-11-03 23:18:55 14881486 /informix/bin/onbar_d complete, returning 0 (0x00)
2006-11-03 23:18:56 19911989 /informix/bin/onbar_d -b -l
2006-11-03 23:18:56 19911989 Working with omni as generic storage manager.
2006-11-03 23:18:56 19911989 /informix/bin/onbar_d complete, returning 0 (0x00)
2006-11-03 23:18:56 19771975 /informix/bin/onbar_d complete, returning 152 (0x98)
2006-11-03 23:18:57 20032001 /informix/bin/onbar_d -b -l -c
2006-11-03 23:18:57 20032001 Working with omni as generic storage manager.
2006-11-03 23:18:58 20032001 Begin backup logical log 13683.
2006-11-03 23:18:58 20032001 Successfully connected to Storage Manager.
2006-11-03 23:18:58 20142012 /informix/bin/onbar_d -b -l
2006-11-03 23:18:58 20142012 Working with omni as generic storage manager.
2006-11-03 23:18:59 20142012 A log backup is already running. Can't start another.
2006-11-03 23:19:00 20032001 Completed backup logical log 13683 (Storage Manager copy ID: 22 2006011003).
2006-11-03 23:19:00 20032001 /informix/bin/onbar_d complete, returning 0 (0x00)
2006-11-03 23:19:04 20142012 /informix/bin/onbar_d complete, returning 152 (0x98)

[ 本帖最后由 lianyong 于 2009-10-10 14:30 编辑 ]

antyison 发表于 2009-10-10 16:38

这里出现的return 3和 14都是 XBSA产生的,具体要看你的存储管理器的相关说明。

检查一下存储管理器的配置吧。

wangvi 发表于 2010-05-26 10:29

回复 1# 仙丹小新


    请检查你的informix用户密码是否初始化过,或者安全策略修改过,请直接用informix用户登录一下系统。951错误是用于备份的连接用户认证不通过。可能是你机器的安全策略拒绝了备份服务器的连接。

tangmei958 发表于 2010-05-26 16:51

BAR_XFER_BUF_SIZE   修改小一些就可以了,2k的修改为32,4k的修改为16就可以
页: [1]
查看完整版本: onbar备份问题