免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3095 | 回复: 1
打印 上一主题 下一主题

[Veritas NBU] NBU备份oracle表空间总是报错failed trying to exec a command(29) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-04-26 13:19 |只看该作者 |倒序浏览
错误信息:
2012-4-26 11:45:58 - requesting resource Any
2012-4-26 11:45:58 - requesting resource pengfei-d6f6m0t.NBU_CLIENT.MAXJOBS.pengfei-d6f6m0t
2012-4-26 11:45:58 - requesting resource pengfei-d6f6m0t.NBU_POLICY.MAXJOBS.oracle_ts_users
2012-4-26 11:45:58 - granted resource pengfei-d6f6m0t.NBU_CLIENT.MAXJOBS.pengfei-d6f6m0t
2012-4-26 11:45:58 - granted resource pengfei-d6f6m0t.NBU_POLICY.MAXJOBS.oracle_ts_users
2012-4-26 11:45:58 - granted resource pengfei-d6f6m0t-hcart-robot-tld-1
2012-4-26 11:45:58 - estimated 0 Kbytes needed
2012-4-26 11:45:59 - started process bpbrm (404
2012-4-26 11:45:59 - connecting
2012-4-26 11:46:00 - connected; connect time: 00:00:01
2012-4-26 11:46:12 - end writing
failed trying to exec a command(29)

bphdb里的log分别是:
Could not execute "c:\oracle\product\10.2.0\db_2\bin\rman.exe"  target /  nocatalog

1:46:03.413 [1720.988] <2> bphdb get_filelist: INF - Read filename: <C:\Program Files\VERITAS\NetBackup\db\dbtemplates\oracle\bbb.tpl>
11:46:03.413 [1720.988] <2> bphdb get_filelist: INF - Read filename: <CONTINUE>
11:46:03.413 [1720.988] <4> bphdb do_script: INF - Template valid on client:  C:\Program Files\VERITAS\NetBackup\db\dbtemplates\oracle\bbb.tpl
11:46:03.429 [1720.988] <4> bphdb do_script: INF - Processing "C:\Program Files\Veritas\NetBackup\bin\bpdbsbora.exe" -backup -rw -t "C:\Program Files\VERITAS\NetBackup\db\dbtemplates\oracle\bbb.tpl"
11:46:03.429 [1720.4480] <2> ACELogCallback::log: ACE logging for thread 4480 had been hooked
11:46:03.429 [1720.4480] <2> ACEThreadHook::start: New thread 4480 starting (NcfInit.cpp:179)
11:46:03.429 [1720.4480] <2> ProcessMgr::ncfsvc: Activating process for command "C:\Program Files\Veritas\NetBackup\bin\bpdbsbora.exe" -backup -rw -t "C:\Program Files\VERITAS\NetBackup\db\dbtemplates\oracle\bbb.tpl" (ProcessMgr.cpp:645)
11:46:03.444 [1720.4480] <4> ProcessDefinition::run: Process 3168, command '"C:\Program Files\Veritas\NetBackup\bin\bpdbsbora.exe" -backup -rw -t "C:\Program Files\VERITAS\NetBackup\db\dbtemplates\oracle\bbb.tpl"', started
11:46:11.460 [1720.4480] <4> ProcessDefinition::waitForDone: Process 3168 command '"C:\Program Files\Veritas\NetBackup\bin\bpdbsbora.exe" -backup -rw -t "C:\Program Files\VERITAS\NetBackup\db\dbtemplates\oracle\bbb.tpl"', completed with status 1
11:46:11.460 [1720.4480] <2> ProcessMgr::ncfsvc: Deactivating process for command "C:\Program Files\Veritas\NetBackup\bin\bpdbsbora.exe" -backup -rw -t "C:\Program Files\VERITAS\NetBackup\db\dbtemplates\oracle\bbb.tpl" (ProcessMgr.cpp:649)
11:46:11.460 [1720.4480] <2> ACEThreadHook::start: Thread 4480 terminating with return value 0 (NcfInit.cpp:193)
11:46:12.429 [1720.988] <16> bphdb do_script: ERR - failed executing command <"C:\Program Files\Veritas\NetBackup\bin\bpdbsbora.exe" -backup -rw -t "C:\Program Files\VERITAS\NetBackup\db\dbtemplates\oracle\bbb.tpl">
11:46:12.429 [1720.988] <16> bphdb do_script: ERR - exit status: <1>
11:46:12.429 [1720.988] <16> bphdb main: ERR - Error code: 29
11:46:12.429 [1720.988] <16> bphdb Exit: ERR - bphdb exit status = 29: failed trying to exec a command

11:46:12.429 [1720.988] <4> bphdb Exit: INF - EXIT STATUS 29: failed trying to exec a command

11:46:12.429 [1720.988] <2> ProcessMgr::~ProcessMgr: Waiting for service threads to terminate (ProcessMgr.cpp:583)


论坛徽章:
0
2 [报告]
发表于 2012-04-26 13:20 |只看该作者
bbb.tpl的内容:
#^oracle template configuration file <<MUST BE FIRST IN FILE, DO NOT REMOVE>>
# -----------------------------------------------------------------
# Veritas NetBackup for oracle: Backup Configuration Template
# $VRTScprght: Copyright 1993 - 2009 Symantec Corporation, All Rights Reserved $
#
# Template level: 1.9.0
# Generated on: 04/26/12 13:19:48
# -----------------------------------------------------------------

TEMPLATE_ID1=15456
TEMPLATE_ID2=8106
TEMPLATE_OWNER=Administrator

# -----------------------------------------------------------------
# BACKUP_TYPE is derived from the schedule type when this script
# is used in a NetBackup scheduled backup. For example, when:
#    schedule type is                BACKUP_TYPE is
#    ----------------                --------------
# Automatic Full                     INCREMENTAL LEVEL=0
# Automatic Differential Incremental INCREMENTAL LEVEL=1
# Automatic Cumulative Incremental   INCREMENTAL LEVEL=1 CUMULATIVE
#
# For a non-proxy user initiated backup, BACKUP_TYPE is defined as shown.
# -----------------------------------------------------------------

BACKUP_TYPE=INCREMENTAL LEVEL=0
ORACLE_HOME=c:\oracle\product\10.2.0\db_2
ORACLE_SID=TEST

# -----------------------------------------------------------------
# RMAN command section
# -----------------------------------------------------------------

RUN {
ALLOCATE CHANNEL ch00
    TYPE 'SBT_TAPE';
SEND 'NB_ORA_CLIENT=pengfei-d6f6m0t,NB_ORA_POLICY=oracle_ts_users,NB_ORA_SERV=pengfei-d6f6m0t';
BACKUP
    INCREMENTAL LEVEL=0
    FORMAT 'bk_u%u_s%s_p%p_t%t'
    TABLESPACE
        'USERS';

RELEASE CHANNEL ch00;

# Control file backup

ALLOCATE CHANNEL ch00
    TYPE 'SBT_TAPE';
SEND 'NB_ORA_CLIENT=pengfei-d6f6m0t,NB_ORA_POLICY=oracle_ts_users,NB_ORA_SERV=pengfei-d6f6m0t';
BACKUP
    FORMAT 'ctrl_u%u_s%s_p%p_t%t'
    CURRENT CONTROLFILE;
RELEASE CHANNEL ch00;
}

我将SEND那2行按网上说的改为:
parms='ENV=(NB_ORA_CLIENT=pengfei-d6f6m0t,NB_ORA_POLICY=oracle_ts_users,NB_ORA_SERV=pengfei-d6f6m0t)';

依然不行
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP