我在 vm 上进行了演练,并成功连接到它。我在断电后重新启动了虚拟机,现在当我尝试在嵌入式模式下开始钻取时 - 我收到以下消息
Error: Failure in starting embedded Drillbit: java.net.UnknownHostException: xxxx.localdomain: xxxx.localdomain: Name or service not known (state=,code=0)
我需要重新启动依赖项吗?
我在 vm 上进行了演练,并成功连接到它。我在断电后重新启动了虚拟机,现在当我尝试在嵌入式模式下开始钻取时 - 我收到以下消息
Error: Failure in starting embedded Drillbit: java.net.UnknownHostException: xxxx.localdomain: xxxx.localdomain: Name or service not known (state=,code=0)
我需要重新启动依赖项吗?
请在 /etc/hosts 中添加一个条目,例如“127.0.0.1 yourhostname”,这将解决此问题
也可以在 /etc/hosts 中添加类似:
# keeping in mind that 192.168.0.10 is the ip of your server
127.0.0.1 localhost
192.168.0.10 your-server-01
请使用 inet ip 验证 /etc/hosts 是否具有该域的条目。希望这能解决您的问题。