Home  >  Article  >  Database  >  解决Oracle 11g ORA-00119 ORA-00132方法

解决Oracle 11g ORA-00119 ORA-00132方法

WBOY
WBOYOriginal
2016-06-07 16:48:551173browse

解决Oracle 11g ORA-00119 ORA-00132方法

在Linux下启动Oracle 11g是报如下错误:

ORA-00119: invalid specification for system parameter LOCAL_LISTENER

ORA-00130: invalid listener address XIANGDE_LISTENER

在网上也有很多人遇到这种问题,大家的解决方法基本都是一致的,但是oracle11g和oracle10g有些区别。

$ ./sqlplus / as sysdba;

SQL> create pfile from spfil=‘D:\app\fy\product\11.2.0\dbhome_1\database\SPFILEXIANGDE.ORA';

执行该语句后在database下会生成INITxiangde.ORA文件

把INITxiangde.ORA文件中的*.local_listener的值改成,如:

*.local_listener='(ADDRESS_LIST=(Address=(Protocol=tcp) (Host=serverIP)(Port=1521)))'

再执行

SQL> create spfile from pfil=‘D:\app\fy\product\11.2.0\dbhome_1\database\INITxiangde.ORA';

SQL>startup

这样就启动了 (xiangde是SID)

11g和10g的区别是这个spfile的位置是放在dbs下,,而11g是放在database下

Linux-6-64下安装Oracle 12C笔记

在CentOS 6.4下安装Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

本文永久更新链接地址:

linux

Statement:
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
Previous article:MySQL的多行插入Next article:RMAN全备份脚本