ORACLE ERROR -----Linux Error: 29: Illegal seek (linux中oracle监听启动报错)

错误:
[oracle@Oora log]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 18-12月-2009 17:22:17
Copyright (c) 1991, 2005, Oracle.  All rights reserved.
Starting /opt/app/oracle/product/10.2.0/db_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@ora log]$ 


解决办法:

1:查看/etc/hosts文件,一定要包含以下语句:
       127.0.0.1 localhost.localdomain localhost

2:保证下面2个文件标红的内容要完全一样

修改listener.ora文件 

默认情况下该文件内容: 
LISTENER =
   (DESCRIPTION_LIST =
      (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST =你的服务器IP地址)(PORT = 1521))
         (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      )
    )
   
    修改tnsnames.ora文件
默认情况下该文件内容
  1. orcl =
     (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =你的服务器IP地址)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )






你可能感兴趣的:(linux+oracle)