oracle lsnrctl status|start|stop

[[email protected] ~]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 06-OCT-2015 21:10:05

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date                06-OCT-2015 19:45:16
Uptime                    0 days 1 hr. 24 min. 49 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/redhat4/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=redhat4.7)(PORT=1521)))
Services Summary...
Service "ora11g" has 1 instance(s).
  Instance "ora11g", status READY, has 1 handler(s) for this service...
Service "ora11gXDB" has 1 instance(s).
  Instance "ora11g", status READY, has 1 handler(s) for this service...
Service "orcl.7" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.7" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[[email protected] ~]$ lsnrctl stop

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 06-OCT-2015 21:10:14

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
The command completed successfully
[[email protected] ~]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 06-OCT-2015 21:10:26

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

Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/redhat4/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=redhat4.7)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date                06-OCT-2015 21:10:26
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/redhat4/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=redhat4.7)(PORT=1521)))
The listener supports no services
The command completed successfully

时间: 2024-10-24 10:51:02

oracle lsnrctl status|start|stop的相关文章

数据库监听卡住 Oracle lsnrctl status 卡在connecting ......

客户端显示 "TNS 连接超时" 运行lsnrctl status Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxx)(PORT=1521))) 查到有2个监听进程在运行 [[email protected] ~]$ ps -ef | grep tns root       125     2  0 Mar29 ?        00:00:00 [netns] oracle   11242     1  0

ora-12170 与 Oracle lsnrctl

在startup 启动数据库后,使用plsql去连接数据库时, 出现ora-12170 错误: 在启动.关闭或者重启oracle监听器之前确保使用lsnrctl status命令检查oracle监听器的状态: 1.$lsnrctl status:检查当前监听器的状态 2.$lsnrctl start [listener-name] 启动所有的监听器,可以指定名字来启动特定的监听器 3.$lsnrctl stop [listener-name]  关闭所有的监听器,可以指定名字来关闭特定的监听器

ORA-01034:ORACLE not available问题的解决方法

同时在自己电脑上装了oracle客户端和服务器,上次还能用呢,这次突然用不了. [[email protected] oracle]$ sqlplus scott/tiger SQL*Plus: Release 9.2.0.4.0 - Production on Mon Nov 24 11:06:50 2008 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.ERROR:ORA-01034: ORACLE not

oracle 10g运维手册

1.    检查数据库基本状况... 4 1.1.     检查Oracle实例状态... 4 1.2.     检查Oracle服务进程... 4 1.3.     检查Oracle监听状态... 5 2.    检查系统和oracle日志文件... 6 2.1.     检查操作系统日志文件... 6 2.2.     检查oracle日志文件... 6 2.3.     检查Oracle核心转储目录... 7 2.4.     检查Root用户和Oracle用户的email. 7 3.  

Oracle查看数据库与数据库监听启动状态

   1.数据库状态查询:    SQL>select status from v$instance;    2.数据库监听状态查询:    C:/Documents and Settings/skate_db>lsnrctl status    1.数据库状态命令结果详解:    [email protected]/export/home/oracle > sqlplus / as sysdba        SQL*Plus: Release 11.2.0.1.0 Productio

Solaris 10(x86)构建Oracle 10g RAC之--建立数据库

Solaris 10(x86)构建Oracle 10g RAC之--建立数据库 系统环境: 操作系统:Solaris 10(x86-64) Cluster: Oracle CRS 10.2.0.1.0 Oracle:  Oracle 10.2.0.1.0 如图所示:RAC 系统架构 四.通过netca建立监听器      对于listener可以通过netca在建库之前建立,也可以在用dbca建库时来建立. Listener建立成功,验证: [[email protected]:/]# crs_

Oracle与/etc/hosts关系很暧昧啊~

昨天处理了一个小case,后来发现不知道哪位亲爱的朋友修改了/etc/hosts文件,导致数据库趴下了,记录一下 [[email protected] ~]# su - oracle <padb:padb:/home/oracle>$ <padb:padb:/home/oracle>$ps -ef|grep ora_ oracle 5874 5847 0 11:35 pts/3 00:00:00 grep ora_ <padb:padb:/home/oracle>$ls

oracle DataGuard 主从 踩过坑的

一.主机描述 dbprimary: 192.168.1.57 主机名称db1    dbstandby: 192.168.1.58 主机名成db2    SID: orcl 二.配置tns,配置好的文件内容: dbprimary的listener.ora (/db/app/oracle/product/11.2.0/network/admi目录下): # Generated by Oracle configuration tools. SID_LIST_LISTENER =   (SID_LIS

11g rac grid用户来管理监听程序

Oracle 11g RAC 数据库监听默认都是grid用户通过集群工具来进行管理的,但是有些时候我们会发现数据库监听程序有oracle用户启动的,这里就存在一些问题.比如,出现的多余的监听进程我们可以kill掉 <roidb2:+ASM2:/home/grid>$ps -ef|grep tns root 10 2 0 08:11 ? 00:00:00 [netns] grid 4880 1 0 08:24 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr