免费注册 查看新帖 |

Chinaunix

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

[Veritas NBU] nbu oracle 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-23 18:10 |只看该作者 |倒序浏览
本帖最后由 zhangmq 于 2010-07-23 18:12 编辑

各位好,小弟在aix5.3上安装了nbu 6.5 server做备份服务器,在一部windows 2003 oracle10g server上安装了client。备份、恢复windows 2003的文件是正常的,备份oracle遇到些问题,报code 6。

以下是输出的报错,请帮忙分析,谢谢:
==== started on 2007-01-16 星期二  22:07 ====
Script name: "C:\Program Files\VERITAS\NetBackup\script\hot_database_backup.cmd"
#                                       
  RMAN  :  D:\oracle\product\10.1.0\Db_1\bin\rman.exe                       
  NLS_LANG  :  american               
  ORACLE_HOME  :  D:\oracle\product\10.1.0\Db_1         
  ORACLE_SID  :  orcl           
  NLS_DATE_FORMAT  :  YYYY-MM-DD:hh24:mi:ss
  RMAN_LOG_FILE  :  "C:\Program Files\VERITAS\NetBackup\script\hot_database_backup.out"     
  NB_ORA_SERV  :  aix                     
  NB_ORA_FULL  :  1                     
  NB_ORA_INCR  :  0                     
  NB_ORA_CINC  :  0                     
  NB_ORA_CLASS  :  su182_oracle                  

Recovery Manager: Release 10.1.0.2.0 - Production

Copyright (c) 1995, 2004, Oracle.  All rights reserved.

connected to target database: ORCL (DBID=1240621131)
using target database controlfile instead of recovery catalog

RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18>
allocated channel: ch00
channel ch00: sid=150 devtype=SBT_TAPE
channel ch00: Veritas NetBackup for Oracle - Release 6.5 (20070723)

sent command to channel: ch00

Starting backup at 2007-01-16:22:07:15
channel ch00: starting incremental level 0 datafile backupset
channel ch00: specifying datafile(s) in backupset
input datafile fno=00001 name=D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSTEM01.DBF
input datafile fno=00003 name=D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSAUX01.DBF
input datafile fno=00005 name=D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\EXAMPLE01.DBF
input datafile fno=00002 name=D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF
input datafile fno=00004 name=D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\USERS01.DBF
channel ch00: starting piece 1 at 2007-01-16:22:07:15
released channel: ch00
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ch00 channel at 01/16/2007 22:22:40
ORA-19506: failed to create sequential file, name="bk_u1ci7m9sj_s44_p1_t612050835", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
   VxBSACreateObject: Failed with error:
   Server Status:  Communication with the server has not been iniatated or the server status has not been retrieved from the serve

RMAN>

Recovery Manager complete.
#

论坛徽章:
0
2 [报告]
发表于 2010-07-23 18:15 |只看该作者
补充:
oracle本身应该没问题,直接在rman下执行backup current controlfile;backup full database;备份在windows 2003本地都正常。

论坛徽章:
0
3 [报告]
发表于 2010-07-23 20:02 |只看该作者
RUN{
ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
BACKUP
FORMAT 'cntrl_%s_%p_%t'
CURRENT CONTROLFILE;
RELEASE CHANNEL ch00;
}

报错不

论坛徽章:
0
4 [报告]
发表于 2010-07-23 20:06 |只看该作者
hosts两边解析都做了吗

论坛徽章:
0
5 [报告]
发表于 2010-07-24 08:57 |只看该作者
hosts两边解析都做了吗
赵大少爷 发表于 2010-07-23 20:06



   这个有做。

论坛徽章:
3
CU十二周年纪念徽章
日期:2013-10-24 15:41:34IT运维版块每日发帖之星
日期:2015-09-04 06:20:00数据库技术版块每日发帖之星
日期:2015-11-24 06:20:00
6 [报告]
发表于 2010-07-24 09:35 |只看该作者
链接库做好了么?

论坛徽章:
0
7 [报告]
发表于 2010-07-24 10:06 |只看该作者
RUN{
ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
BACKUP
FORMAT 'cntrl_%s_%p_%t'
CURRENT CONTROLFILE;
...
赵大少爷 发表于 2010-07-23 20:02



    RMAN> RUN{
2> ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
3> BACKUP
4> FORMAT 'cntrl_%s_%p_%t'
5> CURRENT CONTROLFILE;
6> RELEASE CHANNEL ch00;
7> }

using target database controlfile instead of recovery catalog
allocated channel: ch00
channel ch00: sid=145 devtype=SBT_TAPE
channel ch00: Veritas NetBackup for Oracle - Release 6.5 (20070723)

Starting backup at 17-1月 -07
channel ch00: starting full datafile backupset
channel ch00: specifying datafile(s) in backupset
including current controlfile in backupset
channel ch00: starting piece 1 at 17-1月 -07
released channel: ch00
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ch00 channel at 01/17/2007 16:17:13
ORA-19506: failed to create sequential file, name="cntrl_71_1_612115308", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
   VxBSACreateObject: Failed with error:
   Server Status:  Communication with the server has not been iniatated or the server status has not been retrieved from the serve

RMAN>

论坛徽章:
0
8 [报告]
发表于 2010-07-24 10:09 |只看该作者
会不会是因为storage unit指定的是磁盘目录(basic disk),而备份脚本写的是'SBT_TAPE'

论坛徽章:
0
9 [报告]
发表于 2010-07-24 10:11 |只看该作者
会不会是因为storage unit指定的是磁盘目录(basic disk),而备份脚本写的是'SBT_TAPE'
zhangmq 发表于 2010-07-24 10:09



    这个可以排除,肯定不会

论坛徽章:
0
10 [报告]
发表于 2010-07-24 10:12 |只看该作者
链接库做好了么?
100心 发表于 2010-07-24 09:35



      什么链接库?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP