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
The Oracle version is 10204.
Veritas version 7.0
Solution:
To link Oracle9i (10g also applies) with NetBackup for Oracle on UNIX
1. Become the Oracle user. # www.bkjia.com
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
If oracle is 64-bit, use the following command
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
After modification, back up OK
For more information about Oracle, see Oracle topics page http://www.bkjia.com/topicnews.aspx? Tid = 12