UNSOLVED

Hormigo

updated

17 years ago

H

Hormigo

2 Intern

•

131 Posts

0

6517

August 3rd, 2009 10:00

Problem restore Oracle RMAN

Hi all,

I'm having problems with the Oracle RMAN restore.

The restore lost communication with the media layer

Following error:

RMAN-00571: ============================================== =============
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ============================================== =============
RMAN-03002: failure of restore command at 07/31/2009 13:03:23
ORA-27192: skgfcls: sbtclose2 returned error - failed to close file
ORA-19511: Error received from media manager layer, error text:
RPC receive operation failed. The network connection could not be
established with the host. (0:5:104)

---------------------------

Important: The symbolic link has been recreated.



Could you help me?
  • salvoemc

    45 Posts

    2014

    0

    Posted August 4th, 2009 09:00

    Check ip/name definition in hosts file. Probably not resolve name and send this error.
  • benzino1

    2 Intern

    •

    244 Posts

    2014

    0

    Posted August 5th, 2009 02:00

    Is this a redirect recover (on other than production server machine)? If so, you have to put the name of the production server (or make it any other way resolveable) to hosts file on the machine on which you want to recover DB.
  • atremols

    29 Posts

    2014

    0

    Posted August 5th, 2009 09:00

    We need more info to be able to help you out
    We need to see the rman script and exactly what kind of recovery you are doing, directed recovery....?
    HTH
  • Hormigo

    2 Intern

    •

    131 Posts

    2014

    0

    Posted August 6th, 2009 12:00

    Hi Guys,

    Following more detais:


    A full description of the issue.


    We have backup of Oracle RAC.

    environment:

    physical Node 1: prdb03.xxx
    physical node 2: prdb04.xxx
    virtual node: prdb04-vip.xxx

    physical node for restore: prdb05.xxx
    (Direct Restore, ok)


    The backup is successful.
    The restore starts normally but displays the following message and aborted:


    channel t1: starting datafile backupset restore channel t1: specifying datafile(s) to restore from backup set restoring datafile 00016 to +DG1/dpf05p/datafile/asinp100l03.dbf
    restoring datafile 00030 to +DG1/dpf05p/datafile/asinp100l13.dbf
    restoring datafile 00052 to +DG1/dpf05p/datafile/asinp100l26.dbf
    restoring datafile 00061 to +DG1/dpf05p/datafile/aprom100d07.dbf
    restoring datafile 00070 to +DG1/dpf05p/datafile/asti100l08.dbf
    channel t1: reading from backup piece /FULL_ONLINE_DPF05P_DPF05P_3iklc4th/
    ORA-27192: skgfcls: sbtclose2 returned error - failed to close file
    ORA-19511: Error received from media manager layer, error text:
    We could not read the checksum. (0:3:2)
    ORA-19870: error reading backup piece /FULL_ONLINE_DPF05P_DPF05P_3iklc4th/
    ORA-19501: read error on file "/FULL_ONLINE_DPF05P_DPF05P_3iklc4th/", blockno 131250177 (blocksize=512)
    ORA-27190: skgfrd: sbtread2 returned error
    ORA-19511: Error received from media manager layer, error text channel t1: starting datafile backupset restore channel t1: specifying datafile(s) to restore from backup set restoring datafile 00002 to +DG1/dpf05p/datafile/undotbs1_01.dbf
    restoring datafile 00021 to +DG1/dpf05p/datafile/aprom100d03.dbf
    restoring datafile 00040 to +DG1/dpf05p/datafile/asinp100l15.dbf
    restoring datafile 00056 to +DG1/dpf05p/datafile/asinp100l28.dbf
    restoring datafile 00074 to +DG1/dpf05p/datafile/asinp100l40.dbf
    channel t1: reading from backup piece /FULL_ONLINE_DPF05P_DPF05P_3oklc7t5/

    ######################################################################################################






    2). A full description of this implementation.

    Server Networker: networker-cti.cti.xxx
    W2k3 EE SP2
    NW 7.5.1.Build.269

    PRDB04 and prdb03:
    Red Hat Enterprise AS 4 (Release 4) IA64Bits
    Oracle: 10.2.0.4 Bits: 64 bits
    NW 7.5.1.Build.269
    NMO: NMO v5.0.0.0

    PRDB05:
    Red Hat Enterprise AS 4 (Release 4) X86_64
    Oracle: 10.2.0.4 64 bits
    NW 7.5.1.Build.269
    NMO v5.0.0.0

    License: PRDB03 and PRDB04 Dedicated SN
    PRDB05 Storage Node


    45 installed clients.
    Environment only exists Oracle agent installed.

    Library: EDL 4406 not use Embedded Storage Node for EDL.


    ###################################################################


    Script Restore:


    . /home/oracle/.bash_profile
    data=`date +%Y%m%d-%Hh%Mm`
    export ORACLE_SID=dpf05p
    $ORACLE_HOME/bin/rman target / cmdfile=/home/oracle/scripts/rman/restore_sbt_tape.sql log=/home/oracle/scripts/rman/log/restore_sbt_tape_${ORACLE_SID}${data}.log

    cat /home/oracle/scripts/rman/log/restore_sbt_tape_${ORACLE_SID}${data}.log | mail -s " RESTORE PRDB05 - 10.61.100.100 " sbd.sst.cti@xxx
    cat /home/oracle/scripts/rman/log/restore_sbt_tape_${ORACLE_SID}${data}.log | mail -s " RESTORE PRDB05 - 10.61.100.100 " sso.sst.cti@xxx


    run{
    startup nomount;
    allocate channel t1 type 'SBT_TAPE' parms 'ENV=(NSR_SERVER=networker-cti.xxx,NSR_CLIENT=prdb04-vip.xxx)';
    allocate channel t2 type 'SBT_TAPE' parms 'ENV=(NSR_SERVER=networker-cti.xxx,NSR_CLIENT=prdb04-vip.xxx)';
    allocate channel t3 type 'SBT_TAPE' parms 'ENV=(NSR_SERVER=networker-cti.xxx,NSR_CLIENT=prdb04-vip.xxx)';
    allocate channel t4 type 'SBT_TAPE' parms 'ENV=(NSR_SERVER=networker-cti.xxx,NSR_CLIENT=prdb04-vip.xxx)';
    allocate channel t5 type 'SBT_TAPE' parms 'ENV=(NSR_SERVER=networker-cti.xxx,NSR_CLIENT=prdb04-vip.xxx)';
    allocate channel t6 type 'SBT_TAPE' parms 'ENV=(NSR_SERVER=networker-cti.xxx,NSR_CLIENT=prdb04-vip.xxx)';
    allocate channel t7 type 'SBT_TAPE' parms 'ENV=(NSR_SERVER=networker-cti.xxx,NSR_CLIENT=prdb04-vip.xxx)';
    restore controlfile from 'DPF05P_c-3778656815-20090729-29';
    alter database mount;
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 7;
    restore database;
    recover database;
    sql 'ALTER DATABASE OPEN';
    release channel t1;
    release channel t2;
    release channel t3;
    release channel t4;
    release channel t5;
    release channel t6;
    release channel t7;
    }


    #########################################################################

    Message was edited by:
    Hormigo
  • Hormigo

    2 Intern

    •

    131 Posts

    2020

    0

    Posted August 7th, 2009 11:00

    anyone have any idea?
  • salvoemc

    45 Posts

    2020

    0

    Posted August 7th, 2009 12:00

    Is prdb04-vip.xxx defined in prdb05-vip.xxx host file? I have same error and resolution is define that entrie in hosts file.

    Is a RAC environment?

    Regards
  • benzino1

    2 Intern

    •

    244 Posts

    2020

    0

    Posted August 10th, 2009 01:00

    1. prdb04-vip.xxx has to have entry in the prdb05.xxx hosts file (or has to be resolvable by any other way) with even fake IP. Probably you have to put also those two physical nodes also.
    2. Add prdb05.xxx to remote access list on prdb04-vip.xxx
  • Hormigo

    2 Intern

    •

    131 Posts

    2020

    0

    Posted August 10th, 2009 05:00

    I will Check.
  • Biku1

    42 Posts

    1122

    0

    Posted August 11th, 2009 07:00

    Hi,

    Can you please try from other tape....using some other date ???

    Thanks
  • Hormigo

    2 Intern

    •

    131 Posts

    471

    0

    Posted August 11th, 2009 11:00

    We are work with EDL, ok.

    Already test with other time, other controlfile, other tape...
    I removed Device Multiplex, and the error continues....

    Any other suggestion?