Oracle -- ORA-00119 错误解决方法 此法也可解决ORA-91078 LRM-00109错误
来源:互联网 发布:apache插件 编辑:程序博客网 时间:2024/05/19 14:37
1.运行 sqlplus / as sysdb
sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 12 18:37:07 2013Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to an idle instance.
2.输入命令 !ps -aef | grep orcl (orcl 为你当前登录用户的名称)
orcl 3591 3312 0 18:31 pts/0 00:00:00 sqlplus as sysdbaorcl 3592 3591 0 18:31 ? 00:00:00 oracleorcl.2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))orcl 3600 3591 0 18:32 pts/0 00:00:00 /bin/bash -c ps -aef | grep orclorcl 3601 3600 1 18:32 pts/0 00:00:00 ps -aeforcl 3602 3600 0 18:32 pts/0 00:00:00 grep orcl
3.找到类似与倒数第四条的格式: oracleorcl.2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
其中oracleorcl.2 为Oracle进程名,名字的格式为oracle$ORACLE_SID. 可以很容易的看出当前进程与orcl.2实例关联。
4.(问题出现地方) 运行 startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENERORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=CentOS.haibao637)(PORT=1521))'
原因,由第3步可以得知,与当前进程绑定的实例名为orcl.2. startup命令会到$ORACLE_HOME/dbs目录下 搜索名字为init${ORACLE.SID}.ora (当前为initorcl.2.ora)
所以,其中一个原因就是不存在该文件,要不就是该文件为空
5.退出exit
6.运行 echo db_name=orcl.2 > initorcl.2.ora
7.转到第一步
。。。。
8.到第四步时,运行成功到结果(数字不一样不是错。。。):
ORACLE instance started.Total System Global Area 150667264 bytesFixed Size 1335080 bytesVariable Size 92274904 bytesDatabase Buffers 50331648 bytesRedo Buffers 6725632 bytes
9.bingo!
- Oracle -- ORA-00119 错误解决方法 此法也可解决ORA-91078 LRM-00109错误
- Oracle数据库报ORA-01078和LRM-00109错误解决方法
- Oracle数据库报ORA-01078和LRM-00109错误解决方法
- ORA-01078: 和 LRM-00109 :错误 解决方法
- ORA-01078: 和 LRM-00109 :错误 解决方法
- ORA-01078和LRM-00109错误解决
- ORA-01078 LRM-00109错误
- 出了ORA-27101,ORA-01034,ORA-01078,LRM-00109和ORA-12640错误解决方法
- ora-01078和lrm-00109错误
- ora-01078和lrm-00109错误
- Oracle,ORA-01078,LRM-00109
- ORACLE 报错ORA-00439、ORA-01078、LRM-00109、ORA-38760的解决方法
- Oracle ORA-32700 错误解决方法
- Oracle ORA-01110错误解决方法
- Oracle ORA-01045错误解决方法
- Oracle ora-01045错误解决方法
- Oracle ora-01045错误解决方法
- oracle ora-01033错误解决方法
- c#编译的com组件 在本机可以,在其它机器不行
- p137 E2
- Linux0.11内核--idt(中断描述符表的初始化)head.s分析
- opengl环境配置
- 为什么写技术博客对新人如此重要?
- Oracle -- ORA-00119 错误解决方法 此法也可解决ORA-91078 LRM-00109错误
- Struts2+Spring整合时异常 - FileNotFoundException
- HDU 1874 畅通工程续
- Exercise4.3 E2
- Win7开自带的虚拟WIFI
- 将pygame文件打包成.exe文件
- g斯蒂芬格式的
- 位运算的实例
- 数据的查询,更改和删除