Linux下Oracle的listener.ora文件配置
这是我listener.ora#listener.oraNetworkConfigurationFile:/home/oracle/app/oracle/product/...
这是我 listener.ora
# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl_1)
(ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = orcl_1)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = malin_linux)(PORT = 1521))
)
)
ADR_BASE_LISTENER = /home/oracle/app/oracle
------------------------------------
下面是 用 lsnrctl start 启动后的提示信息
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 01-7月 -2015 02:17:45
Copyright (c) 1991, 2009, Oracle. All rights reserved.
启动/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: 请稍候...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
系统参数文件为/home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
写入/home/oracle/app/oracle/diag/tnslsnr/malin_linux/listener/alert/log.xml的日志信息
监听: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=malin_linux)(PORT=1521)))
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=malin_linux)(PORT=1521)))
LISTENER 的 STATUS
------------------------
别名 LISTENER
版本 TNSLSNR for Linux: Version 11.2.0.1.0 - Production
启动日期 01-7月 -2015 02:17:46
正常运行时间 0 天 0 小时 0 分 1 秒
跟踪级别 off
安全性 ON: Local OS Authentication
SNMP OFF
监听程序参数文件 /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
监听程序日志文件 /home/oracle/app/oracle/diag/tnslsnr/malin_linux/listener/alert/log.xml
监听端点概要...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=malin_linux)(PORT=1521)))
服务摘要..
服务 "orcl_1" 包含 1 个实例。
实例 "orcl_1", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
命令执行成功 展开
# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl_1)
(ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = orcl_1)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = malin_linux)(PORT = 1521))
)
)
ADR_BASE_LISTENER = /home/oracle/app/oracle
------------------------------------
下面是 用 lsnrctl start 启动后的提示信息
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 01-7月 -2015 02:17:45
Copyright (c) 1991, 2009, Oracle. All rights reserved.
启动/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: 请稍候...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
系统参数文件为/home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
写入/home/oracle/app/oracle/diag/tnslsnr/malin_linux/listener/alert/log.xml的日志信息
监听: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=malin_linux)(PORT=1521)))
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=malin_linux)(PORT=1521)))
LISTENER 的 STATUS
------------------------
别名 LISTENER
版本 TNSLSNR for Linux: Version 11.2.0.1.0 - Production
启动日期 01-7月 -2015 02:17:46
正常运行时间 0 天 0 小时 0 分 1 秒
跟踪级别 off
安全性 ON: Local OS Authentication
SNMP OFF
监听程序参数文件 /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
监听程序日志文件 /home/oracle/app/oracle/diag/tnslsnr/malin_linux/listener/alert/log.xml
监听端点概要...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=malin_linux)(PORT=1521)))
服务摘要..
服务 "orcl_1" 包含 1 个实例。
实例 "orcl_1", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
命令执行成功 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏20(财富值+成长值)
若以下回答无法解决问题,邀请你更新回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询