netbakcup备份时遇到 status 6: the backup failed to back up the requested files 问题解决

一.问题描述:


一个本来可以正常备份的netbakckup客户端,在进行正常的备份任务时,失败,错误描述如下:
the backup failed to back up the requested files(6).

检查netbackup客户端的数据库备份日志文件,显示的错误信息如下:

using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ch00 channel at 11/08/2012 15:23:50
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 2

[@more@]

二.问题分析
在netbackup客户端,测试netbackup服务器是否可以正常访问,结果失败,如下:
[oracle@dmis ~]$ sbttest "SBT_TAPE"
The sbt function pointers are loaded from oracle.static library.
libobk.so could not be loaded. Check that it is installed

报了libobk.so模块没有被装载.这是本次备份失败的主要原因.

三. 问题解决

[oracle@dmis ~]$ cd /usr/openv/netbackup/bin
[oracle@dmis bin]$ ./oracle_link
Thu Nov 8 15:56:11 EST 2012
All Oracle instances should be shutdown before running this script.

Please log into the Unix system as the Oracle owner for running this script

Do you want to continue? (y/n) [n] y

LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /oracle/product/10.2.0/db_1
Oracle version: 10.2.0.5.0
Platform type: x86_64
Linking LIBOBK:
ln -s /usr/openv/netbackup/bin/libobk.so64 /oracle/product/10.2.0/db_1/lib/libobk.so
Done

Please check the trace file located in /tmp/make_trace.13621
to make sure the linking process was successful.

再次测试netbackup服务器是否可以访问,结果成功,如下:
[oracle@dmis bin]$ sbttest "SBT_TAPE"
The sbt function pointers are loaded from libobk.so library.
-- sbtinit succeeded
-- sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: Media manager is version 5.0.0.0
。。。。。。
-- sbtread2 succeeded
-- sbtclose2 succeeded
-- sbtremove2 succeeded
-- regular_backup_restore ends ................................

然后在netbakcup服务端手工进行该客户端的备份 ,可以顺利进行下去,问题得到解决.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/32980/viewspace-1059734/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/32980/viewspace-1059734/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值