Skip to content

Instantly share code, notes, and snippets.

@GraemeF
Created March 26, 2012 18:17
Show Gist options
  • Save GraemeF/2208386 to your computer and use it in GitHub Desktop.
Save GraemeF/2208386 to your computer and use it in GitHub Desktop.
Error starting cassandra in vagrant
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
stdin: is not a tty
[Mon, 26 Mar 2012 11:15:51 -0700] INFO: *** Chef 0.10.2 ***
[Mon, 26 Mar 2012 11:15:52 -0700] INFO: Setting the run_list to ["recipe[cassandra::default]"] from JSON
[Mon, 26 Mar 2012 11:15:52 -0700] INFO: Run List is [recipe[cassandra::default]]
[Mon, 26 Mar 2012 11:15:52 -0700] INFO: Run List expands to [cassandra::default]
[Mon, 26 Mar 2012 11:15:52 -0700] INFO: Starting Chef Run for lucid32
[Mon, 26 Mar 2012 11:15:52 -0700] ERROR: Running exception handlers
[Mon, 26 Mar 2012 11:15:52 -0700] ERROR: Exception handlers complete
[Mon, 26 Mar 2012 11:15:52 -0700] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[Mon, 26 Mar 2012 11:15:52 -0700] FATAL: SyntaxError: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/metachef/libraries/component.rb:106: syntax error, unexpected '=', expecting '|'
define_method(klass.handle) do |name, val=nil, &block|
^
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/metachef/libraries/component.rb:106: Can't assign to nil
define_method(klass.handle) do |name, val=nil, &block|
^
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/metachef/libraries/component.rb:164: syntax error, unexpected kEND, expecting $end
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment