zoukankan      html  css  js  c++  java
  • ORA-01078: failure in processing system parameters 问题的解决方法(oracle 11g)

    方法一:sqlplus "/as sysdba"

    SQL*Plus: Release 11.2.0.3.0 - Production on Wed Dec 15 10:54:03 2010

    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/app/oracle/product/11.2.0/db_1/dbs/initicare1.ora '

    原来打不开initicare1.ora,于是进入/oracle/app/oracle/product/11.2.0/db_1/dbs/目录,

    cd /oracle/app/oracle/product/11.1.0/db_1/dbs/

      ls

      hc_orcl.dat   init.ora  lkORCL  orapworcl  spfileorcl.ora

    原来是没有initicare1.ora文件,解决方法 cd /data/app/oracle/admin/orcl/pfile/,将ora.xxxx复制到dbs目录下:

    cp init.ora.xxxx  /data/app/oracle/product/11.2.0/dbs/initicare1.ora

    方法二:原因分析:

    首先查看节点下的/data/app/oracle/product/11.2.0/dbs目录,发现没有/initorcl1.ora文件。我的环境变量为ORCL为更改和数据库实例的SID=“orcl”一致(区分大小写)。

    解决方案:修改环境变量vim .bash_profile

    ORACLE_SID=orcl

    source .bash_profile

    reboot

  • 相关阅读:
    Loj #6307. 「雅礼国庆 2017 Day1」Clique
    bzoj 4457: 游戏任务
    Codeforces 375 D Tree and Queries
    Codeforces 837 E Vasya's Function
    [POI2008]BLO
    Codeforces 451 E Devu and Flowers
    洛谷 P4318 完全平方数
    [JSOI2016]反质数序列
    bzoj 4320: ShangHai2006 Homework
    bzoj4454 C Language Practice
  • 原文地址:https://www.cnblogs.com/xiaofeng666/p/13715650.html
Copyright © 2011-2022 走看看