ITPub博客

首页 > Linux操作系统 > Linux操作系统 > TNS-12537: TNS:connection closed

TNS-12537: TNS:connection closed

原创 Linux操作系统 作者:dbyangyong 时间:2011-04-23 14:28:58 0 删除 编辑

环境: RedHat 4 + oracle10g 10.2.0.5.0

安装过程报错,见图片;

$ lsnrctl start                                                          
                                                                         
LSNRCTL for Linux: Version 10.2.0.5.0 - Production on 23-APR-2011 04:11:54
                                                                         
Copyright (c) 1991, 2010, Oracle.  All rights reserved.                  
                                                                         
Starting /u01/oracle/app/product/10.2/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/host文件,原先是把127.0.0.1 localhsot.domain localhost注掉了,去掉注释就OK了。

最后内容如下:

127.0.0.1 localhost.domain localhost

192.168.177.128 db

还有就是更改了/etc/sysconfig/network文件内容如下

NETWORKING=yes

HOSTNAME=db

 

oracle_install_warning.jpg

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24274429/viewspace-693252/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-03-06

  • 博文量
    8
  • 访问量
    22204