ITPub博客

首页 > 数据库 > Oracle > ora-01078报错

ora-01078报错

原创 Oracle 作者:dark_peng 时间:2015-09-08 11:58:23 0 删除 编辑

今天早上,把安装数据库时候创建的ORCL实例给删除了,建立了个DB数据库。结果出现:

ORA-01078 & LRM-00109

解决方案一:

SQL> connect sys/mzl as sysdba
已连接。
SQL> startup
ora-01078failure in processing system parameters
LRM-00109:could not open parameter file ’/opt/oracle/app/oracle/product/10.1.0/Db_1/dbs/initoracle.ora’

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

Total System Global Area  167772160 bytes
Fixed Size                   778212 bytes
Variable Size              57679900 bytes
Database Buffers          109051904 bytes
Redo Buffers                 262144 bytes
 
解决方案二:
因为:failure in processing system parameters
可能是与系统内存有关
注销oracle ,再次登录就OK 了。很奇怪,所以拿出来给大家分享。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29812751/viewspace-1794177/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-08-18

  • 博文量
    36
  • 访问量
    150737