ITPub博客

首页 > 数据库 > Oracle > ORA-00119: invalid specification for system parameter LOCAL_LISTENER

ORA-00119: invalid specification for system parameter LOCAL_LISTENER

原创 Oracle 作者:goolen 时间:2014-10-21 18:19:44 0 删除 编辑
好长没有安装oracle了,今天安装一套11g的库,启动报错如下:
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=kvm-image)(PORT=1521))'

解决方法很简单,不过也记录一下。

解决方法1:
在参数文件里面增加如下参数:
*.local_listener='(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.155.20.90)))'

SQL> startup nomount;
ORACLE instance started.
Total System Global Area 2137886720 bytes
Fixed Size                  2215064 bytes
Variable Size             503317352 bytes
Database Buffers         1627389952 bytes
Redo Buffers                4964352 bytes

解决方法2:
在/etc/hosts 文件里增加IP与主机名的对应关系:
10.155.20.90    kvm-image

SQL> startup nomount;
ORACLE instance started.
Total System Global Area 2137886720 bytes
Fixed Size                  2215064 bytes
Variable Size             503317352 bytes
Database Buffers         1627389952 bytes
Redo Buffers                4964352 bytes

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

上一篇: ORA-39038
请登录后发表评论 登录
全部评论

注册时间:2011-10-20

  • 博文量
    121
  • 访问量
    731655