$ 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