国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術(shù)文章
文章詳情頁

在操作系統(tǒng)損壞時恢復(fù)Oracle10g全過程

瀏覽:2日期:2023-11-25 11:01:36
在操作系統(tǒng)損壞時恢復(fù)Oracle10g全過程 環(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、恢復(fù)spfile文件到$/ORACLE_HOME/dbs/下,4、startup nomount,出現(xiàn)錯誤提示,建立$/ORACLE_BASE/hb052500/cdump 和udump5、startup nomount,出現(xiàn)錯誤提示SQL> startup nomountORA-00444: background process 'MMAN' failed while startingORA-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 notbe used.Action: Make sure the directory you have specified is a valid directory/filespecification.6、建立pfile文件SQL> create pfile from spfile;File created.7、查看pfile文件,按照pfile文件中列出的路徑,建立相應(yīng)路徑后臺進程目錄和歸檔目錄*.log_archive_dest_1='LOCATION=/oracle/app/oracle/OraHome/dbs/archive'*.background_dump_dest='/oracle/app/oracle/admin/hb052500/bdump'$ cd $/ORACLE_BASE/hb052500/$ lscdump udump$ mkdir bdump$ cd $ORACLE_HOME/dbs/$ lshb052500 init.ora inithb052500.orahc_hb052500.dat initdw.ora spfilehb052500.ora$ mkdir archive8、startup nomount成功。$ sqlplus /nologSQL*Plus: Release 10.1.0.2.0 - ProdUCtion on Sun Oct 16 21:23:17 2005Copyright (c) 1982, 2004, Oracle. All rights reserved.SQL> conn / as sysdbaConnected to an idle instance.SQL> startup nomount;ORACLE instance started.Total System Global Area 289406976 bytesFixed Size 1328912 bytesVariable Size 262387952 bytesDatabase Buffers 25165824 bytesRedo Buffers 524288 bytesSQL>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 statusIBM AIX RISC System/6000 Error: 2: No such file or directoryAdditional information: 310、建立口令文件orapwd file=$ORACLE_HOME/dbs/orapwd.ora password=oracle11、SQL> alter database mount;alter database mount*ERROR at line 1:ORA-01100: database already mountedSQL> alter database open; alter database open*ERROR at line 1:ORA-38760: This database instance failed to turn on flashback databaseSQL> alter database flashback off;Database altered.SQL> alter database open;Database altered.SQL> archive log list;Database log mode Archive ModeAutomatic archival EnabledArchive destination /oracle/app/oracle/OraHome/dbs/archiveOldest online log sequence 614Next log sequence to archive 616Current log sequence 616SQL>
主站蜘蛛池模板: 酉阳| 麻栗坡县| 南通市| 南皮县| 武穴市| 大英县| 小金县| 徐水县| 临朐县| 巴彦县| 四子王旗| 翁源县| 昆明市| 铅山县| 阜平县| 高安市| 汾阳市| 达拉特旗| 前郭尔| 峨边| 通化市| 秭归县| 邯郸县| 通山县| 清镇市| 沛县| 兴海县| 敖汉旗| 龙南县| 辰溪县| 宿迁市| 大同县| 新源县| 仙居县| 溆浦县| 宁晋县| 岗巴县| 扎兰屯市| 宜都市| 浪卡子县| 孟连|