DNS主機關閉時造成Linux主機上的Oracle資料庫異常,其他主機無法順利存取該Oracle資料庫,而且同一時間有多台主機(Linux+Oracle)有相同狀況。

 

Oracle錯誤訊息:TNS-12537ORA-609

 

/etc/resolv.conf

參考文章:http://blog.retailsolution.cn/archives/3502

Hi again, this was Linux DNS problem and it solved by removing /etc/resolv.conf file. Just wanted for future readers of the thread to know.

 

 

將resolv.conf內的[nameserver]設定註解掉[#nameserver

若擔心未設定DNS會有異常,可以設定serach xxx.xxx(Domain name)

(參考文章:http://www.weithenn.org/2009/04/etc-resolv-conf.html)

或者於/etc/host下設定IPHostname的對應。

 

 

/etc/host

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1         localhost.localdomain localhost

::1            localhost6.localdomain6 localhost6

XX.XX.XX.XX     XXXX

XX.XX.XX.XX     XXXX

XX.XX.XX.XX     XXXX

arrow
arrow
    全站熱搜

    Nathan 發表在 痞客邦 留言(0) 人氣()