• oracle starup报错


    今天在linux里面安装Oracle的时候出现一个报错,忽略报错安装之后,数据库启动的时候报错:

    从网上找到的解决方法:

    创建实例后,进入sqlplus启动报错:
    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 这是因为在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

  • 相关阅读:
    ecmall 开发一个新模块
    ecmall 如何新增挂件
    ecmall 主从表的4种模型关系
    ecmall 的一些方法说明
    ecmall 支付成功 订单状态没有改变解决办法
    ecmall 基础类分析
    phpcms 新建模块安装
    phpcms pc_base::load
    strptime()方法
    GDB调试方法精粹
  • 原文地址:https://www.cnblogs.com/newmanzhang/p/3205022.html
Copyright © 2020-2023  润新知