Oracle:ORA-01078与LRM-00109报错

WBOY
Release: 2016-06-07 17:31:37
Original
1027 people have browsed it

今天在安装完数据库之后,通过dbca创建数据库之后,通过sqlplus启动和关闭数据库的时间一直报如下错如:SQLgt; startup ORA-010

环境交代:
操作系统:RedHat 5.3 64bit
Oracle版本:10.2.0.1 SID:search6

今天在安装完数据库之后,通过dbca创建数据库之后,通过sqlplus启动和关闭数据库的时间一直报如下错如:
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/app/soft/ora10g/product/10.2.0/db_1/dbs/initsearch.ora'
···
SQL> shutdown immediate
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory

刚开始还没有反应过来,查看alert.log也没有发现问题,并且显示数据库也是正常登录的,查询了很久也没有查询到问题。后面突然想起来,.bash_profile里面的配置文档是直接就以前的配置文档里面拷贝的,可能是这块设置出现问题了。果真如此.bash_profile把SID给写错了。
[oracle@szmlvm29-54 ~]$ cat .bash_profile
# .bash_profile
······
export ORACLE_SID=search #正确的应该是search6
······

so,,以后大家再次碰到这个问题的时候,也需要检测下配置文档的SID是否准确。

相关阅读:

SPFILE 错误导致数据库无法启动(ORA-01565)

ORA-01172、ORA-01151错误处理

ORA-00600 [2662]错误解决

ORA-01078 和 LRM-00109 报错解决方法

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!