Listener不能启动-TNS;12537,TNS-12560, TNS-00507

提示oracle不能启动。检查listener状态,执行listener start,提示:
  ----------------------
  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
  ----------------------
  发现原来是在/etc/hosts文件中缺少了127.0.0.1 localhost的信息,加上以后,关闭oracle,sap,再重新启动就可以了。
  
  原文如下:http://tolywang.itpub.net/post/48/406624
  Subject: TNS-12537, TNS-12560, TNS-00507 Linux Error: 29: Illegal seek error When Starting the Listener
   Doc ID: Note:294730.1 Type: PROBLEM
   Last Revision Date: 16-JAN-2005 Status: MODERATED
  
  
  This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
  
  
  
  The information in this document applies to:
  Oracle Net Services - Version: 10.1.0.3
  This problem can occur on any platform.
  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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值