# listener.ora Network Configuration File: E:\app\Administrator\product\11.1.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = CQ-PC)(PORT = 1521))
    )
  )
SID_LIST_LISTENER =
  (SID_LIST =
   (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\app\Administrator\product\11.1.0\db_1)
    (PROGRAM = extproc)
   )
   )

=============================================================================

粘贴到listener.ora中,然后在启动dos窗口,执行 lsnrctl stop 关闭,lsnrct start 启动。

=============================================================================

C:\Users\Administrator>lsnrctl stop

LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 28-1月 -2013 16:2
3:07

Copyright (c) 1991, 2007, Oracle.  All rights reserved.

正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
命令执行成功

C:\Users\Administrator>lsnrctl start

LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 28-1月 -2013 16:2
3:15

Copyright (c) 1991, 2007, Oracle.  All rights reserved.

启动tnslsnr: 请稍候...

TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Production
系统参数文件为E:\app\Administrator\product\11.1.0\db_1\network\admin\listener.or
a
写入e:\app\administrator\diag\tnslsnr\CQ-PC\listener\alert\log.xml的日志信息
监听: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
监听: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))

正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
LISTENER 的 STATUS
------------------------
别名                      LISTENER
版本                      TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
ction
启动日期                  28-1月 -2013 16:23:21
正常运行时间              0 天 0 小时 0 分 7 秒
跟踪级别                  off
安全性                    ON: Local OS Authentication
SNMP                      OFF
监听程序参数文件          E:\app\Administrator\product\11.1.0\db_1\network\admin
\listener.ora
监听程序日志文件          e:\app\administrator\diag\tnslsnr\CQ-PC\listener\alert
\log.xml
监听端点概要...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
服务摘要..
服务 "PLSExtProc" 包含 1 个例程。
  例程 "PLSExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
服务 "cq" 包含 1 个例程。
  例程 "cq", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
命令执行成功
 

====================================================================

重启PLSQL Developer。OK!