ITPub博客

首页 > Linux操作系统 > Linux操作系统 > oracle 10204 64 bit on aix 5.3 nbu 备份问题

oracle 10204 64 bit on aix 5.3 nbu 备份问题

原创 Linux操作系统 作者:wengtf 时间:2012-05-23 10:49:22 0 删除 编辑

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03007: retryable error occurred during execution of command: allocate
RMAN-07004: unhandled exception during command execution on channel ch00
RMAN-10035: exception raised in RPC: ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-19557: device error, device type: SBT_TAPE, device name:
ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
Additional information: 4110
ORA-19511: SBT error = 4110, errno = 0, BACKUP_DIR environment variable is not set
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.DEVICEALLOCATE

ORACLE 版本为10204。

veritas netbackup版本为7.0

解决方法:

To link Oracle9i(10g也适用)with NetBackup for Oracle on UNIX
1. Become the Oracle user.
su - oracle
2. Shutdown all of the Oracle instances (SIDs).
sqlplus
sys/change_on_install as sysdba (login/password)
shutdown
exit
3.aix (32-bit or 64-bit) using 32-bit Oracle software.
a. Create a symbolic link from Oracle to the NetBackup API library
cd ${ORACLE_HOME}/lib
ls -l libobk.so
If libobk.so exists.
mv libobk.so libobk.so.orig
ln -s /usr/openv/netbackup/bin/libobk.so.1 libobk.so


如果oracle是64位的使用下面的命令
cd ${ORACLE_HOME}/lib
ls -l libobk.so
If libobk.so exists.
mv libobk.so libobk.so.orig
ln -s /usr/openv/netbackup/bin/libobk.a64.1 libobk.sa

[oracle@backupdatabase lib]$ ls -l libobk.so
lrwxrwxrwx 1 oracle dba 13 Feb 27 21:50 libobk.so -> libdsbtsh8.so
[oracle@backupdatabase lib]$ mv libobk.so libobk.so.orig
[oracle@backupdatabase lib]$ ln -s /usr/openv/netbackup/bin/libobk.so libobk.so

修改后,再备份OK

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

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

注册时间:2011-04-07

  • 博文量
    62
  • 访问量
    180191