ORA-01078 & LRM-00109错误解决方法
一同事今天刚装完oracle10g后,通过startup命令启动数据库时报错,详细如下: SQL> startup ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/oracle/product/10.0.3/gjwgdb/dbs/initgjwgdb.ora' 错误很明确,就是当数据库在启动时,默认读取pfile参数文件时报错了,此时我进入该目录一看,pfile文件真的是没有被创建。 解决办法是: $cd /oracle/admin/gjwgdb/pfile cp init.ora /oracle/product/10.0.3/gjwgdb/dbs/initgjwgdb.ora 然后 $sqlplus / as sysdba SQL>startup; ...... Database mounted. Database opened.
标注:1.Oracle在启动过程中,需要读取参数文件(pfile/spfile)来创建实例。 2.Oracle在启动过程中,寻找参数文件的顺序为: spfile.ora,spfile.ora,init.ora.