一句话搞定TNS-12537、TNS-12560、TNS-00507、Linux Error:29 错误组合

  针对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,欢迎高手来指点!

你可能感兴趣的:(oracle,listener,10g,TNS-12560,TNS-12537,TNS-00507)