SQL> startup;
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/home/oracle/u01/app/product/11.1.0/db_1/dbs/initORCL.ora'
我正想说这个呢

解决方案 »

  1.   

    这是因为在oracle9i和oracle10g中,数据库默认将使用spfile启动数据库,如果spfile不存在,则就会出现上述错误。
        解决方法:
        将$ORACLE_BASE/admin/数据库名称/pfile目录下的init.ora.012009233838形式的文件copy 到$ORACLE_HOME/dbs目录下initoracle.ora即可。(注:initoracle.ora中的oracle为你的实例名 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
      

  2.   

    -- 启动的时候指定参数文件的位置试试:start up pfile='/xxx/xxx/xxx/xxx.ora';start up spfile='/xxx/xxx/xxx/xxx.ora';-- 估计是你的环境变量出问题啦:ORACLE_HOME 环境变量数值多少?
    [root@localhost bk_8_2011-09-22]# echo $ORACLE_HOME
      

  3.   

    没有initoracle.ora,我的SID是ORCL,但是我也没有initorcl.ora[oracle@localhost dbs]$ ll
    total 48
    -rw-rw---- 1 oracle oinstall 1544 Aug 15 12:03 hc_orcl.dat
    -rw-r--r-- 1 oracle oinstall 2851 May 15  2009 init.ora
    -rw-r----- 1 oracle oinstall   24 Aug 15 11:53 lkORCL
    -rw-r----- 1 oracle oinstall 1536 Aug 15 12:04 orapworcl
    drwx------ 2 oracle oinstall 4096 Aug 15 11:48 peshm_orcl_0
    -rw-r----- 1 oracle oinstall 2560 Aug 16 10:07 spfileorcl.ora
      

  4.   

    OK了!!!!
    谢谢!!!
    不过我想知道为什么它提示的是could not open parameter file '/home/oracle/u01/app/product/11.1.0/db_1/dbs/initORCL.ora',但是我们要复制到的地方却不是这儿呢?新手请教!!!