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

Error: The following settings don't exist: host_name #50

Open
svendecabooter opened this issue Feb 22, 2014 · 2 comments
Open

Error: The following settings don't exist: host_name #50

svendecabooter opened this issue Feb 22, 2014 · 2 comments

Comments

@svendecabooter
Copy link

Hi,

Just cloned this repository, and created a config.yml for setting up a vagrant instance.
I'm getting the following error though:

$ vagrant up test
Bringing machine 'test' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:

  • The following settings don't exist: host_name

My config.yml:

test:
app_directory: "/Users/svendecabooter/test/webplatform"
type: "php53"
http_port: 9000
memory: 1024
php_memory_limit: "256M"
mysql_port: 9001
php_xdebug: true

When testing this config on an older Git checkout of sneakers, it does work.
Am I missing something?

@Zhann
Copy link
Contributor

Zhann commented Feb 24, 2014

Hi Sven

I can not reproduce this problem. Do you have the latest versions of vagrant (via installer, not the gem) and virtualbox in use?

As it used to be 'hostname' and now it's 'host_name' to set the name of de vm, I'm guessing your vagrant is out of date.

I that's not it: under which checkout did you get it to work?

@Zhann
Copy link
Contributor

Zhann commented Feb 24, 2014

As a side note though (not related to your issue): http_port can not be 9000, as that's already in use. I'll update the code to raise an error when you try to use that port.

If you do get it to work, you'll get nginx bind errors;

STDERR: nginx: [emerg] bind() to 0.0.0.0:9000 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:9000 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:9000 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:9000 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:9000 failed (98: Address already in use)
nginx: [emerg] still could not bind()

EDIT: fixed in #51

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

2 participants