TNS-01153无法处理String

时间:2013-04-11 21:48:56

标签: oracle oracle11g listener

我正在尝试在Oracle 11g安装中重启监听器,我收到错误:

TNS-01153 Failed to process String: -

这是我的listener.ora。我无法弄清楚错误的位置:

# listener.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome\network\admin\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
 (DESCRIPTION_LIST =
 (DESCRIPTION =
  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
  (ADDRESS = (PROTOCOL = TCP)(HOST = name.comp.com)(PORT = 1521))
)
)

LISTENER_MSORA =
 (ADDRESS_LIST=
  (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
  (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))

SID_LIST_LISTENER_MSORA=
 (SID_LIST=
  (SID_DESC=
     (SID_NAME=MSORA)
     (ORACLE_HOME = d:\oracle\product\10.1.0\db_1)
     (PROGRAM=hsodbc)
   )
  )  
ADR_BASE_LISTENER = E:\oracle

1 个答案:

答案 0 :(得分:2)

这是一个Windows服务器所以,我停止了TNSlistner服务,打开了Oracle网络管理器并删除了旧的监听器并创建了一个新的,重新启动了TNSlistner服务。这解决了这个问题。