静态方式把oracle实例配置到监听文件里

阅读更多
本例Oracle的实例名字为 parep

原始的listener.ora文件内容如下:
# listener.ora Network Configuration File: C:\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 = CLRExtProc)
      (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-R2RAPC3N3HN)(PORT = 3436))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC3436))
    )
  )

ADR_BASE_LISTENER = C:\oracle

静态方式把oracle实例配置到监听文件里_第1张图片

修改后的listener.ora文件内容如下:
# listener.ora Network Configuration File: C:\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 = CLRExtProc)
      (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
      (SID_NAME = parep)
      (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_1)
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-R2RAPC3N3HN)(PORT = 3436))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC3436))
    )
  )

ADR_BASE_LISTENER = C:\oracle

静态方式把oracle实例配置到监听文件里_第2张图片
  • 静态方式把oracle实例配置到监听文件里_第3张图片
  • 大小: 71.4 KB
  • 静态方式把oracle实例配置到监听文件里_第4张图片
  • 大小: 68.8 KB
  • 查看图片附件

你可能感兴趣的:(oracle)