oracle11g listener fails to start (or stops automatically after starting)

# listener.ora Network Configuration File: F:\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = ORCL)
      (ORACLE_HOME = F:\oracle\product\11.2.0\dbhome_1)
      (SID_NAME = ORCL)
    )

#    (SID_DESC =
#      (SID_NAME = CLRExtProc)
#      (ORACLE_HOME = F:\oracle\product\11.2.0\dbhome_1)
#      (PROGRAM = extproc)
#      (ENVS = "EXTPROC_DLLS=ONLY:F:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
#    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    )
  )

ADR_BASE_LISTENER = F:\oracle



Add the red part according to your own database installation path That's it, restart the listener OracleOraDb11g_home1TNSListener

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326210794&siteId=291194637