【正文】
更大的損失。 C:\ordim –startup –sid ora9i(其中ora9i為實例的名稱)在WINDOWS平臺啟動ORACLE時經(jīng)常遇到如下錯誤:C:\sqlplus / as sysdbaSQL*Plus: Release Production on 星期五 7月 28 22:09:45 2006Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.ERROR:ORA12560: TNS: 協(xié)議適配器錯誤請輸入用戶名:以上錯誤是由于,沒有啟動ORACLE數(shù)據(jù)庫在WINDOWS平臺中的服務。STATUSOPENl 使用WINDOWS系統(tǒng)提供的服務的功能啟動數(shù)據(jù)庫。WINDOWS平臺數(shù)據(jù)庫的監(jiān)聽器的啟動,可以使使用lsnrctl start命令直接進行啟動。使用操作系統(tǒng)命令ps –ef|grep oracle開不到任何數(shù)據(jù)庫進程的存在。使用操作系統(tǒng)命令可以考到相應的進程。ORACLE instance started.Total System Global Area 1075278944 bytesFixed Size 738400 bytesVariable Size 855638016 bytesDatabase Buffers 218103808 bytesRedo Buffers 798720 bytesSQL select status from v$instance。STATUSMOUNTEDl 數(shù)據(jù)庫處于OPEN狀態(tài)數(shù)據(jù)庫在此狀態(tài)檢查各個數(shù)據(jù)文件的一致性。 無法找到參數(shù)文件。 內(nèi)存參數(shù)設置錯誤現(xiàn)象:core dump解決方法:減小SGA SIZESGA設置多大,操作系統(tǒng)無法滿足開辟的內(nèi)存空間。(檢查控制文件的訪問權限)數(shù)據(jù)庫參數(shù)文件存放在$ORACLE_HOME/dbs目錄中,以init開頭的文件或者是一sp開頭的文件。$ sqlplus / as sysdbaSQL*Plus: Release Production on Sun Jul 30 09:47:25 2006Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.Connected to an idle instance.SQL startupORACL