【Oracle】startup hung 遇到 ORA-00443,ORA-00445
上午接近11點,一同事說測試環境的資料庫起不來了,可以透過sqlplus連線資料庫,但是執行startup命令時,會出現hung住的情況。檢視日誌只有早上8:23之前的,之後對資料庫進行啟動的操作是沒有記錄的
日誌大致內容如下:
ORA-00445: background process "J000" did not start after 120 seconds
Thu Oct 27 07:20:21 2011
Errors in file /apsarapangu/disk1/opt/oracle/diag/rdbms/orcl/orcl/trace/orcl_smco_654.trc (incident=10194):
ORA-00445: background process "W000" did not start after 120 seconds
Thu Oct 27 07:25:04 2011
Dumping diagnostic data in directory=[cdmp_20111027072504], requested by (instance=1, sid=654 (SMCO)), summary=[incident=10194].
Thu Oct 27 07:25:40 2011
kkjcre1p: unable to spawn jobq slave process
Errors in file /apsarapangu/disk1/opt/oracle/diag/rdbms/orcl/orcl/trace/orcl_cjq0_400.trc:
Thu Oct 27 07:32:59 2011
Process q000 died, see its trace file
Process 0x0xab06fe628 appears to be hung while dumping
Attempting to kill process 0x0xab06fe628 with OS pid = 32572
OSD kill succeeded for process 0xab06fe628
Process 0x0xab0707aa8 appears to be hung while dumping
Attempting to kill process 0x0xab0707aa8 with OS pid = 400
OSD kill succeeded for process 0xab0707aa8
Process 0x0xac8713678 appears to be hung while dumping
Attempting to kill process 0x0xac8713678 with OS pid = 654
OSD kill succeeded for process 0xac8713678
Thu Oct 27 07:59:20 2011
Restarting dead background process CJQ0
Thu Oct 27 07:59:38 2011
Restarting dead background process MMON
Restarting dead background process SMCO
Thu Oct 27 07:59:50 2011
Starting background process CJQ0
Starting background process MMON
Thu Oct 27 08:00:59 2011
Process q000 died, see its trace file
Thu Oct 27 08:01:02 2011
Starting background process SMCO
Thu Oct 27 08:02:21 2011
Process SMCO died, see its trace file
Errors in file /apsarapangu/disk1/opt/oracle/diag/rdbms/orcl/orcl/trace/orcl_pmon_32498.trc:
ORA-00443: background process "SMCO" did not start
Starting background process CJQ0
Starting background process MMON
Thu Oct 27 08:02:39 2011
Process q000 died, see its trace file
Thu Oct 27 08:02:39 2011
Restarting dead background process SMCO
Thu Oct 27 08:03:55 2011
Process SMCO died, see its trace file
Errors in file /apsarapangu/disk1/opt/oracle/diag/rdbms/orcl/orcl/trace/orcl_pmon_32498.trc:
ORA-00443: background process "SMCO" did not start
出現ORA-00443,ORA-00445
ORA-00443: background process "SMCO" did not start
ORA-00445: background process "W000" did not start after 120 seconds
對於ORA-00443 官方的介紹如下:
Cause: The specified process did not start.
Action: Check that the executable image is in the correct place with the
correct protections and that there is enough memory.
對於ORA-00445 官方的介紹如下:
Cause: The specified process did not start.
Action: Check and, if necessary, correct problems indicated by one or more of the following:
the size of the SGA
the operating system-specific initialization parameters
accompanying messages
the background trace file
the executable image is not in the right location with the correct protections
兩個錯誤都指示和記憶體是否足夠相關,因此檢視oracle 的記憶體設定情況。由於資料庫沒有啟動且使用的spfile,所以透過如下方式:
SQL> create pfile from spfile;
File created.
檢視 pfile中的關於記憶體配置的情況:
orcl.__db_cache_size=21877489664 ~20.375G
orcl.__java_pool_size=134217728 ~128M
orcl.__large_pool_size=134217728 ~128M
orcl.__pga_aggregate_target=17179869184 ~16G
orcl.__sga_target=25769803776 ~24G
orcl.__shared_io_pool_size=0
orcl.__shared_pool_size=3221225472 ~307.2M
orcl.__streams_pool_size=134217728 ~128 M
*.memory_target=44445899345920 ---約41393.46G.而整個PC server 的記憶體不過141G!!
上面的memory_target配置完全超過了系統的記憶體大小,因此造成了alert 報警日誌產生的錯誤
修改 memory_target的值為45G。重新啟動:
SQL> startup nomount pfile='/apsarapangu/disk1/opt/oracle/products/11.2.0/dbs/initorcl.ora';
ORACLE instance started.
Total System Global Area 4.5698E+10 bytes
Fixed Size 2236784 bytes
Variable Size 2.3757E+10 bytes
Database Buffers 2.1877E+10 bytes
Redo Buffers 61263872 bytes
利用pfile 建立新的spfile(將老的備份)
SQL> create spfile from pfile='/apsarapangu/disk1/opt/oracle/products/11.2.0/dbs/initorcl.ora';
File created.
SQL> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
使用spfile檔案啟動,成功
SQL> startup nomount
ORACLE instance started.
Total System Global Area 4.5698E+10 bytes
Fixed Size 2236784 bytes
Variable Size 2.3757E+10 bytes
Database Buffers 2.1877E+10 bytes
Redo Buffers 61263872 bytes
SQL> alter database mount;
Database altered.
SQL> alter database open;
Database altered.
SQL> exit
成功啟動。。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-709794/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- CRS-4124: Oracle High Availability Services startup failed.OracleAI
- startup,startup mount,startup nomount之間的區別
- CRS-4124: Oracle High Availability Services startup failed. CRS-4000OracleAI
- startup nomount
- ORACLE匯入遇到ORACLE錯誤959解決方法Oracle
- 解決Gitlab的The remote end hung up unexpectedly錯誤GitlabREM
- Oracle資料庫中遇到的坑Oracle資料庫
- MySQL Server Startup ScriptMySqlServer
- ORA-00445: background process "J000" did not start after 120 seconds
- [20200302]startup dba.txt
- 4.1.2 關於Startup部署
- Jetpack之Startup快速掌握Jetpack
- ubuntu下git報錯fatal: The remote end hung up unexpectedly解決方案UbuntuGitREM
- 閱讀nopcommerce startup原始碼原始碼
- 使用ogg 從oracle 同步mysql遇到問題記錄OracleMySql
- .NET Core開發日誌——Startup
- asp.net core 系列之StartupASP.NET
- 理解ASP.NET Core - [01] StartupASP.NET
- 安裝ORACLE 12.2.0.1 GI 時遇到INS-44002錯誤Oracle
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- Python安裝cx_Oracle模組遇到的問題PythonOracle
- FATAL - Fatal error: Target Interaction Manager failed at StartupErrorAI
- 巧用Startup簡化Java命令列程式Java命令列
- JavaWeb開發之load-on-startup用法JavaWeb
- Oracle 不完全恢復遇到的ORA-600錯誤Oracle
- ORACLE RAC TO RAC DG搭建過程中可能遇到的問題Oracle
- Oracle有沒有MySQL的分割槽DDL遇到的問題OracleMySql
- 【Oracle】表空間誤刪除導致startup啟動時提示ORA-01110和ORA-01157錯誤Oracle
- ASP.NET Core[原始碼分析篇] - StartupASP.NET原始碼
- FastAPI 學習之路(五十四)startup 和 shutdownASTAPI
- StartUp Health:健康行業年中投資報告行業
- ASP.NET Core系列(三):啟動類StartupASP.NET
- 深入探究ASP.NET Core Startup初始化ASP.NET
- QT during startup program with code 0xc0000135(139)QT
- ASP.NET Core - 從Program和Startup開始ASP.NET
- How to build a Startup? 首先你缺個合夥人!UI
- vertica單節點故障恢復 Startup Failed, ASR RequiredAIUI
- 啟動tomcat中的startup.bat閃退原因TomcatBAT
- fdisk 更改分割槽容量遇到問題,還以為是oracle asm的問題OracleASM