resin启动不成功
resin启动只有一个进程,但显示启动正常:
Resin/4.0.35 launching watchdog at 127.0.0.1:28084
Resin/4.0.35 started -server 'default' with watchdog at 127.0.0.1:28084
通过127.0.0.1:28084不能访问。
查看日志:
tail /cztv/apps/resin/log/jvm-default.log
Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException:xxx-02: xxx-02: Name or service not known
解决办法:
vim /etc/hosts
添加xxx-02的主机绑定即可。