问题:
- [oracle@tony admin]$ lsnrctl start
- LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 26-OCT-2011 01:52:42
- Copyright (c) 1991, 2005, Oracle. All rights reserved.
- Starting /home/oracle/OraBase/OraHome1/bin/tnslsnr: please wait...
- TNS-12537: TNS:connection closed
- TNS-12560: TNS:protocol adapter error
- TNS-00507: Connection closed
- Linux Error: 29: Illegal seek
原因:
模拟IP V6环境,把网络搞糟了
- [root@tony OraHome1]# vi /etc/hosts
- # Do not remove the following line, or various programs
- # that require network functionality will fail.
- #127.0.0.1 localhost.localdomain localhost
- 127.0.0.1 localhost.localdomain localhost
- 10.224.194.241 tony.webex.com tony
- [root@tony admin]# vi listener.ora
- # listener.ora Network Configuration File: /home/oracle/OraBase/OraHome1/network/admin/listener.ora
- # Generated by Oracle configuration tools.
- SID_LIST_LISTENER =
- (SID_LIST =
- (SID_DESC =
- (SID_NAME = PLSExtProc)
- (ORACLE_HOME = /home/oracle/OraBase/OraHome1)
- (PROGRAM = extproc)
- )
- )
- LISTENER =
- (DESCRIPTION_LIST =
- (DESCRIPTION =
- (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
- (ADDRESS = (PROTOCOL = TCP)(HOST = tony.webex.com)(PORT = 1521))
- )
- )
解决:
删除虚拟机多余的网卡,重装oracle数据库。