CentOS 下設定 Oracle 外網訪問

來源:互聯網
上載者:User

CentOS 下設定 Oracle 外網訪問

環境:CentOS 7+Oracle 11g r2

公網:固定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

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.