Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6682928
  • 博文数量: 1005
  • 博客积分: 8199
  • 博客等级: 中将
  • 技术积分: 13071
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-25 20:19
个人简介

脚踏实地、勇往直前!

文章分类

全部博文(1005)

文章存档

2020年(2)

2019年(93)

2018年(208)

2017年(81)

2016年(49)

2015年(50)

2014年(170)

2013年(52)

2012年(177)

2011年(93)

2010年(30)

分类: Oracle

2012-02-18 22:43:50

环境:
OS:Red Hat Linux As5
DB:10.2.0.1
 
今天在编辑/etc/hosts文件的时候不小心将127.0.0.1 localhost.localdomain localhost该行去掉了,后来启动监听器的时候报如下错误:
TNS-12537: TNS:connection closed
 TNS-12560: TNS:protocol adapter error
  TNS-00507: Connection closed
   Linux Error: 29: Illegal seek

最后找了下官方文档的说明如下:
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
 
最后将标红色的行加入到hosts文件,问题解决.
 
-- The End--
阅读(4959) | 评论(2) | 转发(2) |
给主人留下些什么吧!~~

夏冰软件2012-02-22 10:02:17

的确host文件非常的重要

马夹GG2012-02-20 21:47:45

host文件有时候是至关重要的!~