之前一直是可以用的,昨天把主机名字换了一个,现在启动不了监听了!呜呜~改主机名是
vim /etc/sysconfig/network
将里面的HOSTNAME改成aa了listener.ora里面的内容是这样的SID_LIST_E4CS =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = E4CS)
      (ORACLE_HOME = /oracle/app/product/10.2.0)
      (SID_NAME = E4CS)
    )
  )E4CS =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (LOAD_BALANCE=on)
        (FAILOVER=on)
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.29.51)(PORT = 1521))
      )
    )
  )
oracle启动监听时,报如下的错误:
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 11-AUG-2010 10:30:12Copyright (c) 1991, 2007, Oracle.  All rights reserved.Starting /oracle/app/product/10.2.0/bin/tnslsnr: please wait...TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /oracle/app/product/10.2.0/network/admin/listener.ora
Log messages written to /oracle/app/product/10.2.0/network/log/listener.log
Error listening on: (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12545: Connect failed because target host or object does not exist
 TNS-12560: TNS:protocol adapter error
  TNS-00515: Connect failed because target host or object does not exist
Listener failed to start. See the error message(s) above...
HOST的IP没有变化啊,为什么说找不到了呢~