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

Posted 小麦苗DB宝

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了lsnrctl启动报错,Linux Error: 29: Illegal seek相关的知识,希望对你有一定的参考价值。


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

lsnrctl启动报错,信息如下

[oracle@sap admin]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 15-SEP-2014 02:33:08

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

Starting /home/oracle/app/oracle/product/11.2.0/dbhome_1/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@sap admin]$ /home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr

Unable to resolve address for localhost:6150

ONS runtime exiting





解决方法,保证localhost这行存在,127.0.0.1 localhost.localdomain localhost

[root@sap ~]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

::1        localhost6.localdomain6 localhost6

10.1.1.21    sap   

[root@sap ~]#



以上是关于lsnrctl启动报错,Linux Error: 29: Illegal seek的主要内容,如果未能解决你的问题,请参考以下文章