系统蓝屏,注册表文件丢失,ORACLE无法启动的解决

10/24/2009来源:Oracle教程人气:6499

1、可从其他电脑导出相应的注册表文件,如下:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Oracle]
"inst_loc"="C:\\PRogram Files\\Oracle\\Inventory"

[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home2]
"ORACLE_HOME"="D:\\oracle\\product\\10.2.0\\db_2"
"ORACLE_HOME_NAME"="OraDb10g_home2"
"ORACLE_GROUP_NAME"="Oracle - OraDb10g_home2"
"NLS_LANG"="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
"ORACLE_BUNDLE_NAME"="Enterprise"
"OLEDB"="D:\\oracle\\product\\10.2.0\\db_2\\oledb\\mesg"
"StmtCacheSize"="0"
"StatementCacheSize"="0"
"ORACLE_SID"="mzyj"
"OO4O"="D:\\oracle\\product\\10.2.0\\db_2\\oo4o\\mesg"
"SQLPATH"="D:\\oracle\\product\\10.2.0\\db_2\\dbs"
"ORACLE_HOME_KEY"="SOFTWARE\\ORACLE\\KEY_OraDb10g_home2"
"MSHELP_TOOLS"="D:\\oracle\\product\\10.2.0\\db_2\\MSHELP"
"ORACLE_BASE"="D:\\oracle\\product\\10.2.0"
"RDBMS_CONTROL"="D:\\oracle\\product\\10.2.0\\db_2\\DATABASE"
"RDBMS_ARCHIVE"="D:\\oracle\\product\\10.2.0\\db_2\\DATABASE\\ARCHIVE"
"ORA_MZYJ_AUTOSTART"=hex(2):54,00,52,00,55,00,45,00,00,00
"ORA_MZYJ_SHUTDOWN"=hex(2):54,00,52,00,55,00,45,00,00,00
"ORA_MZYJ_SHUTDOWNTYPE"=hex(2):69,00,6d,00,6d,00,65,00,64,00,69,00,61,00,74,00,\
  65,00,00,00
"ORA_MZYJ_SHUTDOWN_TIMEOUT"=hex(2):39,00,30,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home2\ODP.NET]
"TraceFileName"="C:\\ODPNET.trc"
"TraceLevel"="0"
"TraceOption"="0"
"StatementCacheSize"="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home2\OLEDB]
"CacheType"="Memory"
"ChunkSize"="100"
"DistribTX"="1"
"FetchSize"="100"
"OSAuthent"="0"
"PLSQLRset"="0"
"PwdChgDlg"="1"
"SchRstLng"="10000"
"UserDefFn"="0"
"DisableRetClause"="1"
"VCharNull"="1"
"TraceCategory"="0"
"TraceFileName"="c:\\OraOLEDB.trc"
"TraceLevel"="0"
"TraceOption"="0"
"SPPrmDefVal"="0"
"StmtCacheSize"="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home2\OO4O]
"CacheBlocks"="20"
"FetchLimit"="100"
"FetchSize"="4096"
"HelpFile"="D:\\oracle\\product\\10.2.0\\db_2\\oo4o\\doc\\oracleo.hlp"
"PerBlock"="16"
"SliceSize"="256"
"TempFileDirectory"="c:\\temp"
"OO4O_HOME"="D:\\oracle\\product\\10.2.0\\db_2\\oo4o"

[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\SYSMAN]

[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\SYSMAN\OracleDBConsolemzyj]
"EMDROOT"="D:\\oracle\\product\\10.2.0\\db_2"
"ORACLE_HOME"="D:\\oracle\\product\\10.2.0\\db_2"
"EMSTATE"="D:\\oracle\\product\\10.2.0\\db_2\\mzsf_yjxt_mzyj"
"CONSOLE_CFG"="dbconsole"
"ORACLE_SID"="mzyj"
"TIMEOUT"="15"
"TRACE_LEVEL"="16"

请注意修改,ORACLE安装路径,及ORACLE_SID,ORACLE_HOME_KEY,ORACLE_HOME_NAME等。

修改完毕后,再导入注册表即可。