在啟用Oracle listener時,出現了下列的錯誤,
$ lsnrctl start
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
  TNS-00507: Connection closed
   Linux Error: 29: Illegal seek
  
檢查了listener.ora,似乎沒有什麼錯誤,改了幾個參數後,仍然出現錯誤。
檢查了Listener Log File也看不出來什麼訊息,最後在網路上一個外國的論譠,有人提到是hosts設定的問題。
於是到/etc下去看hosts的設定,就是127.0.0.1設定的問題。
把127.0.0.1 test01 test01改回127.0.0.1 localhost.localdomain localhost就正常啟動linstener
可能是listener在啟動時會使用localhost,而不是使用127.0.0.1
arrow
arrow
    全站熱搜

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