Oracle每日一题——(1) 启动/停止监听
启动监听:lsnrctl start
查看监听:lsnrctl status
停止监听:lsnrctl stop
- 启动监听:lsnrctl start
[oracle@localhost ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2013 21:54:06
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/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 /u01/app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-JAN-2013 21:54:08
Uptime 0 days 0 hr. 0 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
- 监听已启动查看监听状态lsnrctl status
[oracle@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2013 21:55:21
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-JAN-2013 21:54:08
Uptime 0 days 0 hr. 1 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
- 监听未启动查看监听状态lsnrctl status
[oracle@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2013 21:52:46
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
- 停止监听:lsnrctl stop
[oracle@localhost ~]$ lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2013 21:56:05
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
转载于:https://www.cnblogs.com/downpour/archive/2013/01/09/2851319.html
Oracle每日一题——(1) 启动/停止监听相关推荐
- oracle 数据库起监听,oracle启动数据库监听
linux/Aix启动.关闭Oracle及监听 Aix环境下管理Oracle 1.Aix下查看.启动数据库监听器 以oracle用户执行以下命令: ① lsnrctl status //-查看监听器状 ...
- Oracle 每日一题系列合集
作者 | JiekeXu 来源 | JiekeXu之路(ID: JiekeXu_IT) 转载请联系授权 | (微信ID:xxq1426321293) 大家好,我是 JiekeXu,很高兴又和大家见面了 ...
- oracle 启动 linux监听,Linux下启动Oracle服务和监听程序
$ su – oracle $ sqlplus / nolog sql> conn / as sysdba sql> startup #启动Oracle,需 ...
- 启动http监听失败、添加URL保留项失败,错误6句柄无效
问题现象: 1.启动http监听失败 2.执行netsh命令 返回:添加URL保留项失败 错误6 句柄无效 查看URL保留项 netsh http show urlacl 添加URL保留项 net ...
- oracle重启监听12541,oracle数据 报 “ora-12541:TNS:无监听程序”错误
PLsql登录oracle数据 报 "ora-12541:TNS:无监听程序"错误,但不输入"数据库"在默认情况下可以登录.并且D:oracleproduct1 ...
- ROS2学习笔记22--使用launch启动/监听多个node节点
概要:这篇内容主要介绍如何使用launch启动/监听多个node节点 环境:ubuntu20.04,ros2-foxy,vscode 最后如果没有陈述实操过程中碰到问题的话,则表示该章节都可被本人正常 ...
- oracle12541 linux,PLSQL连接Linux上的oracle数据库出现,ORA-12541 TNS 无监听程序
PLSQL连接Linux上的oracle数据库出现,ORA-12541 TNS 无监听程序 外部的PLSQL无法连接Linux上的oracle数据库,出现ORA-12541 TNS 无监听程序错误.待 ...
- 连接ORACLE数据库提示:ORA-12541: TNS: 无监听程序
背景 在连接ORACLE数据库提示:ORA-12541: TNS: 无监听程序问题,在网上搜了许多文章使用了很多方法,比如重启监听,重启数据库等都无效 解决方案 1.检查listener.ora中的h ...
- linux 下停止监听程序,Linux下启动Oracle服务和监听程序步骤
Linux下启动Oracle服务和监听程序启动和关闭步骤整理如下: 1.安装oracle: 2.创建oracle系统用户: 3./home/oracle下面的.bash_profile添加几个环境变量 ...
最新文章
- 模板 - 最小斯坦纳树
- 2021-08-27 分割之后mask在原图中提取出来(语义分割—实例分割)
- Science | 基于算法设计疫苗的人工蛋白
- vue填坑指南之模板的使用
- 2005-5-29+ 认识httphandler
- java web 中的乱码
- 路由器获取路由后加表原则
- Docker报错:Temporary failure in name resolutionProxy Authentication Required
- 战士的升级速度不可能同法师相比,道士相比也有一定差距
- 易课堂之算法注册机编写1
- IntelliJ IDEA文件名颜色分别表示的意思
- ST MCSDK 初探
- 《Java8实战》第3章 Lambda 表达式
- linux下不让使用rm命令
- 阿里云服务器qq邮箱无法推送问题
- pdu电源线_pdu电源插座与普通电源插座的区别
- Python 小小爬虫练手,爬取自己的IP
- c#浅谈反射内存的处理
- python爬虫基础
- [强化学习实战]函数近似方法-线性近似与函数近似的收敛性
热门文章
- 福大第二学士学位计算机专业就业前景,福州大学省级重点学科介绍:计算机应用技术(081203)...
- ppp lcp协商报文有哪些_PPP 点到点协议
- 用户行为分析面面观之二
- linux 中rpc 服务器,实现Linux环境下编程RPC通信之个人经验总结(转)
- python referer伪造_php伪造Referer请求反盗链资源
- python数据拟合
- PAT (Basic Level) Practice1010 一元多项式求导
- >>’ should be ‘> >’ within a nested template argument list
- 2018-2019 20165232 Exp5 MSF基础应用
- flutter实战1:完成一个有侧边栏的主界面