在 Linux 下安装 Oracle 后,一切运行正常。
可是第二天重启 Linux 后, Oracle 的监听器怎么都起不来。错误信息是:TNS-12537: TNS:connection closed
TNS-12560: TNSrotocol adapter error
  TNS-00507: Connection closed
   Linux Error: 29: Illegal seek在网上找不到解决方法。
listener.ora 中的配置是:
########################################
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    )
  )ADR_BASE_LISTENER = /home/oracle_11/app
###########################################/etc/hosts 的信息是:
###########################################
127.0.0.1                localhost.localdomain localhost
::1                localhost6.localdomain6 localhost6
###########################################

解决方案 »

  1.   

    将localhost换成数据库服务器的ip地址试试看吧!
      

  2.   


    是的~~~任何东西没有改过~~~
    以前也出现过这样的情况,但是重新启动 Linux 后(同样是没有修改任何东西)又可以启动监听器了,但是,这此重启 Linux 也不行了
      

  3.   

    TNS-12537: TNS:connection closed 
    Cause: "End of file" condition has been reached; partner has disconnected.
    Action: None needed; this is an information message
    TNS-12560: TNS:protocol adapter error 
    Cause: A generic protocol adapter error occurred.
    Action: Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors. For further details, turn on tracing and reexecute the operation. Turn off tracing when the operation is complete
    TNS-00507: Connection closed 
    Cause: Normal "end of file" condition has been reached; partner has disconnected.
    Action: None needed; this is an information message.
      

  4.   

    #lsnrctl 重新配置一下监听器。一般的hosts文件里内容如下:
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    192.168.0.35 orcldemo。
    其实在windows里也时常会出现,反复都想让你把电脑砸掉,监听器好好弄一下。