我的机器是win32 XP
cmd状态下:lsnrctl
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-7月 -2009 20:13:03
Copyright (c) 1991, 2005, Oracle. All rights reserved.
欢迎来到LSNRCTL, 请键入"help"以获得信息。
LSNRCTL> help
以下操作可用
星号 (*) 表示修改符或扩展命令:
start stop status
services version reload
save_config trace change_password
quit exit set*
show*
LSNRCTL> status
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
LISTENER 的 STATUS
------------------------
别名 LISTENER
版本 TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
启动日期 27-7月 -2009 19:37:38
正常运行时间 0 天 0 小时 35 分 33 秒
跟踪级别 off
安全性 ON: Local OS Authentication
SNMP OFF
监听程序参数文件 D:\oracle\product\10.2.0\db\network\admin\listener.ora监听程序日志文件 D:\oracle\product\10.2.0\db\network\log\listener.log
监听端点概要...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
服务摘要..
服务 "Ora" 包含 1 个例程。
例程 "Ora", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
命令执行成功
LSNRCTL>
正常的
但是:用em打开却数监听器没有起来!
我的em截图
奇了怪了!
cmd状态下:lsnrctl
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-7月 -2009 20:13:03
Copyright (c) 1991, 2005, Oracle. All rights reserved.
欢迎来到LSNRCTL, 请键入"help"以获得信息。
LSNRCTL> help
以下操作可用
星号 (*) 表示修改符或扩展命令:
start stop status
services version reload
save_config trace change_password
quit exit set*
show*
LSNRCTL> status
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
LISTENER 的 STATUS
------------------------
别名 LISTENER
版本 TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
启动日期 27-7月 -2009 19:37:38
正常运行时间 0 天 0 小时 35 分 33 秒
跟踪级别 off
安全性 ON: Local OS Authentication
SNMP OFF
监听程序参数文件 D:\oracle\product\10.2.0\db\network\admin\listener.ora监听程序日志文件 D:\oracle\product\10.2.0\db\network\log\listener.log
监听端点概要...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
服务摘要..
服务 "Ora" 包含 1 个例程。
例程 "Ora", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
命令执行成功
LSNRCTL>
正常的
但是:用em打开却数监听器没有起来!
我的em截图
奇了怪了!
http://localhost:5500/em/console/database/instance/repDown?target=Ora&type=oracle_database
页面在监听程序
数据库实例
主机
端口 1521
SID Ora
Oracle 主目录 D:\oracle\product\10.2.0\db
监听程序
状态 关闭
主机
端口 1521
名称 LISTENER
Oracle 主目录 D:\oracle\product\10.2.0\db
位置 D:\oracle\product\10.2.0\db\network\admin
详细资料 TNS-12541: TNS: 无监听程序 到实例的代理连接
状态 失败
详细资料 ORA-12541: TNS: 无监听程序 (DBD ERROR: OCIServerAttach) 我的数据库可以正常连接!sqlplus username/password
SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 7月 27 20:29:42 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
用lsnrctl stop先停止后,再重新启动下lsnrctl start