首页 > php教程 > php手册 > 正文

Oracle 多端口多监听配置

php中文网
发布: 2016-06-13 08:49:51
原创
1157人浏览过

oracle 多端口多监听配置

[oracle@localhost admin]$ more listener.ora
# listener.ora network configuration file: /oracle/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
# generated by oracle configuration tools.


sid_list_listener =
(sid_list =
(sid_desc =
(sid_name = plsextproc)
(oracle_home = /oracle/app/oracle/product/10.2.0/db_1)
(program = extproc)
)
)


sid_list_listener2 =
( sid_list =
(sid_desc =
(global_dbname = ora10)
(sid_name = orcl)
)
)




listener =
(description_list =
(description =
(address = (protocol = tcp)(host = localhost.localdomain)(port = 1521))
)
(description =
(address = (protocol = tcp)(host = 108.88.3.93)(port = 1522))
)
)




listener2 =
( description =
(address = (host = 108.88.3.93)(protocol = tcp)(port = 1523))
)
[oracle@localhost admin]$

[oracle@localhost admin]$ lsnrctl


lsnrctl for linux: version 10.2.0.1.0 - production on 10-dec-2015 06:05:37


copyright (c) 1991, 2005, oracle. all rights reserved.


welcome to lsnrctl, type "help" for information.


lsnrctl> start listener2
starting /oracle/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...


tnslsnr for linux: version 10.2.0.1.0 - production
system parameter file is /oracle/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
log messages written to /oracle/app/oracle/product/10.2.0/db_1/network/log/listener2.log
listening on: (description=(address=(protocol=tcp)(host=108.88.3.93)(port=1523)))


connecting to (description=(address=(host=108.88.3.93)(protocol=tcp)(port=1523)))
status of the listener
------------------------
alias listener2
version tnslsnr for linux: version 10.2.0.1.0 - production
start date 10-dec-2015 06:05:44
uptime 0 days 0 hr. 0 min. 0 sec
trace level off
security on: local os authentication
snmp off
listener parameter file /oracle/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
listener log file /oracle/app/oracle/product/10.2.0/db_1/network/log/listener2.log
listening endpoints summary...
(description=(address=(protocol=tcp)(host=108.88.3.93)(port=1523)))
services summary...
service "ora10" has 1 instance(s).
instance "orcl", status unknown, has 1 handler(s) for this service...
the command completed successfully
lsnrctl> status listener2
connecting to (description=(address=(host=108.88.3.93)(protocol=tcp)(port=1523)))
status of the listener
------------------------
alias listener2
version tnslsnr for linux: version 10.2.0.1.0 - production
start date 10-dec-2015 06:05:44
uptime 0 days 0 hr. 0 min. 8 sec
trace level off
security on: local os authentication
snmp off
listener parameter file /oracle/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
listener log file /oracle/app/oracle/product/10.2.0/db_1/network/log/listener2.log
listening endpoints summary...
(description=(address=(protocol=tcp)(host=108.88.3.93)(port=1523)))
services summary...
service "ora10" has 1 instance(s).
instance "orcl", status unknown, has 1 handler(s) for this service...
the command completed successfully
lsnrctl>


最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号