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

时间:2021-06-29 12:30:01

[oracle@phydb 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@phydb 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
[root@phydb ~]# cat /etc/hosts 
# Do not remove the following line, or various programs 
# that require network functionality will fail. 
127.0.0.1 localhost
::1        localhost6.localdomain6 localhost6 
10.1.1.21    sap    
[root@sap ~]#