[转帖]一句话搞定TNS-12537、TNS-12560、TNS-00507、Linux Error:29 错误组合_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
2
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 5265 | 回复: 1   主题: [转帖]一句话搞定TNS-12537、TNS-12560、TNS-00507、Linux Error:29 错误组合        上一篇   下一篇 
concat123
注册用户
等级:列兵
经验:82
发帖:1
精华:0
注册:2016-9-24
状态:离线
发送短消息息给concat123 加好友    发送短消息息给concat123 发消息
发表于: IP:您无权察看 2019-9-20 11:02:16 | [全部帖] [楼主帖] 楼主

针对Oracle 10g启动监听器时出现的TNS-12537、TNS-12560、TNS-00507、Linux Error:29 错误组合,在Trouble Shooting的时候不要单独排查某个报错。举个例子,启动我的监听~

[oracle@linux_19 ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 14-AUG-2009 13:46:11
Copyright (c) 1991, 2005, Oracle.    All rights reserved.
Starting /oracle/product/10.2.0/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek


  这个时候vi /etc/hosts,查看hosts文件。

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1                             linux_19.xiangyong.com


  在127.0.0.1对应的主机名后面添加一个“localhost”就可以了!这么做的具体原因不详,摸索ing,欢迎高手来指点!




赞(0)    操作        顶端 
联动大白
注册用户
等级:列兵
经验:91
发帖:0
精华:0
注册:2015-5-27
状态:离线
发送短消息息给联动大白 加好友    发送短消息息给联动大白 发消息
发表于: IP:您无权察看 2019-12-9 0:30:00 | [全部帖] [楼主帖] 2  楼

为了方便大家阅读,我对文章中错误号来解释一下吧!

Error Id: TNS-12560

Title: TNS:protocol adapter error

Description:

TNS:protocol adapter error

Action:

Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors. For further details, turn on tracing and reexecute the operation. Turn off tracing when the operation is complete.

Cause:

A generic protocol adapter error occurred.


Error Id: TNS-12537

Title: TNS:connection closed

Description:

TNS:connection closed

Action:

None needed; this is an information message.

Cause:

"End of file" condition has been reached; partner has disconnected.


Error Id: TNS-00507

Title: Connection closed

Description:

Connection closed

Action:

None needed; this is an information message.

Cause:

Normal "end of file" condition has been reached; partner has disconnected.


也许你已明白,但对一个人有用也是我存在的理由!^_^ By:持之以恒的大白

-- 来自: 北京联动北方科技有限公司



赞(0)    操作        顶端 
总帖数
2
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论