Linux下修改Oracle监听地址的方法

lisenter.ora 目录在

/opt/oracle/11g/network/admin

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

ADR_BASE_LISTENER = /opt/oracle
tnsnames.ora

ORCL =
 (DESCRIPTION =
  (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.111.123)(PORT = 1521))
  (CONNECT_DATA =
   (SERVER = DEDICATED)
   (SERVICE_NAME = orcl)
  )
 )

总结

以上所述是小编给大家介绍的Linux下修改Oracle监听地址的方法,希望对大家有所帮助,如果大家有任何疑问欢迎给我留言,小编会及时回复大家的。

相关推荐