Could not obtain the localhost address...解决方法
2016-12-23 19:31
645 查看
启动Weblogic报错:
<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:40)
at
weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at
weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105)
at
weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
at
weblogic.server.channels.ChannelService.start(ChannelService.java:197)
Truncated.
see log file for complete stacktrace
java.net.UnknownHostException: bogon: bogon
at
java.net.InetAddress.getLocalHost(InetAddress.java:1354)
at
weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
at
weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at
weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105)
at
weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
Truncated.
see log file for complete stacktrace
>
解决方法:
修改hosts文件
$:vi /etc/hosts
#添加 IP hostname ($:hostname 查询)
127.0.0.1 localhost.localdomain
localhost
127.0.0.1 localhost6.localdomain6
localhost6
127.0.0.1 bogon
#这里就是我添加的,我的主机名就是bogon
<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:40)
at
weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at
weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105)
at
weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
at
weblogic.server.channels.ChannelService.start(ChannelService.java:197)
Truncated.
see log file for complete stacktrace
java.net.UnknownHostException: bogon: bogon
at
java.net.InetAddress.getLocalHost(InetAddress.java:1354)
at
weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
at
weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at
weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105)
at
weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
Truncated.
see log file for complete stacktrace
>
解决方法:
修改hosts文件
$:vi /etc/hosts
#添加 IP hostname ($:hostname 查询)
127.0.0.1 localhost.localdomain
localhost
127.0.0.1 localhost6.localdomain6
localhost6
127.0.0.1 bogon
#这里就是我添加的,我的主机名就是bogon
相关文章推荐
- weblogic启动失败:Could not obtain the localhost address 解决办法
- weblogic启动失败:Could not obtain the localhost address 解决办法
- weblogic启动失败:Could not obtain the localhost address 解决办法
- 改主机名后启weblogic失败,Could not obtain the localhost address. The most likely cause is an error in the ne
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- IP address of localhost could not be determined 解决方法
- [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法