DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: RMAN Script execution problem

  1. #1
    Join Date
    Feb 2001
    Posts
    2
    Hi Experts,

    HP backup application invokes RMAN backup script like

    run {
    allocate channel 'dev_1' type 'sbt_tape';
    backup incremental level filesperset 1
    ....
    ..
    .

    And during execution folowwing error appear:

    Recovery Manager: Release 8.1.6.0.0 - Production

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

    RMAN> 2> 3>
    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 dev_1

    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


    When I'm trying to change type of channel to 'disk', -
    all command completed succesfully.

    Maybe Oracle need some modification to support SBT_TAPE type or something?

    Thanks in advance.







  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Did you replace the libobk.obj and relink?
    Jeff Hunter

  3. #3
    Join Date
    Feb 2001
    Posts
    2
    Hi

    To integrate Oracle and Backup appl. I'm:

    1. Stop Oracle
    2. make softlink
    $ORACLE_HOME/lib/libobk.sl --> $BACKUP_SOFT_HOME/lib/libob2oracle8_64bits.sl
    3. Start Oracle

    Did you think the problem is in integration?

    Regards, Andrey

  4. #4
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    What is the tape backup client that you are using. Is it Legato or Tivoli or what?


    Try this:

    Shutdown all oracle instances.

    rm $ORACLE_HOME/lib/libobk.so

    On the above it is called so for shared object on Solaris.
    Similarly figure out the object on HP

    ln -s /usr/lib/libobk.so $ORACLE_HOME/lib/libobk.so

    Restart all the instances.


    If your tape client is some third party one then you might have to pass some parameters. Check your manual.


    For example: on Tivoli Data Protection for oracle, you have to specify some environment variables for it to get to the tape drive.

    Good luck,
    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width