ssh - "nodename nor servname provided" when trying to start a mesos-slave -


i following simple guide on installing mesos locally https://mesosphere.com/2014/07/07/installing-mesos-on-your-mac-with-homebrew/

i able start mesos master , able see master's console fine @ localhost:5050. when tried start new slave using sudo /usr/local/sbin/mesos-slave --master=127.0.0.1:5050 , gave me

warning: logging before initgooglelogging() written stderr f0328 16:14:45.329051 2041414416 process.cpp:889] nodename nor servname provided, or not known * check failure stack trace: *

any appreciated, thanks

this can happen if working on framework , attempting connect mesos master. mesos attempting resolve computer's name via dns , isn't finding entry. can happen if you've changed mac's hostname post setup ( did, , had same error ).

to fix, run hostname -f, will give value of os/x thinks it's name is. ensure you've got 127.0.0.1 value_of_hostname_-f in /etc/hosts file.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -