Netbackup 3.4 Oracle 8.1.6 - Device Error - Veritas Net Backup

This is a discussion on Netbackup 3.4 Oracle 8.1.6 - Device Error - Veritas Net Backup ; I have successfully ran the oracle extension software on another client, but keep getting the following error when I try to run it on our oracle instance that lives on the master media server. Any ideas what could be wrong? ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Netbackup 3.4 Oracle 8.1.6 - Device Error

  1. Netbackup 3.4 Oracle 8.1.6 - Device Error


    I have successfully ran the oracle extension software on another client, but
    keep getting the following error when I try to run it on our oracle instance
    that lives on the master media server. Any ideas what could be wrong?
    Thanks,
    Cheryl Kozlowski

    Recovery Manager: Release 8.1.6.0.0 - Production

    RMAN-06005: connected to target database: UTIL (DBID=971762448)
    RMAN-06009: using target database controlfile instead of recovery catalog

    RMAN> run {
    2> allocate channel t1 type 'sbt_tape'
    3> parms="ENV=(NB_ORA_CLASS=util_daily_hot_full, NB_ORA_SERV=triton, NB_ORA_SCHED=Default-Policy)";
    4> backup
    5> full
    6> skip inaccessible
    7> tag hot_db_bk_full
    8> format 'fstg_%s_p%p_t%t'
    9> (database);
    10> backup
    11> tag backup_cf
    12> format 'fstg_cf_s%s_p%p_t%t_%d'
    13> (current controlfile);
    14> release channel t1;
    15> }
    16>
    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 t1
    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

    Recovery Manager complete.


  2. Re: Netbackup 3.4 Oracle 8.1.6 - Device Error



    This might help....

    With 8.1.6, it is not possible to install a 3rd-party media management library
    by re-directing the symbolic link $ORACLE_HOME/lib/libobk.so to the desired
    library.

    There are two workarounds for this problem.

    Workaround #1:

    1. Ensure $ORACLE_HOME/lib/libobk.so is pointing at the Media Manager's library
    2. Relink the oracle executable:
    % cd $ORACLE_HOME/rdbms/lib
    % make -f ins_rdbms.mk ioracle

    Workaround #2:

    1) cd $ORACLE_HOME/lib
    2) mv libdsbtsh8.so libdsbtsh8.soORIG
    3) ln -s libdsbtsh8.so


    Explanation
    -----------

    The problem is caused by a known issue and is resolved in version 8.1.7


    "Cheryl Kozlowski" wrote:
    >
    >I have successfully ran the oracle extension software on another client,

    but
    >keep getting the following error when I try to run it on our oracle instance
    >that lives on the master media server. Any ideas what could be wrong?
    >Thanks,
    >Cheryl Kozlowski
    >
    >Recovery Manager: Release 8.1.6.0.0 - Production
    >
    >RMAN-06005: connected to target database: UTIL (DBID=971762448)
    >RMAN-06009: using target database controlfile instead of recovery catalog
    >
    >RMAN> run {
    >2> allocate channel t1 type 'sbt_tape'
    >3> parms="ENV=(NB_ORA_CLASS=util_daily_hot_full, NB_ORA_SERV=triton, NB_ORA_SCHED=Default-Policy)";
    >4> backup
    >5> full
    >6> skip inaccessible
    >7> tag hot_db_bk_full
    >8> format 'fstg_%s_p%p_t%t'
    >9> (database);
    >10> backup
    >11> tag backup_cf
    >12> format 'fstg_cf_s%s_p%p_t%t_%d'
    >13> (current controlfile);
    >14> release channel t1;
    >15> }
    >16>
    >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 t1
    >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
    >
    >Recovery Manager complete.
    >



+ Reply to Thread