oracle10g啟動錯誤ORA-27101解決
今天啟動服務也沒有異常,可是使用 PL/SQL Developer 登入 Oracle 的時候發現報異常:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
於是乎開始請教Google老師,網上說是資料庫例項沒有啟動,於是手動啟動資料庫例項:
C:\Users\bx>sqlplus /nolog
SQL*Plus: Release 10.2.0.3.0 - Production on 星期日 8月 5 13:57:27 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
SQL> conn /as sysdba
已連線到空閒例程。
SQL> startup
可是緊接著又報錯了,繼續請教Google老師。找了很多帖子都沒有辦法解決問題,後來碰到了一篇博文跟我的問題差不多,死馬當活馬醫就照著試了一下,居然真成功了,於是記錄下來,分享給大家。參考地址是:http://haojiejie.iteye.com/blog/1466347
ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
ORA-01263: Name given for file destination directory is invalid
OSD-04018: ??????????????????????????
O/S-Error: (OS 2) ??????????????????????
其實是sPfile檔案中一個路徑db_recovery_file_dest找不到導致的。於是找到這個 sPfile 檔案看看它裡面是怎麼寫的。我的檔案路徑是:D:\Oracle\product\10.2.0\db_1\database\SPFILEORCL.ORA
用記事本開啟發現是個二進位制檔案,不過還好路徑還是可以看到的。
orcl.__db_cache_size=411041792
orcl.__java_pool_size=16777216
orcl.__large_pool_size=4194304
orcl.__shared_pool_size=163577856
orcl.__streams_pool_size=0
*.audit_file_dest='D:\oracle\product\10.2.0\admin\orcl\adump'
*.background_dump_dest='D:\oracle\product\10.2.0\admin\orcl\bdump'
*.compatible='10.2.0.3.0'
*.control_files='D:\oracle\product\10.2.0\oradata\orcl\control01.ctl','D:\oracle\product\10.2.0\oradata\orcl\control02.ctl','D:\oracle\product\10.2.0\oradata\orcl\control03.ctl'
*.core_dump_dest='D:\oracle\product\10.2.0\admin\orcl\cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl'
*.db_recovery_file_dest='D:\oracle\product\10.2.0\flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=200278016
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=600834048
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='D:\oracle\product\10.2.0\admin\orcl\udump'
很顯然是找不到D:\oracle\product\10.2.0\flash_recovery_area,於是我開啟資源管理器一看,flash_recovery_area 這個目錄果然不存在,新建了一個flash_recovery_area資料夾後再啟動資料庫例項就沒問題了。
SQL> startup
ORACLE 例程已經啟動。
Total System Global Area 603979776 bytes
Fixed Size 1291988 bytes
Variable Size 184551724 bytes
Database Buffers 411041792 bytes
Redo Buffers 7094272 bytes
資料庫裝載完畢。
資料庫已經開啟。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29119536/viewspace-1082746/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- IDEA啟動時報Failed to create JVM錯誤的解決IdeaAIJVM
- 啟動idea時, 碰到"failed to load jvm DLL ..."錯誤 解決方案IdeaAIJVM
- ghost win10啟動出現錯誤怎麼解決_ghost win10啟動出現錯誤如何修復Win10
- 解決啟動openfeign報錯
- 解決android studio 模擬器取法啟動聲音的錯誤Android
- office安裝錯誤1920提示未能啟動服務解決方法
- mysql服務啟動1053錯誤如何解決MySql
- Ocelot錯誤解決
- windows10,homestead啟動時,VERR_INTNET_FLT_IF_NOT_FOUND 錯誤解決Windows
- 安裝完fiddler每次啟動出現這錯誤,我的解決!
- 行動硬碟引數錯誤怎麼解決?行動硬碟開啟出現引數錯誤的修復方法硬碟
- 解決chkconfig設定開機啟動時出現missing LSB的錯誤
- 解決 Python UnicodeEncodeError 錯誤PythonUnicodeError
- zabbix-server啟動報錯解決Server
- dbfread報錯ValueError錯誤解決方法Error
- keepalived啟動報錯解決一例
- 解決 Rust WebAssembly 啟動 Web 程式報錯RustWeb
- PbootCMS 404 錯誤解決方法boot
- Linux下錯誤解決方案Linux
- latex 錯誤以及解決方案
- HTTP 錯誤 500.19- Internal Server Error 錯誤解決方法HTTPServerError
- Win10系統開啟檔案時提示“啟動更新引數錯誤”怎麼解決Win10
- minikube addons enable ingress 啟動錯誤
- steam磁碟寫入錯誤怎麼解決 steam磁碟寫入錯誤解決方法大全
- win10系統無法啟動提示0x0000605錯誤的解決方法Win10
- mybatis(錯誤) 專案啟動時報“Result Maps collection already contains value forxxx”的解決方案MyBatisAI
- win10系統無法啟動mongoDB服務提示錯誤1053怎麼解決Win10MongoDB
- 啟動 idea 彈出“Failed to load JVM DLL\bin\server\jvm.dll”錯誤的解決方法IdeaAIJVMServer
- undefined reference to錯誤的解決方法Undefined
- Cocopods的升級錯誤解決
- ORA-12005 錯誤的解決
- SAXParseException的錯誤解決之二Exception
- ORA-28000錯誤解決方案
- dedecms提示500錯誤解決方法
- PHP curl error 60 錯誤解決PHPError
- linux解決“XXX is not in the sudoers file”錯誤Linux
- 解決java.lang.NoSuchMethodError錯誤JavaError
- HTTP代理錯誤怎麼解決?HTTP
- Eclipse 啟動專案錯誤:class not foundEclipse