您的位置:首页 > 数据库 > Oracle

linux网管笔记(28)安装oracle及command not found 解决方法-cndes的日志

2011-05-23 23:37 941 查看
<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地址,估计就不会报这个错误了。
本文出自 “骅骝向北越鸟归南” 博客,请务必保留此出处http://848436.blog.51cto.com/838436/1351915
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: