Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hosts file has bad address due to missing new line #6

Open
dustinvanbuskirk opened this issue Dec 13, 2016 · 0 comments
Open

hosts file has bad address due to missing new line #6

dustinvanbuskirk opened this issue Dec 13, 2016 · 0 comments

Comments

@dustinvanbuskirk
Copy link

the last entry in /etc/hosts has no newline.

127.0.0.1 localhost
127.0.0.1 lb
172.18.0.2 db

This resulted in a bad address returned from ping and unknown host from jdbc connectors.

I found a workaround by adding a space character after my hostname: entry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant