下午有个测试环境测试人员反馈oracle监听起不来,一启动就报错,还生成了core文件。如下:

[oracle@localhost ~]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 03-SEP-2018 17:15:37

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

Starting /home/oracle/product/11.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

经查,有下列解决方法:

重新链接oracle如下:

[oracle:test]/bin$ cd /test/oracle/11.2.0.4/bin
[oracle:test]/bin$ ./relink all

未解决。http://tazdba.blogspot.com/2015/07/tns-12537tns-12560tns-00507-solaris.html

/etc/hosts中没有127.0.0.1 hostname条目,增加后,仍然未解决。这一点很多帖子都提到。

sqlnet.ora中添加tcp.validnode_checking=no,仍未解决。http://www.dba-oracle.com/t_linux_error_29_illegal_seek.htm(顺便说下,这个咨询公司最烂了,很早的时候觉得不错,后面觉得太垃圾了,除了抄官方文档,95%的ctrl+c/ctrl+p)。

也有提及将设置LD_BIND_NOW=1,仍未解决。https://stackoverflow.com/questions/15807077/set-ld-bind-now-variable-to-solve-tns-linux-error-29-illegal-seek-error

将listener.ora中的localhost更改为ip或者127.0.0.1,问题解决。但是alert.log中出现一个新的错误:

Mon Sep 03 18:48:56 2018
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x0] [PC:0x2F32692, nttaddr2bnd()+2158] [flags: 0x0, count: 1]
DDE: Problem Key 'ORA 7445 [nttaddr2bnd()+2158]' was completely flood controlled (0x6)
Further messages for this problem key will be suppressed for up to 10 minutes
Mon Sep 03 18:49:28 2018
WARNING: Oracle executable binary mismatch detected.
Binary of new process does not match binary which started instance
issue alter system set "_disable_image_check" = true to disable these messages --这是因为重新链接oracle可执行程序的原因

更改主机名为test-xxx

sqlplus "/as sysdba"

shutdown abort

startup

最后一个错误参考http://blog.itpub.net/18904345/viewspace-1317678/解决。

TNS-12537,TNS-12560,TNS-00507 Linux Error: 29: Illegal seek解决的更多相关文章

  1. lsnrctl start错误Linux Error: 29: Illegal seek (翻译:非法谋取)

    现在,想不起来为什么ORACLE的监听,怎么就突然无法起来了呢. 好吧,问题反正就是发生了. lsnrctl start 遇到如下错误, LSNRCTL for Linux: Version 10.2 ...

  2. 启动监听报错:TNS-12537: TNS:connection closed TNS-12560: TNS:protocol adapter error TNS-00507: Connection closed Linux Error: 29: Illegal seek

    启动监听程序报错: 说明:在rhel5.8上安装完成oracle11g数据库后,使用netca创建完监听,启动监听时报错.还未使用dbca创建实例. [oracle@rusky-oracle11g ~ ...

  3. lsnrctl启动报错,Linux Error: 29: Illegal seek

    [oracle@phydb admin]$ lsnrctl startLSNRCTL for Linux: Version 11.2.0.1.0 - Production on 15-SEP-2014 ...

  4. TNS-12547 Linux Error: 104: Connection reset by pe (转载)

    TNS-12547 Linux Error: 104: Connection reset by peer 解决过程参考:http://blog.chinaunix.net/u/7121/showart ...

  5. Linux error numbers

    Linux error numbers, straight from the horse's mouth. #define EPERM 1 /* Operation not permitted */ ...

  6. TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Linux Error:

    今天是2014-06-17.遇到一个很奇怪的问题,可能之前測试改动监听的原因,导致监听启动后自己主动关闭,特此记录一下整个处理过程, 监听配置文件信息例如以下: [oracle@dg1 admin]$ ...

  7. Oracle用imp导入dmp 提示遇到 ORACLE 错误 12560 TNS: 协议适配器错误 解决方法

    用imp命令导入dmp文件时提示以下错误: IMP-00058: 遇到 ORACLE 错误 12560 : ORA-12560: TNS: 协议适配器错误 : IMP-00000: 未成功终止导入 : ...

  8. TNS-12541: TNS:no listener , TNS-12542: TNS:address already in use

    查看数据库监听状态不对$ lsnrctl status LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Production on ...

  9. 【故障•监听】TNS-12518、TNS-00517和 Linux Error:32:Broken pipe

    [故障|监听]TNS-12518.TNS-00517和 Linux Error:32:Broken pipe 1.1  BLOG文档结构图 1.2  前言部分 1.2.1  导读和注意事项 各位技术爱 ...

随机推荐

  1. 超全PHP学习资源整理:入门到进阶系列

    PHP是少数几门在语言层面饱受诟病,但在实际开发和应用上却又让人无法撒手的语言之一.就好比路边摊小吃,一遍骂人家不卫生,一遍却又说:真香.所谓接地气,不外如此,大道理不说,PHP光是轮子多.市场占有率 ...

  2. win10系统180天试用到期需要激活

    激活时激活不了,需要先修复下:4-Win10yjjh_XiTongZhiJia 链接: https://pan.baidu.com/s/1M_aNu2bqtEVn3l8FXsa91A 提取码: 784 ...

  3. [Java] Create File with java.io.File class

    Create a file with some content in some specific location. The reference is here. /** * Write fileCo ...

  4. response的contentType的类型值Response.ContentType

    MIME类型的含义 MIME类型就是设定某种扩展名的文件用一种应用程序来打开的方式类型,当该扩展名文件被访问的时候,浏览器会自动使用指定应用程序来打开.多用于指定一些客户端自定义的文件名,以及一些媒体 ...

  5. python regularexpress

    这个正则表达式,我还真没有接触过,在python首次学习 //test.py 1 import re 2 3 print (re.match('www', 'www.myweb.com').span( ...

  6. 40.SEO----前端该懂的seo技巧

    SEO要点:1.语义化html标签,用合适的标签嵌套合适的内容,不可过分依赖div,对浏览器更友善就能更容易被抓取.2.重要的内容html代码放在前面,放在左边.搜索引擎爬虫是从左往右,从上到下进行抓 ...

  7. scala mysql jdbc oper

    package egsql import java.util.Properties import com.sun.org.apache.xalan.internal.xsltc.compiler.ut ...

  8. Uva297 Quadtrees【递归建四分树】【例题6-11】

    白书 例题6-11 用四分树来表示一个黑白图像:最大的图为根,然后按照图中的方式编号,从左到右对应4个子结点.如果某子结点对应的区域全黑或者全白,则直接用一个黑结点或者白结点表示:如果既有黑又有白,则 ...

  9. MyEclipse10中文乱码

    1 进入window->preferences general->content types,可以设置Text对应的default encoding值为UTF-8或为空,然后点击updat ...

  10. DataSet 读取xml 报错有非法字符

    private void Bind() { string strLogPath = ConfigurationSettings.AppSettings["LOG_PATH"].To ...