Forum Discussion

Aravind_M's avatar
Aravind_M
Level 3
14 years ago
Solved

RMAN backup filed with error 98

Hi ALL,

 

Please help me to relove this problem 

 

Jul 1, 2011 7:16:18 PM - mounting VT0095
Jul 1, 2011 7:16:18 PM - current media VT0095 complete, requesting next media Any
Jul 1, 2011 7:16:27 PM - connecting
Jul 1, 2011 7:16:28 PM - end writing
error requesting media (tpreq) (98)

 

Cheers,

Aravind.M

  • Sounds like you have a problem with the robot.

    Check the application log in event viewer for error if the media server is windows or /var/adm/messages file if Solaris, or check the syslog for the OS that the media server is running.

    Might be an idea to stop and start netbackup on the media server and see what happens.

    i.e if windows run <install dir>\netbackup\bin\bpdown -v

    make sure that all processes is stopping running install dir>\netbackup\bin\bpps, if processes does not stop, end the process in the task manager.

    If Unix run /usr/openv/netbackup/bin/goodies/netbackup stop

    if run bpps -a to make sure all process is stopped, if you still have processes hanging, run /usr/openv/netbackup/bin/bp.kill_all

    Start netbackup again running /usr/openv/netbackup/bin/goodies/netbackup start

    Create netbackup log folders

    media server

    /usr/openv/netbackup/logs/bpbrm
    /usr/openv/netbackup/logs/bptm

    on the oracle server
    /usr/openv/netbackup/logs/bpcd
    /usr/openv/netbackup/logs/bphdb
    /usr/openv/netbackup/logs/dbclient
    chmod 777 dbclient

    If windows, path will be <install dir>\netbackup\logs

    Recreate the problem and check the syslog in the OS and the logs created in above folders and take the required actions.

    if you still have problem with the robot, try to run /usr/openv/volmgr/bin/robtest to mount and unmount a tape.

    I hope this helps.

    /Oddy

  • RMAN backup info

     

     

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

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

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

    RMAN-03009: failure of backup command on ch02 channel at 07/01/2011 19:15:36

    ORA-19506: failed to create sequential file, name="bk_5192_1_755378090", parms=""

    ORA-27028: skgfqcre: sbtbackup returned error

    ORA-19511: Error received from media manager layer, error text:

       VxBSACreateObject: Failed with error:

       Server Status:  error requesting media (tpreq)

  • Try this

     

     

    -Suspected recovery catalogs not installed & The database to be backed up is not registered.
    -Created a user to hold the recovery catalog.
    -Then created the recovery catalog.
    -Each database to be backed up by RMAN is registered before we attempt a backup.
    -Created a user to hold the recovery catalog:
     
    CONNECT 
    sys/password@InstanceName AS SYSDBA
    -- Create tablepsace to hold repository
     
    CREATE TABLESPACE "RMAN" 
     
    DATAFILE 'C:\ORACLE\ORADATA\W2K1\RMAN01.DBF' SIZE 6208K REUSE
     
    AUTOEXTEND ON NEXT 64K MAXSIZE 32767M
     
    EXTENT MANAGEMENT LOCAL
     
    SEGMENT SPACE MANAGEMENT AUTO;
    -- Created rman schema owner
     
    CREATE USER rman IDENTIFIED BY rman
     
    TEMPORARY TABLESPACE temp 
     
    DEFAULT TABLESPACE rman 
     
    QUOTA UNLIMITED ON rman;
     
     
    --GRANT connect, resource, recovery_catalog_owner TO rman;
     
    -Created the recovery catalog:
     
    C:>rman 
    catalog=rman/rman@InstanceName
     
     
    Recovery Manager: Release 9.2.0.1.0 - Production
     
     
    Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
     
     
    connected to recovery catalog database
     
    recovery catalog is not installed
     
     
    RMAN> create catalog tablespace "RMAN";
     
     
    recovery catalog created
     
     
    RMAN> exit
     
     
    Recovery Manager complete.

    -Registered Database
     
    Each database to be backed up by RMAN must be registered:
     
    C:>rman 
    catalog=rman/rman@InstanceName target=sys/password@InstanceName
     
     
    Recovery Manager: Release 9.2.0.1.0 - Production
     
     
    Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
     
     
    connected to target database: InstanceName (DBID=1371963417)
     
    connected to recovery catalog database
     
     
    RMAN> register database;
     
     
    database registered in recovery catalog
     
    starting full resync of recovery catalog
     
    full resync complete
  • Thanks for your reply....

    But Failure for this backup is not related to Catalog backup. Its only RMAN .

  • RMAN backup is taken on same server as SAN media server or on to different media server?

    What is the status of the concerned tape drives and robot?

    Also check if there are any pending requests on the specific Tape and Drive.

    you check Pending requests in GUI or command line using "nbrbutil" command.

     

    --Praveen

  • >bperror -S 98 -r
    error requesting media (tpreq)
    The tape manager (bptm) received an error when they requested a media mount from the following: the NetBackup Device Manager service (on Windows) or the Media Manager device daemon (ltid) (on UNIX and Linux).

    Do the following, as appropriate:
    * Check the NetBackup Problems report to determine the reason for the failure. The most common cause is that the NetBackup Device Manager service (on Windows) or the Media Manager device daemon (ltid) (on UNIX and Linux) is not running. Start it if necessary.
     

    PLEASE mention you NBU version as well OS on media server experiencing status 98.
    There are a couple of TN's related to bugs in specific NBU version and others related to specific OS.

    Please also ensure that you have logging enabled on media server: bptm folder under netbackup/logs as well as VERBOSE entry in vm.conf (in volmgr folder). Restart NBU on media server for VERBOSE entry to take effect.

  • Sounds like you have a problem with the robot.

    Check the application log in event viewer for error if the media server is windows or /var/adm/messages file if Solaris, or check the syslog for the OS that the media server is running.

    Might be an idea to stop and start netbackup on the media server and see what happens.

    i.e if windows run <install dir>\netbackup\bin\bpdown -v

    make sure that all processes is stopping running install dir>\netbackup\bin\bpps, if processes does not stop, end the process in the task manager.

    If Unix run /usr/openv/netbackup/bin/goodies/netbackup stop

    if run bpps -a to make sure all process is stopped, if you still have processes hanging, run /usr/openv/netbackup/bin/bp.kill_all

    Start netbackup again running /usr/openv/netbackup/bin/goodies/netbackup start

    Create netbackup log folders

    media server

    /usr/openv/netbackup/logs/bpbrm
    /usr/openv/netbackup/logs/bptm

    on the oracle server
    /usr/openv/netbackup/logs/bpcd
    /usr/openv/netbackup/logs/bphdb
    /usr/openv/netbackup/logs/dbclient
    chmod 777 dbclient

    If windows, path will be <install dir>\netbackup\logs

    Recreate the problem and check the syslog in the OS and the logs created in above folders and take the required actions.

    if you still have problem with the robot, try to run /usr/openv/volmgr/bin/robtest to mount and unmount a tape.

    I hope this helps.

    /Oddy

  • Thank you guys for your help and guidence to solve my issue.

    Thank you Oddy for your process help me to solved my problem.

     

    Cheers

    Aravind.M