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

现在,想不起来为什么ORACLE的监听,怎么就突然无法起来了呢。

好吧,问题反正就是发生了。

lsnrctl start

遇到如下错误,

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 07-JUN-2011 08:16:19

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

Starting /home/oracle/oracle/product/10.2.0/db_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

解决方法:在/etc/hosts 中添加

127.0.0.1 localhost

问题解决。

另一种解决方法,

在/etc/hosts中添加

127.0.0.1 localhost.localdomain localhost

原文地址:https://www.cnblogs.com/zhangyabin---acm/p/3422453.html