Why the database, listener and asm are offline automatically

I just install two nodes RAC on vmware, everything is OK. After I install database, I find, the system is not stable. I use the command
"crs_stat -t" , everything is online, however, after a while, database instances, asms or listeners go often offline automatically.
So, I have to use "srvctl start database -d" to start the database, after that, everything is online again.
why is that? Anybody met the same situation before? Did I forget some important parameter?
thanks

check the crsd and cssd log file .
also upgrade you clusterware,asm, db_home to 10.2.0.4.

Similar Messages

  • The type of the database table and work area (or internal table)...

    Hello
    I am trying to use a database and select all records from it and store them into an internal table.
    My code:
    Select * from xixi_dbcurrency into table gt_currency.
    The error:
    "The type of the database table and work area (or internal table) "GT_CURRENCY" are not Unicode-convertible . . . . . . . . . .     "
    Any suggestions?
    Thank you

    Hi Thomas,
    Thank you for your inputs above.
    But as you suggested is we use INTO CORRESPONDING FIELDS OF TABLE then it resolve the error.
    But I have below piece of code:
    DATA:    it_new_source TYPE STANDARD TABLE OF _ty_s_sc_1,
                  wa_source TYPE _ty_s_sc_1,
                  wa_new_source TYPE _ty_s_sc_1,
                  ls_target_key TYPE t_target_key.
    SELECT * INTO CORRESPONDING FIELDS OF TABLE it_new_source
           FROM /bic/afao06pa100
           FOR ALL ENTRIES IN SOURCE_PACKAGE
           where /bic/fcckjobno = SOURCE_PACKAGE-/bic/fcckjobno
           and /bic/fcckjitid = SOURCE_PACKAGE-/bic/fcckjitid.
    But since this is reading into corresponding fields of table the data load from one DSO to other DOS is running for long more that 15 hours and still not getting completed and giving dump.
    So if I switch the search to below:
    SELECT * FROM /bic/afao06pa100
       INTO TABLE it_new_source
           FOR ALL ENTRIES IN SOURCE_PACKAGE
           where /bic/fcckjobno = SOURCE_PACKAGE-/bic/fcckjobno
           and /bic/fcckjitid = SOURCE_PACKAGE-/bic/fcckjitid.
    Then I am getting below error:E:The type of the database table and work area (or internal table) "IT_NEW_SOURCE" are not Unicode convertible.
    Can you please advice on this, as performance need to improve in start routine code.
    Thank You.

  • The type of the database table and work area are not Unicode convertible

    ***Data declaration
    TYPES : BEGIN OF t_zle_lagerplanung,
                       SEl, "stores which row user has selected
                       kdauf TYPE zle_lagerplanung-kdauf,
                       kdpos TYPE zle_lagerplanung-kdpos,
                       etenr TYPE zle_lagerplanung-etenr,
                       papiermaschine TYPE zle_lagerplanung-papiermaschine,
                       runnr TYPE zle_lagerplanung-runnr,
                       prio TYPE zle_lagerplanung-prio,
                       werk TYPE zle_lagerplanung-werk,
                       durchmesser TYPE zle_lagerplanung-durchmesser,
                       breite TYPE zle_lagerplanung-breite,
                       anzle TYPE zle_lagerplanung-anzle,
                       lgpla TYPE zle_lagerplanung-lgpla,
                       lgtyp TYPE zle_lagerplanung-lgtyp,
                       art TYPE zle_lagerplanung-art,
                       anzhoehe TYPE zle_lagerplanung-anzle,
                       fa TYPE zle_lagerplanung-fa,
    END OF t_zle_lagerplanung.
    DATA : it_zle_lagerplanung TYPE STANDARD TABLE OF t_zle_lagerplanung INITIAL SIZE 0,
                wa_zle_lagerplanung TYPE t_zle_lagerplanung.
    Here I am getting the data in internal table by using thiis select statement.
    SELECT kdauf kdpos etenr papiermaschine runnr prio werk durchmesser breite
                  anzle lgpla lgtyp art anzhoehe fa
    FROM    zle_lagerplanung INTO CORRESPONDING FIELDS OF TABLE it_zle_lagerplanung
    WHERE  kdauf IN s_kdauf
    AND       KDPOS IN s_kdpos
    AND      werk = p_werks.
    But while updating the particular field in zle_lagerplanung using this statement
    UPDATE zle_lagerplanung from table it_zle_lagerplanung.
    it is giving syntax error
    "The type of the database table and work area (or internal table)
    "IT_ZLE_LAGERPLANUNG" are not Unicode convertible. "
    Could any one help me out how to resolve this problem....
    Thanks in advance

    Dear Shayamal,
    XXX....are not Unicode convertible
    This  error comes while inserting or updating database and the fields are not matching between  data base table and structure .
    Check you fields of data base table and  "zle_lagerplanung" and struture "it_zle_lagerplanung" . There fields must match.
    thanks and regrds,
    Anup Banerjee

  • Listener and gsd are unknown, what is the reason

    I just install 10g RAC on linux, everything was good. However, I shutdowned the whole system and started it again,
    my listener and gsd are unknown, what is the reason?
    rac1-> crs_stat -t -v
    Name Type R/RA F/FT Target State Host
    ora.devdb.db application 0/1 0/1 ONLINE ONLINE rac1
    ora....b1.inst application 0/5 0/0 ONLINE ONLINE rac1
    ora....b2.inst application 0/5 0/0 ONLINE ONLINE rac2
    ora....SM1.asm application 0/5 0/0 ONLINE ONLINE rac1
    ora....C1.lsnr application 0/5 0/0 ONLINE UNKNOWN rac1
    ora.rac1.gsd application 0/5 0/0 ONLINE UNKNOWN rac1
    ora.rac1.ons application 0/3 0/0 ONLINE ONLINE rac1
    ora.rac1.vip application 0/0 0/0 ONLINE ONLINE rac1
    ora....SM2.asm application 0/5 0/0 ONLINE ONLINE rac2
    ora....C2.lsnr application 0/5 0/0 ONLINE UNKNOWN rac2
    ora.rac2.gsd application 0/5 0/0 ONLINE UNKNOWN rac2
    ora.rac2.ons application 0/3 0/0 ONLINE ONLINE rac2
    ora.rac2.vip application 0/0 0/0 ONLINE ONLINE rac2
    rac1-> srvctl start listener -n rac1
    CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.rac1.LISTENER_RAC1.lsnr' has placement error.
    rac1-> srvctl start listener -n rac2
    CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.rac2.LISTENER_RAC2.lsnr' has placement error.
    rac1-> tail -30 alert_+ASM1.log
    SUCCESS: diskgroup RECOVERYDEST was mounted
    Wed Aug 31 17:24:48 2011
    NOTE: recovering COD for group 2/0xc8787a38 (RECOVERYDEST)
    SUCCESS: completed COD recovery for group 2/0xc8787a38 (RECOVERYDEST)
    Wed Aug 31 17:25:01 2011
    Starting background process ASMB
    ASMB started with pid=17, OS id=6498
    Wed Aug 31 17:28:07 2011
    NOTE: ASMB process exiting due to lack of ASM file activity
    Wed Aug 31 17:29:00 2011
    Reconfiguration started (old inc 1, new inc 2)
    List of nodes:
    0 1
    Global Resource Directory frozen
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Wed Aug 31 17:29:01 2011
    LMS 0: 0 GCS shadows cancelled, 0 closed
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Wed Aug 31 17:29:01 2011
    LMS 0: 43 GCS shadows traversed, 0 replayed
    Wed Aug 31 17:29:01 2011
    Submitted all GCS remote-cache requests
    Post SMON to start 1st pass IR
    Fix write in gcs resources
    Reconfiguration complete
    rac1-> tail -30 alert_devdb1.log
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Wed Aug 31 17:29:35 2011
    LMS 0: 0 GCS shadows cancelled, 0 closed
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Wed Aug 31 17:29:35 2011
    LMS 0: 3118 GCS shadows traversed, 1733 replayed
    Wed Aug 31 17:29:35 2011
    Submitted all GCS remote-cache requests
    Post SMON to start 1st pass IR
    Fix write in gcs resources
    Reconfiguration complete
    Wed Aug 31 17:31:25 2011
    Shutting down archive processes
    Wed Aug 31 17:31:30 2011
    ARCH shutting down
    ARC2: Archival stopped
    Wed Aug 31 17:40:11 2011
    db_recovery_file_dest_size of 1500 MB is 14.40% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Wed Aug 31 22:00:14 2011
    Thread 1 advanced to log sequence 3
    Current log# 2 seq# 3 mem# 0: +DG1/devdb/onlinelog/group_2.262.760635995
    Current log# 2 seq# 3 mem# 1: +RECOVERYDEST/devdb/onlinelog/group_2.258.760635997                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    add an entry in on both the nodes /etc/sysconfig/network DEFAULT_GATEWAY
    eg:-
    [oracle@rac1 ~]$ cat /etc/sysconfig/network
    NETWORKING=yes
    HOSTNAME=rac1.localdomain
    DEFAULT_GATEWAY=192.168.1.10
    and try to start the service.
    if you would like refer:-http://oracleinstance.blogspot.com/2009/12/crs-0215-could-not-start-resource.html

  • Why the scan lister and listener configure/start from GRID home why not from Oracle Home.

    Hi
       why the scan lister and listener configure/start from GRID home why not from Oracle Home.

    > why the scan lister and listener configure/start from GRID home why not from Oracle Home.
    Because Oracle says that's the way it has to be.
    As @MohaAGOU said, starting in 11gR2, the Listeners (both SCAN and traditional) are now cluster resources. Let's start with the SCAN Listener. There are only 3 of them, even if you have 4 or more nodes in the cluster. If a node goes down and a SCAN Listener were running on it, Grid Infrastructure will relocate the SCAN Listener to a surviving node. Much easier to do this if the entire resource were in the GI home. Note that an instance cannot be relocated and it is running on a different home.
    As for the traditional listener. The Listener itself won't be relocated during a node termination, but its VIP will.
    Cheers,
    Brian

  • Freight Material why it is required and what are the configuration?

    Hi experts,
    My clientsu2019 requirement is they want freight material to be configured in DIEN material type? I want to know why they want this and what are the steps to configure it apart from material master
    Plz need your help
    Thanks
    Krushna

    Hi experts Please need your help

  • Just got an iPad mini 3 and have not reset my iPad mini 3; is that why the photos from iCloud backup are not showing up in the new iPad?

    Just got an iPad mini 3 and have not reset my iPad mini 3; is that why the photos from iCloud backup are not showing up in the new iPad?

    Sorry, don't know what you are asking. You have an old iPad Mini 3 and a new iPad Mini 3?  How did you set up the new iPad? Did you restore it from a backup of the old iPad? What photos are you not seeing?
    Cheers,
    GB

  • How the Payload Message and Logs are stored in the B1i Database Table: BZSTDOC

    I would appreciate it if someone could provide any documentation regarding B1i database further maintenance.
    for example:
    I want to know how the payload message and logs are stored in the table BZSTDOC, and how can we retrieve the payload message directly from the column DOCDATA.
    As described in the B1iSNGuide05 3.2 LogGarbageCollection:
    to avoid the overload of the B1i Database, I set the Backup Buffer to 90 days : so this means Message Logs from the last 90 days will always be available, but is there some way we can save those old messages to a disk so that I can retrieve the payload message anytime?
    in addition, let’s assume the worst, the B1iSN server or the B1i database damaged, Can we just simply restore the B1i database from a latest backup DB then it can work automatically after the B1iSN server is up and running again?
    BR/Jim

    Dear SAP,
    Two weeks passed, I still haven't received any feedback from you guys.
    Could you please have a look at my question?
    How is this Question going? Is it Untouched/Solving/Reassigned ?

  • My iMessages and FaceTime are offline.. When I try to activate my apple id account.. it says The server encountered an error processing registration. Please try again later. What should I do in this case?

    My iMessages and FaceTime are offline.. When I try to activate my apple id account.. it says The server encountered an error processing registration. Please try again later. What should I do in this case?

    Hey radyslav,
    There's an article that applies to your situation, I'd follow the steps within here:
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Take care,
    Delgadoh

  • Recently on my mpb I was editing a jpg using the shapes option and know notice that the heart shape no longer is an option to use. Anyone know why? The square, circle and lasso are still there.

    Recently on my mpb I was editing a jpg using the shapes option and know notice that the heart shape no longer is an option to use. Anyone know why? The square, circle and lasso are still there.

    I am not aware of a heart, square, circle or lasso shape i=for editing in iphoto for the Mac - Maybe you are thinking of iPhoto for IOS which has been discontinued and is not available under IOS 8
    LN

  • The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) Logon failure: unknown user name or bad

    The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)
    Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
    Logon failure: unknown user name or bad password 
    am using Windows integrated security,version of my sql server 2008R2
    I have go throgh the different articuls, they have given different answers,
    So any one give me the  exact soluction for this problem,
    Using service account then i will get the soluction or what?
    pls help me out it is urgent based.
    Regards
    Thanks!

    Hi Ychinnari,
    I have tested on my local environment and can reproduce the issue, as
    Vaishu00547 mentioned that the issue can be caused by the Execution Account you have configured in the Reporting Services Configuration Manager is not correct, Please update the Username and Password and restart the reporting services.
    Please also find more details information about when to use the execution account, if possible,please also not specify this account:
    This account is used under special circumstances when other sources of credentials are not available:
    When the report server connects to a data source that does not require credentials. Examples of data sources that might not require credentials include XML documents and some client-side database applications.
    When the report server connects to another server to retrieve external image files or other resources that are referenced in a report.
    Execution Account (SSRS Native Mode)
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • I have a macbook pro, and i want to transfer my hard drive from my macbook, but the display drivers and such are different.  How do i do this?

    I have a macbook pro, and i want to transfer my hard drive from my macbook (500g), but the display drivers and such are different.  How do i do this and is it possible?
    The Macbook Pro has Mac OS X 10.4.11 (70g hard drive)
    The Macbook has Mac OS X 10.6.8 (500g hard drive)

    The MacBook's hard drive lacks the necessary hardware drivers to boot the MacBook Pro even though it has a much newer OS on it; that's why simply moving it into the Pro doesn't work. Presumably you have a very old MB Pro, because only the very first MB Pro model (produced January to May 2006) was ever offered with an 80GB hard drive. Are you sure you want to move your big drive into such an old machine? The MacBook must be newer, because the first MacBook was introduced just as the first Pro model was discontinued.

  • Optical drive on iMac at work, barely one year old, won't read CD's....disc utilities shows disc unavailable!  Rarely used and out of warranty, what a rip off!!  I have been on MACS since the 80's and things are getting more and more difficult

    Optical drive on iMac at work, barely one year old, won't read CD's....disc utilities shows disc unavailable!  Rarely used and out of warranty, what a rip off!!  I have been on MACS since the 80's and things are getting more and more difficult to deal with. Why did it quit after barely being used? Any help from Apple?

    It depends on what you mean by "barely one year old". If the iMac is only a couple of days out of warranty, Apple's been known to make exceptions and extend the warranty, though it's by no means guaranteed. If it's several days or more out of warranty, then Apple will fix it, if it's a hardware problem, but the repair won't be free. This is no different now then it would have been with a Mac purchased back in the 80s.
    Why the drive failed, if indeed it has, is impossible to say. Could have been a static shock, a weak component that failed when power was applied, or a mechanical fault in one of the tiny parts used in optical drives and hard drives that finally broke.
    Regards.

  • The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) The user name or password is incorrect

    I am able to run the report fine in BIDS in the preview window, and it deployes fine.  When it goes to view the report in the browser, I get the following error.  There is no domain, I am using a standalone computer with SQL Server and SSRS on
    this one machine.
    Can anyone point to where I might configure the permission it is looking for?  thanks!  Steven
    The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)
    Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
    The user name or password is incorrect
    Steven DeSalvo

    Hi StevenDE2012,
    Based on the error message "The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)", it seems that the Unattended Execution Account settings in Reporting Services
    Configuration is not correct.
    Reporting Services provides a special account that is used for unattended report processing and for sending connection requests across the network. Unattended report processing refers to any report execution process that is triggered by an event rather than
    a user request. The report server uses the unattended report processing account to log on to the computer that hosts the external data source. This account is necessary because the credentials of the Report Server service account are never used to connect
    to other computers. To configure the account, please refer to the following steps:
    Start the Reporting Services Configuration tool and connect to the report server instance you want to configure.
    On the Execution Account page, select Specify an execution account.
    Type the account and password, retype the password, and then click Apply.
    In addition, please verify you have access to the Report Server database by following steps:
    Go to SQL Server Reporting Services Configuration Manager, make sure the configuration is correct.
    Go to Database, Verify that you can connect to the database.
    Make sure you are granted public and RSExecRole roles.
    Reference:
    Configure the Unattended Execution Account
    Configure a Report Server Database Connection
    If the problem is unresolved, i would appreciate it if you could give us detailed error log, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu

  • PERFORMING FULL RECOVERY WHEN THE RECOVERY CATALOG AND CONTROLFILE ARE LOST

    제품 : RMAN
    작성날짜 : 2002-05-30
    PERFORMING FULL RECOVERY WHEN THE RECOVERY CATALOG AND CONTROLFILE ARE LOST
    ===========================================================================
    PURPOSE
    Recovery Catalog와 Controlfile이 손상되었을 때 Oracle9i의 new feature인
    Controlfile Autobackup을 이용하여 full recovery를 수행하는 방법을 알아본다
    EXPLANATION
    Catalog와 Controlfile이 모두 손상되었을 경우 full recovery를 수행할 수 있도록
    하기 위해 oracle9i부터 Controlfile Autobackup이라는 New feature를 제공한다.
    이 Feature가 활성화되면 RMAN은 자동으로 특정 형식(specific format)으로
    controlfile을 backup한다 나중에 RMAN은 Recovery catalog를 access하지 않고도
    이 backup을 인식할 수 있다. 이 형식은 "%F"라는 variable을 포함하는데
    이 variable은 중요한 정보인 DATABASE ID를 포함하고 있다.
    이것은 다음과 같은 CONFIGURE 명령을 사용하여 Turn-on 될 수 있다.
    RMAN> configure controlfile autobackup on;
    활성화시킨 후에 controlfile autobackup의 format을 변경할 수 있다. 그러나
    이것은 반드시 variable "%F"를 포함해야만 한다. 그렇지 않으면 다음과 같은 Error
    를 만나게 된다.
    RMAN> configure controlfile autobackup format for
    2> device type disk to 'c:\backups\%U';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00579: the following error occurred at 01/31/2002 11:57:21
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: configure
    RMAN-06492: controlfile autobackup format "c:\backups\%U" must specify a "%F"
    format specifier
    %F 는 RMAN이 recovery catalog 없이 backup piece를 인식하도록 Key이다.
    이 Feature가 활성화 된 후에 RMAN은 BACKUP 명령을 수행할 때마다 controlfile에
    대해서 별도의 backup을 수행한다. 이전에는, controlfile 은 오직 system
    tablespace가 backup되는 경우에만 자동으로 backup되었다.
    Database Backup은 아래와 같은 log를 출력한다.
    RMAN> backup database;
    Starting backup at 31-JAN-02
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=12 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\ORADATA\PROD\SYSTEM01.DBF
    input datafile fno=00002 name=C:\ORACLE\ORADATA\PROD\UNDOTBS01.DBF
    input datafile fno=00005 name=C:\ORACLE\ORADATA\PROD\EXAMPLE01.DBF
    input datafile fno=00006 name=C:\ORACLE\ORADATA\PROD\INDX01.DBF
    input datafile fno=00008 name=C:\ORACLE\ORADATA\PROD\USERS01.DBF
    input datafile fno=00003 name=C:\ORACLE\ORADATA\PROD\CWMLITE01.DBF
    input datafile fno=00004 name=C:\ORACLE\ORADATA\PROD\DRSYS01.DBF
    input datafile fno=00007 name=C:\ORACLE\ORADATA\PROD\TOOLS01.DBF
    channel ORA_DISK_1: starting piece 1 at 31-JAN-02
    channel ORA_DISK_1: finished piece 1 at 31-JAN-02
    piece handle=C:\BACKUPS\01DFKAIH_1_1 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:56
    Finished backup at 31-JAN-02
    Starting Control File Autobackup at 31-JAN-02
    piece handle=C:\BACKUPS\C-4159396170-20020131-00 comment=NONE
    Finished Control File Autobackup at 31-JAN-02
    Note:
    Controlfile backup은 backup의 끝에서 수행된다.
    그리고 이 backup piece name의 두번째 string은 dbid이다(4159396170)
    Current controlfile이 database와 함께 손실되고 Recovery catalog도 손상되어
    사용할 수 없게 되었을 때 controlfile autobackup이 controlfile을 restore하기
    위해 사용될 수 있다. restore된 controlfile은 db를 mount하고 datafile들을
    restore하기 위해 사용될 수 있다.
    Controlfile autobackup을 이용하여 full recovery를 수행하기 위해서는 아래와
    같은 과정을 수행하면 된다.
    1. Target instance를 위한 new init.ora를 생성한다. backup이 있다면 이것을
    사용할 수 있다.
    2. Startup nomount your new instance.
    3. RMAN은 시작하나 어떤 connect statement도 수행하지 않는다.
    4. RMAN prompt상에서 DBID를 설정한다. 만약 DBID를 모르면 controlfile autobackup
    의 이름으로부터 이것을 알 수 있다.
    RMAN> set dbid=4159396170;
    5. Dbid를 설정한 후에 nomount로 startup한 target instance에 connect한다.
    RMAN> connect target /
    6. 만약에 backup이 disk상에 있고 controlfile autobackup을 non-default location
    으로 지정하였다면 파일을 다음과 같은 위치로 옮겨 놓는다
    ON UNIX : ORACLE_HOME/dbs
    ON WINDOWS: ORACLE_HOME/database
    RMAN은 controlfile autobackup을 찾기 위해 위 directory를 검색한다.
    만약 controlfile autobackup location을 바꾸지 않으면 위 directory안에
    backup이 생성되게 된다.
    만약에 backup이 tape에 있다면 restore시 channel과 device를 기술하기 위해서
    run block을 사용해야 한다. database가 mount되어 있지 않기 때문에
    default device와 channel을 설정할 수 없다.
    RMAN> run { allocate channel c_1 type 'sbt_tape'
    parms "ENV=(NB_ORA_SERV=rm-wgt)";
    restore controlfile from autobackup;}
    7. Restore the controlfile:
    RMAN> restore controlfile from autobackup;
    8. Mount the database from the restored controlfile:
    RMAN> alter database mount;
    9. Restore datafiles:
    RMAN> restore database;
    10. file들을 restore한 후에 recovery를 수행할 수 있다.
    이때 current online redo log가 없고 또한 backup controlfile을 사용하기
    때문에 incomplete recovery를 수행해야 한다. 이를 수행하기 위해서는
    "UNTIL TIME"을 설정해야 하고 open시에는 resetlogs를 사용해야 한다.
    RMAN> set until time=<time stamp>;
    RMAN> recover database;
    RMAN> alter database open resetlogs;
    REFERENCE DOCUMENT
    NOTE:174623.1

    BACKUP Command Behavior
    ON
    If the backup includes datafile 1, then RMAN does not automatically include the current control file in the datafile backup set. Instead, RMAN writes the control file and server parameter file to a separate autobackup piece.
    Note: The autobackup occurs regardless of whether the BACKUP or COPY command explicitly includes the current control file, for example, BACKUP DATABASE INCLUDE CURRENT CONTROLFILE.
    OFF
    If the backup includes datafile 1, then RMAN automatically includes the current control file and server parameter file in the datafile backup set. RMAN does not create a separate autobackup piece containing the control file and server parameter file.
    BUT Dear Mohammed,
    It is not working accordingly. what I did is :-
    1. I switched off the AUTOBACKUP
    2. Then I took whole database backup, that means it included File # 1
    3. But according to above it is going to include autobackup of controlfile and spfile in the same backupset .
    4. But when I asked it to restore controlfile from autobackup it said NO AUTOBACKUP FOUND.
    COULD YOU PLEASE HELP ME ONCE AGAIN DEAR.
    If it works accroding to above then it should have my Autobackup.
    Regards
    Harpreet Singh

Maybe you are looking for

  • How to Print Digital Signature in Smart forms.

    Hi Experts, Any one please help me how to use digital signatures in SMARTFORMS.? Which are the tables used to store digital signatures and please any one have any demo program which prints the the digital signature using smartforms kindly let me know

  • Change Master Record  details by Customer or Vendor number

    Hi There i am trying to write a FD for a report where i need to list all the change has been made for the specific vendor or customer and listed down what is been change   fields) and the values as well Input : Vendor /Customer number Output : Date w

  • Concepts in web dynpro abap

    concepts in web dynpro abap? how different is it from abap

  • What is the point of an iTunes server?

    I have an iTunes server running on a NAS drive (Synology), but since I cannot connect my iPad or Apple TV to it I am wondering what on earth is the point in it? I understand that I can connect my PC to the iTunes server, but as I have no need to I've

  • Universe Connection in Business Objects for SAP BW as Source.

    Hi All, I am trying to create a new Universe connection where i took SAP  as a source , I filled all the details that is required for connection like Application server and system number. when i click on next it showing a error like this-- businessob