ITPub博客

首页 > Linux操作系统 > Linux操作系统 > oracle 10g localhost should be defined in hosts

oracle 10g localhost should be defined in hosts

原创 Linux操作系统 作者:ad007520 时间:2010-10-18 17:30:41 0 删除 编辑

TNS-12537: TNS:connection closed
 TNS-12560: TNS:protocol adapter error
  TNS-00507: Connection closed
or
TNS-12547: TNS:lost contact
 TNS-12560: TNS:protocol adapter error
  TNS-00517: Lost contact
   Linux Error: 104: Connection reset by peer


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

================================================

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21993926/viewspace-676209/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: redhat dns搭建记录
请登录后发表评论 登录
全部评论

注册时间:2009-06-28

  • 博文量
    137
  • 访问量
    287978