Contents ...
udn網路城邦
修改hosts文件導致監聽器無法啟動
2015/12/09 13:00
瀏覽244
迴響0
推薦0
引用0
今天在編輯/etc/hosts文件的時候不小心將127.0.0.1 localhost.localdomain localhost該行去掉了,後來啟動監聽器的時候報如下錯誤:
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
最後找了下官方文檔的說明如下:
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
The information in this document applies to:
Oracle Net Services - Version: 10.1.0.3
This problem can occur on any platform.
Symptoms
The listener fails to start with the following errors:
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
Generic to Unix platforms.
Cause
Wrong syntax in hosts file and also due to the the tnslsnr process was enhanced in
10.1.0.3 to support FAN(Fast Application Notification) via
ONS (Oracle Notification Services). This new code opens a socket open on localhost. Therefore
"localhost" should be defined on the system.
This new code opens a socket open on localhost. Therefore "localhost" should be defined on the
system.
Fix
Change /etc/hosts file to include
127.0.0.1 localhost.localdomain localhost

最後將標紅色的行加入到hosts文件,問題解決.
全站分類:知識學習 科學百科
自訂分類:不分類
上一則: windows下python的C擴展
下一則: CISCO路由之排除路由故障

限會員,要發表迴響,請先登入