監聽沒法啓動的問題

10g的一臺機器,監聽啓動報以下錯誤:

oracle@olivenan oracle]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-OCT-2007 15:35:07
Copyright (c) 1991, 2005, Oracle.  All rights reserved.
Starting /opt/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production System parameter file is /opt/product/10.2.0/db_1/network/admin/listener.ora Log messages written to /opt/product/10.2.0/db_1/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=olivenan)(PORT=1521))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=olivenan)(PORT=1521))) TNS-12547: TNS:lost contact  TNS-12560: TNS:protocol adapter error   TNS-00517: Lost contact    Linux Error: 104: Connection reset by peer listener.ora沒有問題,最後發現是/etc/hosts中缺乏了127.0.0.1 localhost所致,加上重啓就行了
相關文章
相關標籤/搜索