關鍵的兩個文件
$ORACLE_HOME/network/admin/listener
$ORACLE_BASE/config/
當出現這個提示時首先檢查
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = SAMPLE
(ORACLE_HOME = /opt/oracle/product/
(SID_NAME = SAMPLE)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT =
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
From:http://tw.wingwit.com/Article/program/Oracle/201311/18971.html