oracle監聽配置

2021-06-05 20:42:40 字數 1268 閱讀 7030

/etc/hosts

127.0.0.1               localhost.localdomain localhost  test3.china.net   test3

$oracle_home/network/admin/listener.ora

# listener.ora network configuration file: /opt/oracle/112/network/admin/listener.ora

# generated by oracle configuration tools.

listener =

(description =

(address = (protocol = tcp)(host = test3.china.net)(port = 1521))

)adr_base_listener = /opt/oracle

--靜態註冊監聽

sid_list_listener =

(sid_list =

(sid_desc =

(sid_name = pl***tproc)

(oracle_home = /home/oracle/product/10.2.0)

(program = extproc)

)(sid_desc =

(sid_name = ora10g)

(oracle_home = /home/oracle/product/10.2.0)

(global_dbname = ora10g)

))

$oracle_home/network/admin/tnsnames.ora

oracle =

(description =

(address_list =

(address = (protocol = tcp)(host = 10.1.0.200)(port = 1521))

)(connect_data =

(service_name = oracle)

))oracle =

(description =

(address_list =

(address = (protocol = tcp)(host = 10.1.0.200)(port = 1521))

)(connect_data =

(sid = oracle)

))

Oracle 監聽連線配置 注意

當你配置乙個監聽鏈結的時候,特別是讓別人給你提供乙個監聽連線串的時候,拷貝到自己的tnsnames.ora 檔案中的時候 要特別小心,例如下面的監聽連線串eabaitst必須頂格,如果有空格就會報錯連線不上,或者 eabaitst 和 之間要有空格,不要在這些低階問題上翻船 eabaitst des...

Linux下配置Oracle 監聽

1.修改 配置檔案 linux下oracle 配置檔案在 oracle home network admin listerer.ora,如 bank oracle oracle10g product 10.2.0 network admin listener.ora 修改並配置要監聽sid的相關資訊...

ORACLE監聽配置及連線字配置

2009 09 29 1.listener.ora關鍵配置 sid list listener sid list sid desc sid name pl tproc oracle home e oracle product 10.2.0 db 1 program extproc sid desc ...