ORA-01102錯誤的解決
背景:
由於業務需要對一個資料的頻繁的啟停操作,剛開始啟停資料庫很正常,但是終於出現了錯誤,資料庫啟動的時候報錯了,透過sqlplus執行startup的時候報ORA-01102的錯誤,查詢了metalink終於找到了相應的解決方法;
解決步驟:
A database is started in EXCLUSIVE mode by default. Therefore, the ORA-01102 error is misleading and may have occurred due to one of the following reasons:
- there is still an "sgadef
- the processes for Oracle (pmon, smon, lgwr and dbwr) still exist
- shared memory segments and semaphores still exist even though the database has been shutdown
- there is a "ORACLE_HOME/dbs/lk
ORACLE_HOME/dbs/sgadef
ORACLE_HOME/dbs/lk
Solution Description:
=====================
Verify that the database was shutdown cleanly by doing the following:
1. Verify that there is not a "sgadef
"ORACLE_HOME/dbs".
% ls $ORACLE_HOME/dbs/sgadef
If this file does exist, remove it.
% rm $ORACLE_HOME/dbs/sgadef
2. Verify that there are no background processes owned by "oracle"
% ps -ef | grep ora_ | grep $ORACLE_SID (ps -ef | grep ora_ | grep id2)
If background processes exist, remove them by using the Unix
command "kill". For example:
% kill -9
3. Verify that no shared memory segments and semaphores that are owned
by "oracle" still exist
% ipcs -a
If there are shared memory segments and semaphores owned by "oracle",
remove the shared memory segments
% ipcrm -m
and remove the semaphores
% ipcrm -s
NOTE: The example shown above assumes that you only have one
database on this machine. If you have more than one
database, you will need to shutdown all other databases
before proceeding with Step 4.
4. Verify that the "$ORACLE_HOME/dbs/lk
if exit,remove it use 'rm' command.
5. Startup the instance
總結: 1、刪除相應的檔案;
2、刪除ORACLE程式;
3、刪除ORACLE使用者下的程式,並刪除;
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
本文作者:JOHN
ORACLE技術部落格:ORACLE 獵人筆記 資料庫技術群:367875324 (請備註ORACLE管理 )
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12679300/viewspace-1179036/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-01102 報錯解決方法
- ORA-01102錯誤分析
- 處理ORA-01102錯誤
- Ocelot錯誤解決
- undefined reference to錯誤的解決方法Undefined
- SAXParseException的錯誤解決之二Exception
- PHP錯誤“Thisfilehasexpired”的解決方法PHP
- VIM 常用錯誤解決
- sqldeveloper for windows 錯誤解決SQLDeveloperWindows
- dns錯誤怎麼辦 dns錯誤的解決辦法DNS
- vsftpd 錯誤:530 and 500 錯誤解決方法FTP
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- Qt報Multiple definition錯誤的解決QT
- Cocopods的升級錯誤解決
- 解決 ngrok 的 Domain 錯誤問題AI
- 錯誤Namenodeisinsafemode的解決方法
- 解決DBCA的ORA-32700錯誤
- 【MySQL】解決mysql的 1594 錯誤MySql
- ORA-01102 的解決辦法
- latex 錯誤以及解決方案
- ora-27504錯誤解決
- Datastore error in 'dirbdb'錯誤解決ASTError
- ORA-27054 錯誤解決
- mysql與php錯誤解決MySqlPHP
- mysql錯誤解決總結MySql
- PbootCMS 404 錯誤解決方法boot
- 【故障解決】OGG-00446 錯誤解決
- 微信支付錯誤兩個問題的解決:curl出錯,錯誤碼:60
- 寬頻連線錯誤678 寬頻連線錯誤691錯誤的解決辦法
- dbfread報錯ValueError錯誤解決方法Error
- standby新增檔案錯誤的解決方法
- MYSQL中 TYPE=MyISAM 錯誤的解決方法MySql
- Mac上搭建chromedriver的錯誤解決方法MacChrome
- 一個 ExpressionChangedAfterItHasBeenCheckedError 錯誤的解決過程ExpressError
- scp出現錯誤的解決辦法
- [傳]解決DBCA的ORA-32700錯誤
- ORA-00091錯誤的解決方式
- sqplus 的 segmentation fault錯誤及解決!Segmentation