安装好was之后,启动./startManager.sh时报异常:
[4/17/13 3:52:16:361 PDT] 00000000 LogAdapter E DCSV9403E: Received an illegal configuration argument. Parameter MulticastInterface, value: 127.0.1.1. Exception is java.lang.Exception: Network Interface 127.0.1.1 was not found in local machine network interface list. Make sure that the NetworkInterface property is properly configured!
解决方法,修改/etc/hosts
修改前:
127.0.0.1 localhost
127.0.1.1 ubuntu
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
修改后
127.0.0.1 ubuntu localhost.localdomain localhost
127.0.1.1 ubuntu
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters