環境:centos7+oracle 11gr2
公網:固定IP
症狀:1521端口正常,netmanager配置測試正常,plsql連接提示ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
解決辦法:
增加SID_LIST_LISTENER=
LISTENER=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=sales-server)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=plsextproc)
(ORACLE_HOME=/oracle10g)
(PROGRAM=extproc)))
參考:https://docs.oracle.com/cd/B28359_01/network.111/b28316/listenercfg.htm