美文网首页
oracle 监听相关问题

oracle 监听相关问题

作者: DimonHo | 来源:发表于2016-10-10 01:44 被阅读22次

    配置监听器的重要文件listener.ora

    # listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
          (PROGRAM = extproc)
        )
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = orcl)
        )
      )
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.221)(PORT = 1521))
        )
      )
    
    ADR_BASE_LISTENER = /home/oracle/app
    

    启动监听命令:lsnrctl start

    停止监听命令:lsnrctl stop

    查看监听状态:lsnrctl status

    相关文章

      网友评论

          本文标题:oracle 监听相关问题

          本文链接:https://www.haomeiwen.com/subject/iepmyttx.html