Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1037536
  • 博文数量: 159
  • 博客积分: 3063
  • 博客等级: 中校
  • 技术积分: 2703
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-01 01:51
文章分类

全部博文(159)

文章存档

2013年(48)

2012年(111)

分类: Oracle

2012-05-03 01:29:12

$ 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

阅读(10317) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~