10g升級至11g後資料庫無法啟動的問題解決
今天升級資料庫碰到一個很鬱悶的問題,把10g的資料庫升級到11g以後,結果有一個改動,需要重啟資料庫,就敲了shutdown immediate,結果再startup,資料庫竟然起不來了。
$ORACLE_HOME,$ORACLE_SID等等變數都沒有問題。
sqlplus / as sysdba
SQL> startup
ORA-01012: not logged on
反覆試了好幾次,都是這樣。這是準生產環境,汗馬上就下來了。
1.sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 23 19:44:01 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected. ---這個登入資訊貌似也少了點什麼,
2.單純敲sqlplus,直接報了ORA-01089的錯誤。
sqlplus
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 23 19:44:30 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: system
Enter password:
ERROR:
ORA-01089: immediate shutdown in progress - no operations are permitted
Process ID: 0
Session ID: 0 Serial number: 0
3.透過nolog方式登入,結果一startup就開始報錯了。。。。
> sqlplus /nolog
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 23 19:47:26 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORA-01012: not logged on
4.最後再沒辦法了,只能startup force了。沒想到這庫一下子活過來了。
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup force
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 4042100736 bytes
Fixed Size 2232688 bytes
Variable Size 1879051920 bytes
Database Buffers 2147483648 bytes
Redo Buffers 13332480 bytes
Database mounted.
Database opened.
SQL> show parameter insta
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
active_instance_count integer
cluster_database_instances integer 1
instance_groups string
instance_name string XXXXX
instance_number integer 0
instance_type string RDBMS
open_links_per_instance integer 4
parallel_instance_group string
parallel_server_instances integer 1
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
測試登入也正常,萬幸萬幸。
> sqlplus
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 23 19:49:27 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
----------------------------問題根源---------------------------
因為後續的操作,需要重啟資料庫,結果停了庫之後,再啟,竟然又出現了上面的情況
mos上說,
CAUSE
An orphaned shared memory segment belonging to the ORACLE_SID still exists from a previous instance startup.來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23718752/viewspace-773262/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 解決vscode安裝後無法啟動的問題VSCode
- 解決ASM無法啟動問題ASM
- 記錄一次手動升級達夢後DmAPService無法啟動問題
- Oracle日常問題-資料庫無法啟動(案例二)Oracle資料庫
- Oracle日常問題處理-資料庫無法啟動Oracle資料庫
- macOS Big Sur升級後Parallels Desktop無法啟動如何解決MacParallel
- Win10升級之後提示系統無法啟用的解決辦法Win10
- discuz資料庫搬家,改密碼後無法訪問解決辦法資料庫密碼
- 【問題處理】升級12c之後,10G密碼版本使用者無法登陸問題密碼
- 資料庫無法註冊至監聽服務解決辦法資料庫
- VMware DHCP Service服務無法啟動問題的解決
- Parallels Desktop 16 升級後無法聯網的解決方法Parallel
- Oracle 12.2應用PSU後資料庫無法啟動Oracle資料庫
- ArchLinux/Manjaro升級到6.9核心後的問題解決LinuxJAR
- 應用使用JNDI,資料庫無法連線,導致的程序無法啟動問題處理資料庫
- 解決sqlserver資料庫單一使用者無法刪除的問題SQLServer資料庫
- Kali Linux更新後無法啟動解決了Linux
- 升級到macOS Big Sur後,EasyConnect 無法使用解決方案Mac
- Mac升級至macOS High Sierra後導致git無法使用MacGit
- MYSQL資料庫服務無法啟動MySql資料庫
- ubuntu安裝向日葵後無法啟動的解決辦法Ubuntu
- 升級Win10系統後桌面圖示無法移動怎麼解決Win10
- tomcat無法啟動的解決方法Tomcat
- Windows 10 1909升級後藍芽音量無法調節的解決方法Windows藍芽
- 解決無法使用VI的問題
- Windows 10升級無法選擇保留個人檔案、設定問題解決Windows
- 怎麼解決SOLIDWORKS文件無法正常開啟的問題!Solid
- MacOS 升級 Catalina 後根目錄無法建立資料夾Mac
- Oracle 9i 11g歷史庫升級遷移資料至19c CDBOracle
- 資料庫升級之-Dataguard滾動升級資料庫
- 解決Linux無法開啟android模擬器問題LinuxAndroid
- Kubernetes 叢集無損升級實踐 轉至後設資料結尾
- 升級win10 1803系統後無法安裝origin的解決方法Win10
- 解決Mysql資料庫插入資料出現問號(?)的解決辦法MySql資料庫
- 記vscode無法啟動解決辦法VSCode
- 惠普6910p升級win10系統後光碟無法自動播放的解決方法Win10
- 解決重灌系統後重新下載eclipse無法開啟之前專案的問題Eclipse
- 解決codeblocks無法除錯的問題BloC除錯
- 解決Centos無法yum源的問題CentOS