zoukankan      html  css  js  c++  java
  • 【小错误】监听

    今天在配置监听后状态一直显示The listener supports no services,

    解决办法:

    ①登录到数据库,查看数据库service_names

    SQL> show parameter service_names
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    service_names                        string      ORA11GR2


    ②强制注册服务

    SQL> alter system register;
    
    System altered.

    ③再次查看监听状态

    [oracle@host05 ~]$ lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 22-NOV-2016 16:25:51
    
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host05)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                22-NOV-2016 16:15:29
    Uptime                    0 days 0 hr. 10 min. 22 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/host05/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host05)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Services Summary...
    Service "ORA11GR2" has 1 instance(s).
      Instance "ORA11GR2", status READY, has 1 handler(s) for this service...
    Service "ORA11GR2XDB" has 1 instance(s).
      Instance "ORA11GR2", status READY, has 1 handler(s) for this service...
    The command completed successfully

     

  • 相关阅读:
    svn上传文件钩子
    linux服务器版svn安装
    csp-s模拟55
    csp-s模拟54
    csp-s模拟53
    csp-s模拟52
    csp-s模拟51
    csp-s模拟50
    csp-s模拟49
    csp-s模拟48
  • 原文地址:https://www.cnblogs.com/tomatoes-/p/6089865.html
Copyright © 2011-2022 走看看