午夜国产狂喷潮在线观看|国产AⅤ精品一区二区久久|中文字幕AV中文字幕|国产看片高清在线

    在操作系統(tǒng)損壞時恢復Oracle10g全過程
    來源:易賢網(wǎng) 閱讀:798 次 日期:2015-03-20 13:45:25
    溫馨提示:易賢網(wǎng)小編為您整理了“在操作系統(tǒng)損壞時恢復Oracle10g全過程”,方便廣大網(wǎng)友查閱!

    環(huán)境:oracle10g,操作系統(tǒng)5.2

    數(shù)據(jù)庫系統(tǒng)在rootvg下/oracle文件系統(tǒng)下,

    數(shù)據(jù)文件在datavg下/oradata文件系統(tǒng)下

    控制文件在 $/ORACLE_HOME/dbs/一個和/oradata下兩個

    重做日志文件在 $/ORACLE_HOME/dbs/和/oradata下每組日志文件各一個,共三組

    有最新spfile文件備份。

    1、rootvg損壞,重新安裝操作系統(tǒng)。

    2、安裝oracle數(shù)據(jù)庫系統(tǒng)文件

    3、恢復spfile文件到$/ORACLE_HOME/dbs/下,

    4、startup nomount,出現(xiàn)錯誤提示,建立$/ORACLE_BASE/hb052500/cdump 和udump

    5、startup nomount,出現(xiàn)錯誤提示

    SQL> startup nomount

    ORA-00444: background process "MMAN" failed while starting

    ORA-07446: sdnfy: bad value '' for parameter .

    ORA-07446 sdnfy: bad value 'string' for parameter string.

    Cause: The directory specified as the value for the stated parameter could not

    be used.

    Action: Make sure the directory you have specified is a valid directory/file

    specification.

    6、建立pfile文件

    SQL> create pfile from spfile;

    File created.

    7、查看pfile文件,按照pfile文件中列出的路徑,建立相應路徑后臺進程目錄和歸檔目錄

    *.log_archive_dest_1='LOCATION=/oracle/app/oracle/OraHome/dbs/archive'

    *.background_dump_dest='/oracle/app/oracle/admin/hb052500/bdump'

    $ cd $/ORACLE_BASE/hb052500/

    $ ls

    cdump udump

    $ mkdir bdump

    $ cd $ORACLE_HOME/dbs/

    $ ls

    hb052500 init.ora inithb052500.ora

    hc_hb052500.dat initdw.ora spfilehb052500.ora

    $ mkdir archive

    8、startup nomount成功。

    $ sqlplus /nolog

    SQL*Plus: Release 10.1.0.2.0 - Production on Sun Oct 16 21:23:17 2005

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

    SQL> conn / as sysdba

    Connected to an idle instance.

    SQL> startup nomount;

    ORACLE instance started.

    Total System Global Area 289406976 bytes

    Fixed Size 1328912 bytes

    Variable Size 262387952 bytes

    Database Buffers 25165824 bytes

    Redo Buffers 524288 bytes

    SQL>

    9、alter database mount,出現(xiàn)錯誤提示

    SQL> alter database mount;

    alter database mount

    *

    ERROR at line 1:

    ORA-01990: error opening password file '/oracle/app/oracle/OraHome/dbs/orapw'

    ORA-27037: unable to obtain file status

    IBM AIX RISC System/6000 Error: 2: No such file or directory

    Additional information: 3

    10、建立口令文件

    orapwd file=$ORACLE_HOME/dbs/orapwd.ora password=oracle

    11、

    SQL> alter database mount;

    alter database mount

    *

    ERROR at line 1:

    ORA-01100: database already mounted

    SQL> alter database open;

    alter database open

    *

    ERROR at line 1:

    ORA-38760: This database instance failed to turn on flashback database

    SQL> alter database flashback off;

    Database altered.

    SQL> alter database open;

    Database altered.

    SQL> archive log list;

    Database log mode Archive Mode

    Automatic archival Enabled

    Archive destination /oracle/app/oracle/OraHome/dbs/archive

    Oldest online log sequence 614

    Next log sequence to archive 616

    Current log sequence 616

    SQL>

    更多信息請查看IT技術(shù)專欄

    更多信息請查看數(shù)據(jù)庫
    易賢網(wǎng)手機網(wǎng)站地址:在操作系統(tǒng)損壞時恢復Oracle10g全過程
    由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復僅供參考,敬請考生以權(quán)威部門公布的正式信息和咨詢?yōu)闇剩?/div>

    2025國考·省考課程試聽報名

    • 報班類型
    • 姓名
    • 手機號
    • 驗證碼
    關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點 | 投訴建議
    工業(yè)和信息化部備案號:滇ICP備2023014141號-1 云南省教育廳備案號:云教ICP備0901021 滇公網(wǎng)安備53010202001879號 人力資源服務許可證:(云)人服證字(2023)第0102001523號
    聯(lián)系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢關(guān)注公眾號:hfpxwx
    咨詢QQ:1093837350(9:00—18:00)版權(quán)所有:易賢網(wǎng)