ORA-19554

ORA-19554

Table of Contents

1 错误信息

RMAN-03009: failure of allocate command on ch00 channel at 07/15/2020 14:30:38
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library

2 原因

nbu在备份是需要调用oracle lib库文件,symantec bin目录下提供了一个脚本 oracle_link. 该脚本可以将oracle 库文件连接到nub可访问的位置 。

3 解决

找到 symantec 软件安装路径,进入bin ,执行oracle_link.

./oracle_link

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: /opt/openv/netbackup/bin
ORACLE_HOME: /u01/app/oracle/product/11.2.0/db_1
Oracle version: 11.2.0.4.0
Platform type: x86_64
Linking LIBOBK:
ln -s /usr/openv/netbackup/bin/libobk.so64 /u01/app/oracle/product/11.2.0/db_1/lib/libobk.so
Done

可以看到实际需要使用的就是 libobk.so64 这个库文件。

如果在嗠器中没有找到 oracle_link 脚本,可以自己找一个看有没有这个库文件。如果存在,那么万幸,可以自己解决, 将找到的文件复制到 $ORACLE_HOME/lib 路径中重试即可。

find / -name -type f 'libobk.so*'

Author: halberd.lee

Created: 2020-07-15 Wed 14:50

Validate

原文地址:https://www.cnblogs.com/halberd-lee/p/13305460.html