ITPub博客

首页 > 数据库 > Oracle > netbakcup备份时遇到 status 6: the backup failed to back up the requested files 问题解决

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

原创 Oracle 作者:djb1008 时间:2012-11-08 17:12:07 0 删除 编辑

一.问题描述:


一个本来可以正常备份的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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-07-27

  • 博文量
    175
  • 访问量
    695728