DP备份报错 ORA-19554: error allocating device, device type: SBT_TAPE ORA-27211

环境:solaris 10,oracle 11.2.0.4  2nodes rac

症状:rman备份报错如下

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03009: failure of allocate command on dev_0 channel at 12/05/2014 10:25:25

ORA-19554: error allocating device, device type: SBT_TAPE, device name:

ORA-27211: Failed to load Media Management Library

Additional information: 3986

1.尝试使用如下方法配置rman参数  无法解决

使用CONFIGURE CHANNEL DEVICE TYPE ‘SBT_TAPE‘ CLEAR;

CONFIGURE DEVICE TYPE SBT_TAPE CLEAR; 命令;

如下:

RMAN>  CONFIGURE CHANNEL DEVICE TYPE ‘SBT_TAPE‘ CLEAR;

old RMAN configuration parameters are successfully deleted

RMAN>show all;

RMAN configuration parameters are:

CONFIGURE RETENTION POLICY TO REDUNDANCY 1;

CONFIGURE BACKUP OPTIMIZATION OFF; # default

CONFIGURE DEFAULT DEVICE TYPE TO ‘SBT_TAPE‘;

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO ‘%F‘; # default

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO ‘%F‘; # default

CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default

CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE MAXSETSIZE TO UNLIMITED; # default

CONFIGURE ENCRYPTION FOR DATABASE OFF; # default

CONFIGURE ENCRYPTION ALGORITHM ‘AES128‘; # default

CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default

CONFIGURE SNAPSHOT CONTROLFILE NAME TO ‘/opt/oracle/product/10.2.0/dbs/snapcf_ge02.f‘; # default

RMAN>CONFIGURE DEFAULT DEVICE TYPE TO Disk;

old RMAN configuration parameters:

CONFIGURE DEFAULT DEVICE TYPE TO ‘SBT_TAPE‘;

new RMAN configuration parameters:

CONFIGURE DEFAULT DEVICE TYPE TO DISK;

new RMAN configuration parameters are successfully stored

starting full resync of recovery catalog

full resync complete

RMAN>CONFIGURE DEVICE TYPE SBT_TAPE CLEAR;

RMAN configuration parameters are successfully reset to default value

RMAN>SHOW ALL;

RMAN configuration parameters are:

CONFIGURE RETENTION POLICY TO REDUNDANCY 1;

CONFIGURE BACKUP OPTIMIZATION OFF; # default

CONFIGURE DEFAULT DEVICE TYPE TO DISK;

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO ‘%F‘; # default

CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE MAXSETSIZE TO UNLIMITED; # default

CONFIGURE ENCRYPTION FOR DATABASE OFF; # default

CONFIGURE ENCRYPTION ALGORITHM ‘AES128‘; # default

CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default

CONFIGURE SNAPSHOT CONTROLFILE NAME TO ‘/opt/oracle/product/10.2.0/dbs/snapcf_ge02.f‘; # default

二:对比原来可以正常备份的AIX

发现$ORACLE_HOME/lib/下有 libobk文件

sfc3rac1:/apps/oracle/product/10.2.0/lib$ ls -lrt |grep bobk

lrwxrwxrwx    1 oracle   oinstall         35 Jul 02 2010  libobk.a -> /usr/omni/lib/libob2oracle8_64bit.a

sfc3rac1:/apps/oracle/product/10.2.0/lib$

但是坚持当前solaris 下oracle home中没有此软连接文件

DP安装路径下是有次文件

[[email protected]:/opt/omni/lib]#ls -lrt

total 16200

-r-xr-xr-x   1 root     sys         9240 May 24  2013 libde_64bit.so

-r-xr-xr-x   1 root     sys         6508 May 24  2013 libde.so

-r-xr-xr-x   1 root     sys        19216 May 24  2013 libdc_64bit.so

-r-xr-xr-x   1 root     sys        14944 May 24  2013 libdc.so

-r-xr-xr-x   1 root     sys       590704 May 24  2013 libae_64bit.so

-r-xr-xr-x   1 root     sys       471768 May 24  2013 libae.so

-r-xr-xr-x   1 root     sys        22984 May 24  2013 libBrandChg_64bit.so

-r-xr-xr-x   1 root     sys        15452 May 24  2013 libBrandChg.so

-r-xr-xr-x   1 root     sys        41064 May 24  2013 libgcc_s.so.1

-r-xr-xr-x   1 root     sys      1314792 May 24  2013 libstdc++.so.6.0.3

-r-xr-xr-x   1 root     sys       334632 May 24  2013 libssl.so.0.9.8

-r-xr-xr-x   1 root     sys      1664880 May 24  2013 libob2oracle8_64bit.so

-r-xr-xr-x   1 root     sys      1460060 May 24  2013 libob2oracle8.so

-r-xr-xr-x   1 root     sys       622436 May 24  2013 libcurl.so

-r-xr-xr-x   1 root     sys      1596784 May 24  2013 libcrypto.so.0.9.8

drwxr-xr-x   2 root     sys          512 Oct 30 15:01 build

drwxr-xr-x   9 root     sys          512 Oct 30 15:01 nls

lrwxrwxrwx   1 root     root          13 Oct 30 15:01 libgcc_s.so -> libgcc_s.so.1

lrwxrwxrwx   1 root     root          18 Oct 30 15:01 libstdc++.so -> libstdc++.so.6.0.3

lrwxrwxrwx   1 root     root          18 Oct 30 15:01 libstdc++.so.6 -> libstdc++.so.6.0.3

drwxr-xr-x  50 root     sys         3584 Dec  3 14:49 perl

[[email protected]:/opt/omni/lib]#

手动建立软连接

ln -s /opt/omni/lib/libob2oracle8_64bit.so /u01/app/oracle/product/11.2.0/dbhome_1/lib/libobk.so

oracle-home下已经有此文件

[[email protected]:/u01/app/oracle/product/11.2.0/dbhome_1/lib]$ ls -lrt |grep bob

lrwxrwxrwx   1 oracle   oinstall      36 Dec  5 10:43 libobk.so -> /opt/omni/lib/libob2oracle8_64bit.so

[[email protected]:/u01/app/oracle/product/11.2.0/dbhome_1/lib]$

重新启动备份 可以正常备份

时间: 2024-08-09 00:10:11

DP备份报错 ORA-19554: error allocating device, device type: SBT_TAPE ORA-27211的相关文章

解决mysqldump备份报错: Couldn't execute 'SHOW FIELDS FROM Unknown error 1356

服务器环境: [[email protected] mysql]# cat /etc/redhat-releaseCentOS Linux release 7.3.1611 (Core) [[email protected] mysql]# uname -aLinux localhost.localdomain 3.10.0-514.21.1.el7.x86_64 #1 SMP Thu May 25 17:04:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

xtrabackup备份MySQL报错:InnoDB: Error number 24 means 'Too many open files'

xtrabackup备份MySQL报错:InnoDB: Error number 24 means 'Too many open files' 1.使用xtrabackup备份MySQL时出现如下报错: 190228 00:30:01 >> log scanned up to (88343615848) xtrabackup: Generating a list of tablespaces InnoDB: Allocated tablespace ID 2 for mysql/plugin,

针对CSV备份报错,Event ID:8194,Source:VSS

平台:Windows server 2012 卷类别:CSV(cluster shared volume) 存储:DELL equalogic PS 6100 软体:HIT 现象:针对CSV进行备份的时候,调用Microsoft的VSS能备份成功,但是不能调用DELL equalogic的VSS来备份,且Windows不断报以下错误:VSS 8194 经多放资料查证,本VSS报错与备份无关(Microsoft和赛门铁克都有资料说明),但是此报错看着很烦,而且过多,容易覆盖掉其他Error,解决该

RMAN备份报错

 此文档为亲自手动整理有错误请大家提出(邮箱:[email protected]) 1.1.1RMAN备份报错 1.1.1.1 问题及现象 channelORA_DISK_1: starting piece 1 at 05-MAY-15 RMAN-00571:=========================================================== RMAN-00569:=============== ERROR MESSAGE STACK FOLLOWS ===

启动Oracle报错: syntax error or unresolved network name 'LISTENER_ORCL'

原文:https://blog.csdn.net/baidu_32383657/article/details/53020624 原博主:http://blog.csdn.net/lpftobetheone/article/details/11099785 对此进行了整理 一.错误 SQL> startup; ORA-00119: invalid specification for system parameter LOCAL_LISTENER ORA-00132: syntax error o

android模拟器 报错:X Error of failed request: BadRequest (invalid request code or no such operation)

最近在ubuntu12.04上学习python,python2.7 python3.2差别还是蛮大的,就想着学习较新的 升级后 结果出现 输入法不显示   update-manager 和  add-apt-repository不能用,android的模拟器也打不开. 罪魁祸首直至python 因为python3.2没有往上兼容,导致从python2.7升级到3.2 很多依赖之前2.7版本的功能无法使用 如何解决python升级的问题 请 http://book.51cto.com/art/20

Sybase ASE报错:server Error: 8242, Severity: 16, State: 1

昨天上午,同事反映某系统在执行存储过程的过程中报错了,报错的信息异常如下: 05:00000:00009:2014/06/09 15:45:30.34 server Error: 8242, Severity: 16, State: 1 05:00000:00009:2014/06/09 15:45:30.34 server The table 'USER_FILES' in database 'PRODB' is bound to metadata cache memory. Unbind t

android studio创建模拟器报错解决 emulator: ERROR: This AVD's configuration is missing a kernel file!!

android studio创建模拟器报错 emulator: ERROR: This AVD's configuration is missing a kernel file!! 的解决办法 原因有二:1 没有,解决办法通过sdk mangager 下载 2 找不到,解决办法看系统环境变量path(此种情况多数发生在android Studio和EclipseADT同时存在的情况下) 原因是在刚刚安装完毕的androidstudio的sdk目录下没有system-image目录,也许有但没有相

报错解决方法Error: Can't connect to local MySQL server through socket

Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)Errno.: 2002解决方法一:因为你还没有启动mysql,当你启动mysql后,mysql.sock就会自动的生成../bin/safe_mysqld   --user=root   &(这是默认的).如果还没有,就是MYSQL权限没给,或其它原因还有就是 你的mysql是否启动了      启动后一般很难出现这个