无码视频在线观看,99人妻,国产午夜视频,久久久久国产一级毛片高清版新婚

  • 始創(chuàng)于2000年 股票代碼:831685
    咨詢熱線:0371-60135900 注冊有禮 登錄
    • 掛牌上市企業(yè)
    • 60秒人工響應(yīng)
    • 99.99%連通率
    • 7*24h人工
    • 故障100倍補償
    全部產(chǎn)品
    您的位置: 網(wǎng)站首頁 > 幫助中心>文章內(nèi)容

    Oracle數(shù)據(jù)庫教程:ORA-01103錯誤解析

    發(fā)布時間:  2012/7/30 17:06:07

    這是一測試庫,我將參數(shù)文件,控制文件,數(shù)據(jù)文件全部刪除之后,做數(shù)據(jù)恢復(fù),但是

    我把控制文件和參數(shù)文件都恢復(fù)回來了,可數(shù)據(jù)庫卻怎么也打不開,報ORA-01103: database name 'WWL' in control file is not 'DUMMY'錯誤
    -
     

    我的數(shù)據(jù)庫名稱是:WWL

    2、執(zhí)行過程:

    恢復(fù)參數(shù)文件:

    RMAN> setDBID=5520179

    executing command: SET DBID

    RMAN> restorespfile from autobackup;

    Starting restore at 23-MAY-12

    using target database control file insteadof recovery catalog

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: sid=39 devtype=DISK

     

    channel ORA_DISK_1: looking for autobackupon day: 20120523

    channel ORA_DISK_1: autobackup found:c-5520179-20120523-04

    channel ORA_DISK_1: SPFILE restore fromautobackup complete

    Finished restore at 23-MAY-12

    RMAN>

     

    3、恢復(fù)控制文件

    RMAN> restorecontrolfile from autobackup;

     

    Starting restore at 23-MAY-12

    using channel ORA_DISK_1

     

    channel ORA_DISK_1: looking for autobackupon day: 20120523

    channel ORA_DISK_1: autobackup found:c-5520179-20120523-04

    channel ORA_DISK_1: control file restorefrom autobackup complete

    output filename=/DBSoft/product/10.2.0/db_1/dbs/cntrlWWL.dbf

    Finished restore at 23-MAY-12

     

    RMAN>

     

    4、報錯信息:

    RMAN> sql 'alterdatabase mount';

    sql statement: alter database mount

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

    RMAN-00569: =============== ERROR MESSAGESTACK FOLLOWS ===============

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

    RMAN-03009: failure of sql command ondefault channel at 05/23/2012 18:51:31

    RMAN-11003: failure during parse/executionof SQL statement: alter database mount

    ORA-01103: database name 'WWL' in controlfile is not 'DUMMY'

     

    RMAN> alterdatabase mount;

    using target database control file insteadof recovery catalog

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

    RMAN-00569: =============== ERROR MESSAGESTACK FOLLOWS ===============

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

    RMAN-03002: failure of alter db command at05/23/2012 18:39:47

    ORA-01103: database name 'WWL' in controlfile is not 'DUMMY'

     

    SQL> alterdatabase mount;

    alter database mount

     

    ERROR at line 1:

    ORA-01103: database name 'WWL' in controlfile is not 'DUMMY'

     

    注意:問題是我恢復(fù)的控制文件沒有錯呀,在本機器上也沒有部署過DUMMY的數(shù)據(jù)庫呀,只有一個實例是WWL。

     

    查詢實例信息,實例信息顯示沒有錯呀是WWL。

    SQL> selectinstance_name,status from v$instance;

     

    INSTANCE_NAME    STATUS

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

    WWL              STARTED

     

    SQL> alterdatabase mount;       ----順便執(zhí)行了下mount database;

    alter database mount

    *

    ERROR at line 1:

    ORA-01103: database name 'WWL' in controlfile is not 'DUMMY'

     

    奇怪的事發(fā)生了,現(xiàn)在再次登錄到RMAM居然連接到的是DUMMY庫:

    問題是,我確定沒有這個庫呀,怎么辦。。。

     

    [Oracle@wwldb dbs]$rman target /

    Recovery Manager: Release 10.2.0.1.0 -Production on Wed May 23 19:01:09 2012

    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    connected to target database: DUMMY (notmounted)

    RMAN> exit     

    我們剛才做了參數(shù)文件和控制文件的恢復(fù),要不將數(shù)據(jù)庫重啟下,看有沒有問題。

    SQL> shutdownimmediate

    ORA-01507: database not mounted

    Oracle instance shut down.

    SQL> startupmount;

    Oracle instance started.

    Total System Global Area  285212672 bytes

    Fixed Size                  1218968 bytes

    Variable Size              79693416 bytes

    Database Buffers          197132288 bytes

    Redo Buffers                7168000 bytes

    Database mounted.

    再次登錄正常。

    [Oracle@wwldb dbs]$rman target /

    Recovery Manager: Release 10.2.0.1.0 -Production on Wed May 23 19:04:15 2012

    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    connected to target database: WWL(DBID=5520179, not open)

     

    這個問題我一兄弟在AIX,Linux,Windows 上分別做實驗了,結(jié)果是在Windows下不用重啟數(shù)據(jù)庫,Rman就可以認到,而不會是DUMMY數(shù)據(jù)庫。
    B,每小時執(zhí)行一次,整點執(zhí)行

    interval => 'trunc(sysdate,'HH')+1/24'

    C,一個小時后執(zhí)行

    interval => 'sysdate+1/24'


    本文出自:億恩科技【mszdt.com】

    服務(wù)器租用/服務(wù)器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]

  • 您可能在找
  • 億恩北京公司:
  • 經(jīng)營性ICP/ISP證:京B2-20150015
  • 億恩鄭州公司:
  • 經(jīng)營性ICP/ISP/IDC證:豫B1.B2-20060070
  • 億恩南昌公司:
  • 經(jīng)營性ICP/ISP證:贛B2-20080012
  • 服務(wù)器/云主機 24小時售后服務(wù)電話:0371-60135900
  • 虛擬主機/智能建站 24小時售后服務(wù)電話:0371-60135900
  • 專注服務(wù)器托管17年
    掃掃關(guān)注-微信公眾號
    0371-60135900
    Copyright© 1999-2019 ENKJ All Rights Reserved 億恩科技 版權(quán)所有  地址:鄭州市高新區(qū)翠竹街1號總部企業(yè)基地億恩大廈  法律顧問:河南亞太人律師事務(wù)所郝建鋒、杜慧月律師   京公網(wǎng)安備41019702002023號
      1
     
     
     
     

    0371-60135900
    7*24小時客服服務(wù)熱線