首页 > Linux操作系统 > Linux操作系统 > oracle侦听无法启动
操作系统是SUSE9,数据库是Oracle10g
>lsnrctl
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 11-DEC-2007 22:21:03
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> start
Starting /oracle/app/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Log messages written to /oracle/app/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=S-C-ZH-JKDB.site)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Linux Error: 104: Connection reset by peer
解决办法竟然是不能将/etc/hosts文件的127.0.0.1 localhost注释掉或删除。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9893498/viewspace-409/ ,如需转载,请注明出处,否则将追究法律责任。