码迷,mamicode.com
首页 > 数据库 > 详细

oracle ORA-00119, ORA-00132问题解决

时间:2017-11-13 19:45:47      阅读:172      评论:0      收藏:0      [点我收藏+]

标签:nbsp   col   resolved   nis   str   bho   work   spec   syntax   

使用PL/SQL登录oracle报ORA-12154: TNS: 无法解析指定的连接标识符
sqlplus /nolog
connect /as sysdba
startup
报如下错误:
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name ‘LISTENER_ORCL‘

LOCAL_LISTENER为D:\app\Administrator\product\11.2.0\dbhome_1\database\SPFILEORCL.ORA文件中*.local_listener参数
LISTENER_ORCL为*.local_listener参数值,如:*.local_listener=‘LISTENER_ORCL‘

ORA-00119,ORA-00132是因为*.local_listener=‘LISTENER_ORCL‘的值,即LISTENER_ORCL在D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora文件中未申明,需求修改配置文件即可。

LISTENER_ORCL =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    )
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    )
  )

oracle ORA-00119, ORA-00132问题解决

标签:nbsp   col   resolved   nis   str   bho   work   spec   syntax   

原文地址:http://www.cnblogs.com/Jiphen/p/7827400.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!