創(chuàng)建實(shí)例后,進(jìn)入sqlplus啟動報(bào)錯(cuò): sqlplus / as sysdba; SQL*Plus: Release 11.1.0.6.0 - Production on Wed Aug 5 16:48:56 2009 Copyright (c) 1982, 2007, Oracle. All rights reserved. Connected to an idle instance. SQL> startup; ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/oracle/product/11.1.0/dbs/initorcl.ora' SQL> exit 這是因?yàn)樵趏racle9i和oracle10g中,數(shù)據(jù)庫默認(rèn)將使用spfile啟動數(shù)據(jù)庫,如果spfile不存在,則就會出現(xiàn)上述錯(cuò)誤。 解決方法: 將$ORACLE_BASE/admin/數(shù)據(jù)庫名稱/pfile目錄下的init.ora.012009233838形式的文件copy 到$ORACLE_HOME/dbs目錄下initoracle.ora即可。(注:initoracle.ora中的oracle為你的實(shí)例名 ORACLE_SID) 比如我的就為: cp /oracle/admin/xok/pfile/init.ora.75200916276 /oracle/product/11.1.0/dbs/initorcl.ora sqlplus / as sysdba; SQL> startup ORACLE instance started. Total System Global Area 855982080 bytes Fixed Size 2143000 bytes Variable Size 486542568 bytes Database Buffers 360710144 bytes Redo Buffers 6586368 bytes 朋友,如果你也遇到了這種ORA錯(cuò)誤的話,請?jiān)囋嚿厦娴姆椒ò?,或許正是你要找的答案了…可能一不小心就解決ORA-01078,LRM-00109問題了,那我只能恭喜你了哦! |
|