oracle監聽檔案listener.ora for 10g/11g

巡完南山巡南山發表於2019-01-28

----------------------oracle 11g----------------------


SID_LIST_LISTENER =

  (SID_LIST =

    (SID_DESC =

      (SID_NAME = nms)

      (ORACLE_HOME = /u01/oracle/product/10.2.0/db_1/)

      (PROGRAM = extproc)

    )

)


LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = TCP)(HOST = TJ-NMS-DB)(PORT = 1523))

      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1523))

    )

  )


ADR_BASE_LISTENER = /u01/oracle


用非預設埠時需要改local_listener引數

SQL> alter system set local_listener="(address=(protocol=tcp)(host=192.168.0.100)(port=1523))";


----------------------oracle 10g----------------------

SID_LIST_LISTENER =

  (SID_LIST =

    (SID_DESC =

      (GLOBAL_DBNAME = ydwg)

      (ORACLE_HOME = /oracle/oracle10/product/10.2.0/db_1)

      (SID_NAME = ydwg)

    )

 )



LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.151)(PORT = 1521))

    )

  )








來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26964624/viewspace-2565035/,如需轉載,請註明出處,否則將追究法律責任。

相關文章