zoukankan      html  css  js  c++  java
  • ORA-01078:failure in processing system parameters

    一、使用环境
    操作系统:rhel 6.5 x64
    数据库:Oracle 11.2.0.1.0
    数据库主目录:/u01/app/oracle/product/11.2.0/


    二、问题描述
    用sys用户登录sqlplus后,用startup命令启动Oracle时提示:
    ORA-01078:failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/db_1/dbs/initorcl.ora'

    三、错误原因
    在oracle9i、10g、11g最近几个版本中,数据库默认使用spfile启动数据库,如果spfile不存在,则就会出现上述错误。

    四、解决方法

    1. 用find /u01  -name pfile命令查找pfile文件的位置,/u01/app/oracle/admin/orcl/pfile/
    2. 将$ORACLE_BASE/admin/orcl/pfile目录下的init.ora.2212013132036形式的文件copy 到$ORACLE_HOME/dbs目录下命名为initorcl.ora即可。
  • 相关阅读:
    sublime text3配置javascript运行环境
    TCP/IP协议详解
    markdown基本语法
    pytest失败重跑
    pytest参数化
    Httprunner初步学习
    基础面向对象
    面试题
    包和loggging模块
    常用模块
  • 原文地址:https://www.cnblogs.com/timlong/p/5713834.html
Copyright © 2011-2022 走看看