Skip to content

Instantly share code, notes, and snippets.

@lightcap
Created April 14, 2011 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lightcap/919970 to your computer and use it in GitHub Desktop.
Save lightcap/919970 to your computer and use it in GitHub Desktop.
[Thu, 14 Apr 2011 09:47:42 -0700] INFO: Starting Chef Solo Run
[Thu, 14 Apr 2011 09:47:44 -0700] INFO: {"MANPATH"=>
"/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/share/postgresql-8.3/man:/usr/lib/erlang/man",
"SHELL"=>"/bin/bash",
"SSH_CLIENT"=>"184.73.16.162 35468 22",
"USER"=>"root",
"CONFIG_PROTECT_MASK"=>
"/etc/env.d/java/ /etc/udev/rules.d /etc/fonts/fonts.conf /etc/terminfo /etc/eselect/postgresql /etc/ca-certificates.conf /etc/revdep-rebuild",
"PAGER"=>"/usr/bin/less",
"MAIL"=>"/var/mail/root",
"PATH"=>
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/lib/subversion/bin:/usr/local/ey_resin/bin",
"_"=>"/usr/local/ey_resin/bin/chef-solo",
"PWD"=>"/root",
"JAVA_HOME"=>"/etc/java-config-2/current-system-vm",
"EDITOR"=>"/bin/nano",
"JAVAC"=>"/etc/java-config-2/current-system-vm/bin/javac",
"SHLVL"=>"3",
"HOME"=>"/root",
"JDK_HOME"=>"/etc/java-config-2/current-system-vm",
"LOGNAME"=>"root",
"LESS"=>"-R -M --shift 5",
"CVS_RSH"=>"ssh",
"GCC_SPECS"=>"",
"SSH_CONNECTION"=>"184.73.16.162 35468 10.255.154.178 22",
"CLASSPATH"=>".",
"LESSOPEN"=>"|lesspipe.sh %s",
"INFOPATH"=>
"/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info",
"RUBYOPT"=>""}
[Thu, 14 Apr 2011 09:47:44 -0700] INFO: EBS device being configured
[Thu, 14 Apr 2011 09:47:44 -0700] INFO: Mysql EBS devices being formatted
[Thu, 14 Apr 2011 09:47:44 -0700] INFO: Making monitrc for: memcached
[Thu, 14 Apr 2011 09:47:45 -0700] INFO: Ran execute[ensure-user-switching-works] successfully
[Thu, 14 Apr 2011 09:47:45 -0700] INFO: Ran execute[disassociate-time-from-hardware-clock] successfully
[Thu, 14 Apr 2011 09:47:45 -0700] INFO: remote_file[/etc/conf.d/ntpd] sending run action to execute[ensure-ntpd-is-running] (immediate)
[Thu, 14 Apr 2011 09:47:46 -0700] INFO: Ran execute[ensure-ntpd-is-running] successfully
[Thu, 14 Apr 2011 09:47:48 -0700] INFO: Ran execute[reporting for report_eix_sync] successfully
[Thu, 14 Apr 2011 09:48:34 -0700] INFO: Ran execute[eix-sync] successfully
[Thu, 14 Apr 2011 09:48:34 -0700] INFO: Ran execute[start-backup-inittab] successfully
[Thu, 14 Apr 2011 09:48:34 -0700] INFO: Ran execute[remove-sm-from-inittab] successfully
[Thu, 14 Apr 2011 09:48:34 -0700] INFO: Ran execute[telinit-q] successfully
[Thu, 14 Apr 2011 09:48:34 -0700] INFO: Ran execute[noop] successfully
[Thu, 14 Apr 2011 09:48:34 -0700] INFO: Ran execute[reporting for packages] successfully
[Thu, 14 Apr 2011 09:48:35 -0700] INFO: Ran execute[reporting for each package] successfully
[Thu, 14 Apr 2011 09:48:36 -0700] INFO: Deleting directory[/root/.gem] recursively at /root/.gem
[Thu, 14 Apr 2011 09:48:44 -0700] INFO: Ran execute[reporting for ruby install] successfully
[Thu, 14 Apr 2011 09:48:45 -0700] INFO: Installing package[dev-lang/ruby] version 1.8.7_p334
[Thu, 14 Apr 2011 09:48:54 -0700] INFO: Ran execute[eselect-ruby18-for-ruby] successfully
[Thu, 14 Apr 2011 09:48:54 -0700] INFO: Ran execute[remove-mirror-from-etc-hosts] successfully
[Thu, 14 Apr 2011 09:48:56 -0700] INFO: Ran execute[reporting for rubygems update] successfully
[Thu, 14 Apr 2011 09:49:15 -0700] INFO: Ran bash[update rubygems to >= 1.3.6] successfully
[Thu, 14 Apr 2011 09:49:16 -0700] INFO: Ran execute[reporting for rubygems] successfully
[Thu, 14 Apr 2011 09:49:17 -0700] INFO: Installing gem_package[rmagick] version 2.13.1
[Thu, 14 Apr 2011 09:49:28 -0700] ERROR: gem_package[rmagick] (/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/recipe.rb line 187) had an error:
gem install rmagick -q --no-rdoc --no-ri -v 2.13.1 returned 1, expected 0
---- Begin output of gem install rmagick -q --no-rdoc --no-ri -v 2.13.1 ----
STDOUT: Building native extensions. This could take a while...
STDERR: ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/bin/ruby18 extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for i686-pc-linux-gnu-gcc... yes
checking for Magick-config... yes
checking for ImageMagick version >= 6.4.9... no
Can't install RMagick 2.13.1. You must have ImageMagick 6.4.9 or later.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby18
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/rmagick-2.13.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
---- End output of gem install rmagick -q --no-rdoc --no-ri -v 2.13.1 ----
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/mixin/command.rb:157:in `run_command'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/mixin/command.rb:133:in `chdir'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/mixin/command.rb:133:in `run_command'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/provider/package/rubygems.rb:92:in `install_package'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/provider/package.rb:65:in `action_install'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:87:in `send'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:87:in `converge'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:85:in `each'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:85:in `converge'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/resource_collection.rb:58:in `each'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/resource_collection.rb:57:in `each'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:63:in `converge'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:348:in `converge'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:96:in `run_solo'/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/bin/chef-solo:94/usr/local/ey_resin/ruby/bin/chef-solo:19:in `load'/usr/local/ey_resin/ruby/bin/chef-solo:19
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/mixin/command.rb:157:in `run_command': gem install rmagick -q --no-rdoc --no-ri -v 2.13.1 returned 1, expected 0 (Chef::Exceptions::Exec)
---- Begin output of gem install rmagick -q --no-rdoc --no-ri -v 2.13.1 ----
STDOUT: Building native extensions. This could take a while...
STDERR: ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/bin/ruby18 extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for i686-pc-linux-gnu-gcc... yes
checking for Magick-config... yes
checking for ImageMagick version >= 6.4.9... no
Can't install RMagick 2.13.1. You must have ImageMagick 6.4.9 or later.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby18
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/rmagick-2.13.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
---- End output of gem install rmagick -q --no-rdoc --no-ri -v 2.13.1 ----
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/mixin/command.rb:133:in `chdir'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/mixin/command.rb:133:in `run_command'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/provider/package/rubygems.rb:92:in `install_package'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/provider/package.rb:65:in `action_install'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:87:in `send'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:87:in `converge'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:85:in `each'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:85:in `converge'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/resource_collection.rb:58:in `each'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/resource_collection.rb:57:in `each'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/runner.rb:63:in `converge'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:348:in `converge'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:96:in `run_solo'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/bin/chef-solo:94
from /usr/local/ey_resin/ruby/bin/chef-solo:19:in `load'
from /usr/local/ey_resin/ruby/bin/chef-solo:19
@ivanacostarubio
Copy link

Matt I got here googling after having this same error using EY. This may help: https://gist.github.com/1705975

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment