解決Oracle啟動監(jiān)聽時錯誤 一、TNS-12547: TNS-12547: TNS:lost contactTNS-12560: TNS:protocol adapter errorTNS-00517: Lost
解決Oracle啟動監(jiān)聽時錯誤
一、TNS-12547:
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
發(fā)現(xiàn)/etc/hosts中并沒有127.0.0.1 localhost.
修改/etc/hosts,修改后如下
$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
二、TNS-12555:
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
Linux Error: 1: Operation not permitted
解決如下:
# chmod 777 /var/tmp/.oracle
原因分析:Oracle卸載不干凈,導(dǎo)致/var/tmp/.oracle目錄權(quán)限不足,故而報錯。
相關(guān)閱讀:
Oracle之TNS-04415錯誤
Oracle 10g RAC監(jiān)聽報TNS-12545 TNS-12560 TNS-00515
Oracle 11gR2 RAC TNS-12542: TNS:address already in use 故障一例
TORA-12154 和 TNS-03505:無法解析名稱
遭遇TNS-01150: The address of the specified listener name is incorrect
,聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com