ava.net.MalformedURLException: Local host name unknown: java.net.UnknownHostExce
ava.net.MalformedURLException: Local host name unknown: java.net.UnknownHostExce
文章分类:Java编程
在Linux下安装完resin后,每次启动都出现如下错误:
[11:06:45.617]{watchdog-}WatchdogProcess[Watchdog[],7]startingResin
Error:Exceptionthrownbytheagent:java.net.MalformedURLException:Localhostnameunknown:java.net.UnknownHostException:bogon:bogon
Jul6,201011:06:46AMcom.caucho.boot.WatchdogProcessrunInstance
WARNING:WatchdogProcess[Watchdog[],7]watchdogsockettimedout
原因是/etc/hosts文件里没有主机名为:bogon的,解决方法就是在hosts文件中加入bogon,修改后的hosts的文件是:
#Donotremovethefollowingline,orvariousprograms
#thatrequirenetworkfunctionalitywillfail.
127.0.0.1bogonlgxzyweb104.localdomainlocalhost
::1localhost6.localdomain6localhost6
相关推荐
GQ00 2020-01-14
wannagonna 2020-01-10
FruitDrop 2015-06-08
llystar 2019-03-25
hengxie00 2018-03-01
SHN0 2014-11-16
菜鸟上路CCLinux 2014-05-09
YaoGUET 2013-04-29
silenter00 2011-11-13
陈伟堂 2011-06-17
ningningmingming 2011-05-18
Wenjing 2018-02-22