修改安裝目錄下的配置文件
比如:F:\app\admin-PC\product\11.2.0\dbhome_1\network\admin\
修改這個目錄下的listener.ora和tnsnames.ora
**************************************************************************************
listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = F:\app\xieliangliang\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:F:\app\admin-PC\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = F:\app\admin-PC\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
)
ADR_BASE_LISTENER = F:\app\admin-PC
*********************************************************************************
tnsnames.ora:
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
======================================================
對比修改標(biāo)紅的部分即可
總結(jié)
以上所述是小編給大家介紹的Oracle數(shù)據(jù)庫新裝之后出現(xiàn)的監(jiān)聽程序無法正常啟動和運(yùn)行(Oracle-12514)問題,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復(fù)大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
您可能感興趣的文章:- 連接Oracle數(shù)據(jù)庫時報(bào)ORA-12541:TNS:無監(jiān)聽程序的圖文解決教程
- 詳解Linux系統(tǒng)中Oracle數(shù)據(jù)庫程序的啟動和關(guān)閉方式
- Linux下為Node.js程序配置MySQL或Oracle數(shù)據(jù)庫的方法
- Oracle數(shù)據(jù)庫及應(yīng)用程序優(yōu)化開發(fā)者網(wǎng)絡(luò)Oracle