Created
March 3, 2011 00:00
-
-
Save kruppel/852043 to your computer and use it in GitHub Desktop.
nodebox fail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodebox kurt$ vagrant up[default] Provisioning enabled with chef_solo... | |
[default] Importing base box 'lucid32'... | |
[default] Matching MAC address for NAT networking... | |
[default] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.0.2 | |
VirtualBox Version: 4.0.4 | |
[default] Running any VM customizations... | |
[default] Clearing any previously set forwarded ports... | |
[default] Forwarding ports... | |
[default] -- ssh: 22 => 2222 (adapter 1) | |
[default] -- web: 80 => 8000 (adapter 1) | |
[default] Creating shared folders metadata... | |
[default] Booting VM... | |
[default] Waiting for VM to boot. This can take a few minutes. | |
[default] VM booted and ready for use! | |
[default] Mounting shared folders... | |
[default] -- v-root: /vagrant | |
[default] -- nodebox-example: /var/www/nodebox-example | |
[default] -- v-csc-0: /tmp/vagrant-chef/cookbooks-0 | |
[default] -- v-csc-1: /tmp/vagrant-chef/cookbooks-1 | |
[default] Running provisioner: Vagrant::Provisioners::ChefSolo... | |
[default] Generating chef JSON and uploading... | |
[default] Running chef-solo... | |
[default] [Wed, 02 Mar 2011 15:50:18 -0800] INFO: Setting the run_list to ["recipe[nodebox-production]"] from JSON | |
[Wed, 02 Mar 2011 15:50:18 -0800] INFO: Starting Chef Run (Version 0.9.12) | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:50:24 -0800] INFO: Ran execute[update apt] successfully | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:50:24 -0800] INFO: Installing package[curl] version 7.19.7-1ubuntu1 | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:50:30 -0800] INFO: Installing package[git-core] version 1:1.7.0.4-1ubuntu0.2 | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:50:48 -0800] INFO: Installing package[monit] version 1:5.0.3-3 | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:50:53 -0800] INFO: Installing package[nginx] version 0.7.65-1ubuntu2 | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:50:59 -0800] INFO: Setting owner to 33 for directory[/var/log/nginx] | |
[Wed, 02 Mar 2011 15:51:00 -0800] INFO: Writing updated content for template[/usr/sbin/nxensite] to /usr/sbin/nxensite | |
[Wed, 02 Mar 2011 15:51:00 -0800] INFO: Writing updated content for template[/usr/sbin/nxdissite] to /usr/sbin/nxdissite | |
[Wed, 02 Mar 2011 15:51:00 -0800] INFO: Writing updated content for template[nginx.conf] to /etc/nginx/nginx.conf | |
[Wed, 02 Mar 2011 15:51:00 -0800] INFO: Backing up template[nginx.conf] to /var/chef/backup/etc/nginx/nginx.conf.chef-20110302155100 | |
[Wed, 02 Mar 2011 15:51:00 -0800] INFO: Writing updated content for template[/etc/nginx/sites-available/default] to /etc/nginx/sites-available/default | |
[Wed, 02 Mar 2011 15:51:00 -0800] INFO: Backing up template[/etc/nginx/sites-available/default] to /var/chef/backup/etc/nginx/sites-available/default.chef-20110302155100 | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:51:00 -0800] INFO: Started service service[nginx] successfully | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:51:01 -0800] INFO: Installing package[binutils-doc] version 2.20.1-3ubuntu7 | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:51:07 -0800] INFO: Installing package[autoconf] version 2.65-3ubuntu1 | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:51:18 -0800] INFO: Installing package[flex] version 2.5.35-9 | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:51:24 -0800] INFO: Installing package[bison] version 1:2.4.1.dfsg-3 | |
: stdout | |
[default] [Wed, 02 Mar 2011 15:51:30 -0800] INFO: Installing package[libssl-dev] version 0.9.8k-7ubuntu8.6 | |
: stdout | |
[default] /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command/unix.rb:119: command not found: /usr/local/bin/node -v | |
: stderr | |
[default] [Wed, 02 Mar 2011 15:56:41 -0800] INFO: Ran bash[install nodejs from source] successfully | |
: stdout | |
[default] /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures': stderr | |
[default] : : stderr | |
[default] "bash" "/tmp/chef-script20110302-1318-utjgie-0" returned 2, expected 0: stderr | |
[default] (: stderr | |
[default] Chef::Exceptions::Exec: stderr | |
[default] ) | |
: stderr | |
[default] fromm /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:131:in `run_command' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8k/gems/chef-0.9.12/bin/../lib/chef/provider/execute.rb:49:in `action_run' | |
: stderr | |
[default] from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chefef/provider/script.rb:33:in `action_run' | |
: stderr | |
[default] from /usr/usrlib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in `send' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resourcece.rb:395:in `run_action' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:53:in `run_action' | |
from /usr/lib/ruby/gems/gems1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `converge' | |
from /fromusr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `each' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runnerer.rb:89:in `converge' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/binn/../lib/chef/resource_collection.rb:94 | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.chef12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/resource_collectionstepable_iterator.rb:116:in `call_iterator_block' | |
from /usr/lib/ruby/gemsems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../binlib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
fromm /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
from /usr/lib/ruby/rubygems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../binlib/chef/runner.rb:84:in `converge' | |
from /usr/lib/ruby/gems/1.8/gems/convergehef-0.9.12/bin/../lib/chef/client.rb:268:in `converge' | |
from /usr/lib/rbuby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:158:in `run' | |
fromrom /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:190:in `run_application' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0800.9.12/bin/../lib/chef/application/solo.rb:181:in `loop' | |
from /usr/lib/libruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `run_application' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../libib/chef/application.rb:62:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/chefef-0.9.12/bin/chef-solo:25 | |
from /usr/bin/chef-solo:19:in `load' | |
from /usr/bin/chef-solo:19 | |
: stderr | |
[default] [Wed, 02 Mar 2011 15:56:42 -0800] ERROR: bash[install npm - package manager for node] (/tmp/vagrant-chef/cookbooks-0/nodejs/recipes/npm.rb:25:in `from_file') had an error: | |
"bash" "/tmp/chef-script20110302-1318-utjgie-0" returned 2, expected 0 | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:184:in `handle_command_failures' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:131:in `run_command' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/execute.rb:49:in `action_run' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/script.rb:33:in `action_run' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in `send' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in `run_action' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:53:in `run_action' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `converge' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `each' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in `converge' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:94 | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:84:in `converge' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:268:in `converge' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:158:in `run' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:190:in `run_application' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `loop' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application/solo.rb:181:in `run_application' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/application.rb:62:in `run' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/chef-solo:25 | |
/usr/bin/chef-solo:19:in `load' | |
/usr/bin/chef-solo:19 | |
[Wed, 02 Mar 2011 15:56:42 -0800] ERROR: Running exception handlers | |
[Wed, 02 Mar 2011 15:56:42 -0800] ERROR: Exception handlers complete | |
: stdout | |
[default] 'unknown': unknown terminal type. | |
: stderr | |
The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
cd /tmp/vagrant-chef | |
chef-solo -c solo.rb -j dna.json | |
The output of the command prior to failing is outputted below: | |
[no output] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment