zoukankan      html  css  js  c++  java
  • 关于侦听的注册

    [oracle@dwhtest admin]$ lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 09-SEP-2014 18:26:52
    
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                09-SEP-2014 18:26:49
    Uptime                    0 days 0 hr. 0 min. 2 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Log File         /oracle/app/diag/tnslsnr/dwhtest/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dwhtest)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    
    此时侦听没注册服务
    
    
    侦听静态注册:
    [oracle@perass ~]$ lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 09-SEP-2014 17:25:37
    
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=perass)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                23-JUL-2014 18:18:50
    Uptime                    47 days 23 hr. 6 min. 46 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /oracle/app/product/11.2.0/db/network/admin/listener.ora
    Listener Log File         /oracle/app/diag/tnslsnr/perass/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=perass)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "perass" has 2 instance(s).
      Instance "perass", status UNKNOWN, has 1 handler(s) for this service...
      Instance "perass", status READY, has 1 handler(s) for this service...
    Service "perass2" has 1 instance(s).
      Instance "perass2", status UNKNOWN, has 1 handler(s) for this service...
    Service "perassXDB" has 1 instance(s).
      Instance "perass", status READY, has 1 handler(s) for this service...
    The command completed successfully
    
    [oracle@perass ~]$ cat /oracle/app/product/11.2.0/db/network/admin/listener.ora
    # listener.ora Network Configuration File: /oracle/app/product/10.2.0/db/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /oracle/app/product/11.2.0/db)
          (PROGRAM = extproc)
        )
        (SID_DESC = 
    
          (SID_NAME = perass) 
    
          (ORACLE_HOME = /oracle/app/product/11.2.0/db) 
    
          (GLOBAL_DBNAME = perass) 
    
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = perass)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        )
      )
    
    
    侦听动态注册:
    
    [oracle@dwhtest admin]$ lsnrctl status 
    
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 09-SEP-2014 18:15:32
    
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                09-SEP-2014 18:13:41
    Uptime                    0 days 0 hr. 1 min. 51 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Log File         /oracle/app/diag/tnslsnr/dwhtest/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dwhtest)(PORT=1521)))
    Services Summary...
    Service "dwetl" has 1 instance(s).
      Instance "dwetl", status READY, has 1 handler(s) for this service...
    Service "dwetlXDB" has 1 instance(s).
      Instance "dwetl", status READY, has 1 handler(s) for this service...
    Service "dwhtest" has 1 instance(s).
      Instance "dwhtest", status READY, has 1 handler(s) for this service...
    Service "dwhtest2" has 1 instance(s).
      Instance "dwhtest2", status READY, has 1 handler(s) for this service...
    Service "dwhtest2XDB" has 1 instance(s).
      Instance "dwhtest2", status READY, has 1 handler(s) for this service...
    Service "dwhtestXDB" has 1 instance(s).
      Instance "dwhtest", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • 相关阅读:
    ASP.NET AJAX异步调用Web Service和页面中的类方法< 收藏>
    WebCast下载工具iReaper
    ASP.NET AJAX Control Toolkit
    CodeSmith对数据库中表的操作(转)
    仿163网盘无刷新多文件上传系统<转>
    疯狂.NET 通用权限设计 C\S后台管理,B\S前台调用源码样例程序源码下载之 操作权限《转》
    TFS2010物理迁移
    Extensible Storage Engine
    改善ASP.NET MVC应用程序第一次启动性能问题
    Windows Server 2012添加WORKGROUPS Windows Server 2008 R2服务器
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13352094.html
Copyright © 2011-2022 走看看