2011-04-07 48 views
2

我使用Oracle 11g。前幾天我遇到了一個ORA-12514錯誤。我試圖通過以下this website suggestions來解決它:Oracle錯誤ORA-00600

C:\>set oracle_sid=SID 
Create a new environment variable called TNS_ADMIN: 
in the ‘value’ field, add the new folder: c:\oracle\network\admin 

Copy tnsnames.ora, sqlnet.ora and listener.ora from c:\oracle\product\102\network\admin 
Paste into c:\oracle\network\admin 

Stop/start listener 

C:\>lsnrctl stop 
C:\>lsnrctl start 

後,我收到以下錯誤(ORA-01033):

SQL*Plus: Release 11.2.0.1.0 Production on Thu Apr 7 07:33:19 2011 

Copyright (c) 1982, 2010, Oracle. All rights reserved. 

Enter user-name: pentacms 
Enter password: 
ERROR: 
ORA-01033: ORACLE initialization or shutdown in progress 
Process ID: 0 
Session ID: 0 Serial number: 0 


Enter user-name: 

我試圖解決錯誤,但它引發的其他錯誤,我嘗試打開的日誌文件,但我收到以下錯誤(最後一行) 「錯誤在第1行: ORA-00600:內部錯誤代碼,參數:[kcratr_nab_less_than_odr],1, [46],[32689],[32690] ],[],[],[],[],[],[] 「 請指教,這是一個緊急情況。


FIXED_TABLE_SEQUENCE ROW_WAIT_OBJ# ROW_WAIT_FILE# ROW_WAIT_BLOCK# ROW_WAIT_ROW# 
-------------------- ------------- -------------- --------------- ------------- 
TOP_LEVEL_CALL# LOGON_TIM LAST_CALL_ET PDM FAILOVER_TYPE FAILOVER_M FAI 
--------------- --------- ------------ --- ------------- ---------- --- 
RESOURCE_CONSUMER_GROUP   PDML_STA PDDL_STA PQ_STATU 
-------------------------------- -------- -------- -------- 
CURRENT_QUEUE_DURATION 
---------------------- 
CLIENT_IDENTIFIER            BLOCKING_SE 
---------------------------------------------------------------- ----------- 
BLOCKING_INSTANCE BLOCKING_SESSION FINAL_BLOCK FINAL_BLOCKING_INSTANCE 
----------------- ---------------- ----------- ----------------------- 
FINAL_BLOCKING_SESSION  SEQ#  EVENT# 
---------------------- ---------- ---------- 
EVENT 
---------------------------------------------------------------- 
P1TEXT                 P1 
---------------------------------------------------------------- ---------- 
P1RAW 
---------------- 
P2TEXT                 P2 
---------------------------------------------------------------- ---------- 
P2RAW 
---------------- 
P3TEXT                 P3 
---------------------------------------------------------------- ---------- 
P3RAW   WAIT_CLASS_ID WAIT_CLASS# 
---------------- ------------- ----------- 
WAIT_CLASS              WAIT_TIME 
---------------------------------------------------------------- ---------- 
SECONDS_IN_WAIT STATE    WAIT_TIME_MICRO TIME_REMAINING_MICRO 
--------------- ------------------- --------------- -------------------- 
TIME_SINCE_LAST_WAIT_MICRO 
-------------------------- 
SERVICE_NAME              SQL_TRAC SQL_T 
---------------------------------------------------------------- -------- ----- 
SQL_T SQL_TRACE_ SESSION_EDITION_ID CREATOR_ADDR  CREATOR_SERIAL# 
----- ---------- ------------------ ---------------- --------------- 
ECID 
---------------------------------------------------------------- 
SYS$USERS              DISABLED FALSE 

SADDR     SID SERIAL#  AUDSID PADDR     USER# 
---------------- ---------- ---------- ---------- ---------------- ---------- 
USERNAME       COMMAND OWNERID TADDR 
------------------------------ ---------- ---------- ---------------- 
LOCKWAIT   STATUS SERVER  SCHEMA# SCHEMANAME 
---------------- -------- --------- ---------- ------------------------------ 
OSUSER       PROCESS 
------------------------------ ------------------------ 
MACHINE                PORT 
---------------------------------------------------------------- ---------- 
TERMINAL 
---------------- 
PROGRAM               TYPE 
---------------------------------------------------------------- ---------- 
SQL_ADDRESS  SQL_HASH_VALUE SQL_ID  SQL_CHILD_NUMBER SQL_EXEC_ 
---------------- -------------- ------------- ---------------- --------- 
SQL_EXEC_ID PREV_SQL_ADDR PREV_HASH_VALUE PREV_SQL_ID PREV_CHILD_NUMBER 
----------- ---------------- --------------- ------------- ----------------- 
PREV_EXEC PREV_EXEC_ID PLSQL_ENTRY_OBJECT_ID PLSQL_ENTRY_SUBPROGRAM_ID 
--------- ------------ --------------------- ------------------------- 
PLSQL_OBJECT_ID PLSQL_SUBPROGRAM_ID 
--------------- ------------------- 
MODULE           MODULE_HASH 
------------------------------------------------ ----------- 
ACTION       ACTION_HASH 
-------------------------------- ----------- 
CLIENT_INFO 
---------------------------------------------------------------- 
FIXED_TABLE_SEQUENCE ROW_WAIT_OBJ# ROW_WAIT_FILE# ROW_WAIT_BLOCK# ROW_WAIT_ROW# 
-------------------- ------------- -------------- --------------- ------------- 
TOP_LEVEL_CALL# LOGON_TIM LAST_CALL_ET PDM FAILOVER_TYPE FAILOVER_M FAI 
--------------- --------- ------------ --- ------------- ---------- --- 
RESOURCE_CONSUMER_GROUP   PDML_STA PDDL_STA PQ_STATU 
-------------------------------- -------- -------- -------- 
CURRENT_QUEUE_DURATION 
---------------------- 
CLIENT_IDENTIFIER            BLOCKING_SE 
---------------------------------------------------------------- ----------- 
BLOCKING_INSTANCE BLOCKING_SESSION FINAL_BLOCK FINAL_BLOCKING_INSTANCE 
----------------- ---------------- ----------- ----------------------- 
FINAL_BLOCKING_SESSION  SEQ#  EVENT# 
---------------------- ---------- ---------- 
EVENT 
---------------------------------------------------------------- 
P1TEXT                 P1 
---------------------------------------------------------------- ---------- 
P1RAW 
---------------- 
P2TEXT                 P2 
---------------------------------------------------------------- ---------- 
P2RAW 
---------------- 
P3TEXT                 P3 
---------------------------------------------------------------- ---------- 
P3RAW   WAIT_CLASS_ID WAIT_CLASS# 
---------------- ------------- ----------- 
WAIT_CLASS              WAIT_TIME 
---------------------------------------------------------------- ---------- 
SECONDS_IN_WAIT STATE    WAIT_TIME_MICRO TIME_REMAINING_MICRO 
--------------- ------------------- --------------- -------------------- 
TIME_SINCE_LAST_WAIT_MICRO 
-------------------------- 
SERVICE_NAME              SQL_TRAC SQL_T 
---------------------------------------------------------------- -------- ----- 
SQL_T SQL_TRACE_ SESSION_EDITION_ID CREATOR_ADDR  CREATOR_SERIAL# 
----- ---------- ------------------ ---------------- --------------- 
ECID 
---------------------------------------------------------------- 
FALSE FIRST EXEC     0 000007FF5D4D8D70    2 

SADDR     SID SERIAL#  AUDSID PADDR     USER# 
---------------- ---------- ---------- ---------- ---------------- ---------- 
USERNAME       COMMAND OWNERID TADDR 
------------------------------ ---------- ---------- ---------------- 
LOCKWAIT   STATUS SERVER  SCHEMA# SCHEMANAME 
---------------- -------- --------- ---------- ------------------------------ 
OSUSER       PROCESS 
------------------------------ ------------------------ 
MACHINE                PORT 
---------------------------------------------------------------- ---------- 
TERMINAL 
---------------- 
PROGRAM               TYPE 
---------------------------------------------------------------- ---------- 
SQL_ADDRESS  SQL_HASH_VALUE SQL_ID  SQL_CHILD_NUMBER SQL_EXEC_ 
---------------- -------------- ------------- ---------------- --------- 
SQL_EXEC_ID PREV_SQL_ADDR PREV_HASH_VALUE PREV_SQL_ID PREV_CHILD_NUMBER 
----------- ---------------- --------------- ------------- ----------------- 
PREV_EXEC PREV_EXEC_ID PLSQL_ENTRY_OBJECT_ID PLSQL_ENTRY_SUBPROGRAM_ID 
--------- ------------ --------------------- ------------------------- 
PLSQL_OBJECT_ID PLSQL_SUBPROGRAM_ID 
--------------- ------------------- 
MODULE           MODULE_HASH 
------------------------------------------------ ----------- 
ACTION       ACTION_HASH 
-------------------------------- ----------- 
CLIENT_INFO 
---------------------------------------------------------------- 
FIXED_TABLE_SEQUENCE ROW_WAIT_OBJ# ROW_WAIT_FILE# ROW_WAIT_BLOCK# ROW_WAIT_ROW# 
-------------------- ------------- -------------- --------------- ------------- 
TOP_LEVEL_CALL# LOGON_TIM LAST_CALL_ET PDM FAILOVER_TYPE FAILOVER_M FAI 
--------------- --------- ------------ --- ------------- ---------- --- 
RESOURCE_CONSUMER_GROUP   PDML_STA PDDL_STA PQ_STATU 
-------------------------------- -------- -------- -------- 
CURRENT_QUEUE_DURATION 
---------------------- 
CLIENT_IDENTIFIER            BLOCKING_SE 
---------------------------------------------------------------- ----------- 
BLOCKING_INSTANCE BLOCKING_SESSION FINAL_BLOCK FINAL_BLOCKING_INSTANCE 
----------------- ---------------- ----------- ----------------------- 
FINAL_BLOCKING_SESSION  SEQ#  EVENT# 
---------------------- ---------- ---------- 
EVENT 
---------------------------------------------------------------- 
P1TEXT                 P1 
---------------------------------------------------------------- ---------- 
P1RAW 
---------------- 
P2TEXT                 P2 
---------------------------------------------------------------- ---------- 
P2RAW 
---------------- 
P3TEXT                 P3 
---------------------------------------------------------------- ---------- 
P3RAW   WAIT_CLASS_ID WAIT_CLASS# 
---------------- ------------- ----------- 
WAIT_CLASS              WAIT_TIME 
---------------------------------------------------------------- ---------- 
SECONDS_IN_WAIT STATE    WAIT_TIME_MICRO TIME_REMAINING_MICRO 
--------------- ------------------- --------------- -------------------- 
TIME_SINCE_LAST_WAIT_MICRO 
-------------------------- 
SERVICE_NAME              SQL_TRAC SQL_T 
---------------------------------------------------------------- -------- ----- 
SQL_T SQL_TRACE_ SESSION_EDITION_ID CREATOR_ADDR  CREATOR_SERIAL# 
----- ---------- ------------------ ---------------- --------------- 
ECID 
---------------------------------------------------------------- 


SADDR     SID SERIAL#  AUDSID PADDR     USER# 
---------------- ---------- ---------- ---------- ---------------- ---------- 
USERNAME       COMMAND OWNERID TADDR 
------------------------------ ---------- ---------- ---------------- 
LOCKWAIT   STATUS SERVER  SCHEMA# SCHEMANAME 
---------------- -------- --------- ---------- ------------------------------ 
OSUSER       PROCESS 
------------------------------ ------------------------ 
MACHINE                PORT 
---------------------------------------------------------------- ---------- 
TERMINAL 
---------------- 
PROGRAM               TYPE 
---------------------------------------------------------------- ---------- 
SQL_ADDRESS  SQL_HASH_VALUE SQL_ID  SQL_CHILD_NUMBER SQL_EXEC_ 
---------------- -------------- ------------- ---------------- --------- 
SQL_EXEC_ID PREV_SQL_ADDR PREV_HASH_VALUE PREV_SQL_ID PREV_CHILD_NUMBER 
----------- ---------------- --------------- ------------- ----------------- 
PREV_EXEC PREV_EXEC_ID PLSQL_ENTRY_OBJECT_ID PLSQL_ENTRY_SUBPROGRAM_ID 
--------- ------------ --------------------- ------------------------- 
PLSQL_OBJECT_ID PLSQL_SUBPROGRAM_ID 
--------------- ------------------- 
MODULE           MODULE_HASH 
------------------------------------------------ ----------- 
ACTION       ACTION_HASH 
-------------------------------- ----------- 
CLIENT_INFO 
---------------------------------------------------------------- 
FIXED_TABLE_SEQUENCE ROW_WAIT_OBJ# ROW_WAIT_FILE# ROW_WAIT_BLOCK# ROW_WAIT_ROW# 
-------------------- ------------- -------------- --------------- ------------- 
TOP_LEVEL_CALL# LOGON_TIM LAST_CALL_ET PDM FAILOVER_TYPE FAILOVER_M FAI 
--------------- --------- ------------ --- ------------- ---------- --- 
RESOURCE_CONSUMER_GROUP   PDML_STA PDDL_STA PQ_STATU 
-------------------------------- -------- -------- -------- 
CURRENT_QUEUE_DURATION 
---------------------- 
CLIENT_IDENTIFIER            BLOCKING_SE 
---------------------------------------------------------------- ----------- 
BLOCKING_INSTANCE BLOCKING_SESSION FINAL_BLOCK FINAL_BLOCKING_INSTANCE 
----------------- ---------------- ----------- ----------------------- 
FINAL_BLOCKING_SESSION  SEQ#  EVENT# 
---------------------- ---------- ---------- 
EVENT 
---------------------------------------------------------------- 
P1TEXT                 P1 
---------------------------------------------------------------- ---------- 
P1RAW 
---------------- 
P2TEXT                 P2 
---------------------------------------------------------------- ---------- 
P2RAW 
---------------- 
P3TEXT                 P3 
---------------------------------------------------------------- ---------- 
P3RAW   WAIT_CLASS_ID WAIT_CLASS# 
---------------- ------------- ----------- 
WAIT_CLASS              WAIT_TIME 
---------------------------------------------------------------- ---------- 
SECONDS_IN_WAIT STATE    WAIT_TIME_MICRO TIME_REMAINING_MICRO 
--------------- ------------------- --------------- -------------------- 
TIME_SINCE_LAST_WAIT_MICRO 
-------------------------- 
SERVICE_NAME              SQL_TRAC SQL_T 
---------------------------------------------------------------- -------- ----- 
SQL_T SQL_TRACE_ SESSION_EDITION_ID CREATOR_ADDR  CREATOR_SERIAL# 
----- ---------- ------------------ ---------------- --------------- 
ECID 
---------------------------------------------------------------- 


16 rows selected. 

SQL> desc dba_user; 
ERROR: 
ORA-04043: object dba_user does not exist 


SQL> desc dba_users; 
ERROR: 
ORA-04043: object dba_users does not exist 


SQL> desc v$user; 
ERROR: 
ORA-04043: object v$user does not exist 


SQL> desc v$users 
ERROR: 
ORA-04043: object v$users does not exist 


SQL> seleect * from dba_users; 
SP2-0734: unknown command beginning "seleect * ..." - rest of line ignored. 
SQL> select * from dba_users; 
select * from dba_users 
       * 
ERROR at line 1: 
ORA-01219: database not open: queries allowed on fixed tables/views only 


SQL> alter database open; 
alter database open 
* 
ERROR at line 1: 
ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1], 
[46], [32689], [32690], [], [], [], [], [], [], [] 


SQL> alter database mount; 
alter database mount 
* 
ERROR at line 1: 
ORA-01100: database already mounted 


SQL> alter database mount; 
+0

我已經在http://serverfault.com/中提出這個問題,但我不知道如何關閉那個,這是一種緊急請幫我解決我的問題。如果您有需要請叫我 – Amir 2011-04-07 03:31:36

+0

任何詳細信息:((請helpppppppppp我 – Amir 2011-04-07 04:18:00

回答

2

什麼happenend?rdbms清楚地告訴我們,它不是用於生產的。可能會墜毀。可能會損壞。聯繫你的dba解決。 您的數據庫已安裝。

alter database open; 

如果打開,如果沒有,請檢查alertlog文件的內容,看看它在抱怨什麼。如果您收到投訴,最有可能希望恢復。 它失敗了,所以試試:

recover database until cancel; 

並看看它有多遠。您的問題可能是受損的在線重做日誌文件。如果恢復要求不存在任何現有的歸檔日誌文件,請爲其提供包含數據庫請求的更改的重做日誌組成員。如果無法完成恢復,請恢復數據庫。

startup mount  
select member from v$logfile; 
-- take a note for their full names. 
recover database until cancel; 

現在恢復過程將要求存檔的日誌文件。如果你有他們,如果他們在默認位置,如果過程建議一個,按回車鍵。重複該操作,直到過程失敗,因爲無法找到該文件。然後再次啓動恢復,而不是接受建議的答案,請輸入日誌組的日誌成員的全名。如果你幸運的話,並不是所有的成員都變得腐敗,你可以完成恢復過程。

如果這不起作用,顯示錯誤,日誌等。你已經非常接近不必從頭開始。這不是你想要聽到的答案,但它很現實......

+0

SQL> ALTER DATABASE OPEN; ALTER DATABASE開放 * ERROR位於第1行: ORA-00600:內部錯誤代碼,參數:[kcratr_nab_less_than_odr],[1], [46],[32689],[32690],[],[],[],[],[],[],[] – Amir 2011-04-07 06:40:00

+0

我收到錯誤ORA -00600,它是內部錯誤,我無法連接oracle服務找到解決方案,請指教我,我在我的筆記本電腦上安裝oracle不在辦公室:/ – Amir 2011-04-07 06:40:48

+0

發生了什麼事? '通常'在存儲器發生電源故障後會得到此信息。在這種情況下,在線重做日誌已損壞。如果你有他們多元化,你可以嘗試恢復。看答案編輯。 – 2011-04-07 06:46:47