Hi,
After running a chef command to create a cookbook (‘chef generate cookbook
motd’), I tried to install the berkshelf in order to run convergence.
$ gem install berkshelf
ERROR: While executing gem … (Errno::EHOSTDOWN)
Host is down - sendto(2) for “10.0.1.4” port 53
Why the IP is 10.0.1.4? How can I fix it?
Thanks, Tony
On Friday, February 13, 2015 at 7:19 AM, Anthony Kong wrote:
Hi,
After running a chef command to create a cookbook ('chef generate cookbook motd'), I tried to install the berkshelf in order to run convergence.
$ gem install berkshelf
ERROR: While executing gem ... (Errno::EHOSTDOWN)
Host is down - sendto(2) for "10.0.1.4" port 53
Why the IP is 10.0.1.4? How can I fix it?
Thanks, Tony
Port 53 is DNS and 10.x.x.x is a private network, so it looks like a networking issue with your local network.
BTW, The recommended way to install berkshelf is via ChefDK, which gives you a pre-built dependency solver library. Doing a gem install will install gecode from source which takes a few minutes and needs a fair bit of RAM.
https://downloads.chef.io/chef-dk
--
Daniel DeLeo