问题:

 
  
  1. [oracle@tony admin]$ lsnrctl start 
  2.  
  3. LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 26-OCT-2011 01:52:42 
  4.  
  5. Copyright (c) 1991, 2005, Oracle.  All rights reserved. 
  6.  
  7. Starting /home/oracle/OraBase/OraHome1/bin/tnslsnr: please wait... 
  8.  
  9. TNS-12537: TNS:connection closed 
  10.  TNS-12560: TNS:protocol adapter error 
  11.   TNS-00507: Connection closed 
  12.    Linux Error: 29: Illegal seek 

原因:

模拟IP V6环境,把网络搞糟了

 
  
  1. [root@tony OraHome1]# vi /etc/hosts 
  2.  
  3. # Do not remove the following line, or various programs 
  4. # that require network functionality will fail. 
  5. #127.0.0.1        localhost.localdomain localhost 
  6. 127.0.0.1 localhost.localdomain localhost 
  7. 10.224.194.241 tony.webex.com tony 

 

 
  
  1. [root@tony admin]# vi listener.ora  
  2.  
  3. # listener.ora Network Configuration File: /home/oracle/OraBase/OraHome1/network/admin/listener.ora 
  4. # Generated by Oracle configuration tools. 
  5.  
  6. SID_LIST_LISTENER = 
  7.   (SID_LIST = 
  8.     (SID_DESC = 
  9.       (SID_NAME = PLSExtProc
  10.       (ORACLE_HOME = /home/oracle/OraBase/OraHome1) 
  11.       (PROGRAM = extproc
  12.     ) 
  13.   ) 
  14.  
  15. LISTENER = 
  16.   (DESCRIPTION_LIST = 
  17.     (DESCRIPTION = 
  18.       (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) 
  19.       (ADDRESS = (PROTOCOL = TCP)(HOST = tony.webex.com)(PORT = 1521)) 
  20.     ) 
  21.   ) 

解决:

删除虚拟机多余的网卡,重装oracle数据库。