0

我在 vm 上进行了演练,并成功连接到它。我在断电后重新启动了虚拟机,现在当我尝试在嵌入式模式下开始钻取时 - 我收到以下消息

  Error: Failure in starting embedded Drillbit: java.net.UnknownHostException: xxxx.localdomain: xxxx.localdomain: Name or service not known (state=,code=0)

我需要重新启动依赖项吗?

4

3 回答 3

0

请在 /etc/hosts 中添加一个条目,例如“127.0.0.1 yourhostname”,这将解决此问题

于 2016-04-22T09:28:37.503 回答
0

也可以在 /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
于 2021-01-27T15:50:59.943 回答
0

请使用 inet ip 验证 /etc/hosts 是否具有该域的条目。希望这能解决您的问题。

于 2016-02-20T04:08:46.953 回答