<Jan 15, 2014 10:41:13 PM CST> <Notice> <Log Management> <BEA-170019> <The server log file /opt/weblogic/Oracle/Middleware/user_projects/domains/lct.com/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.> 
<Jan 15, 2014 10:41:25 PM CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
 at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
 at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:33)
 at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
 at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:61)
 at weblogic.server.channels.ChannelService.start(ChannelService.java:207)
 Truncated. see log file for complete stacktrace
Caused By: java.net.UnknownHostException: wls: wls
 at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
 at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:36)
 at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:33)
 at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:154)
 at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:62)
 Truncated. see log file for complete stacktrace

 

 

安装的时候指定的监控所有的地址,需要修改/etc/hosts 添加主机的本地解析。如果安装的时候选定监听ip地址,估计就不会报这个错误了。