You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeing an issue where the compilation of passenger with the following error:
================================================================================
Error executing action run on resource 'rvm_shell[build passenger_nginx_module]'
Mixlib::ShellOut::ShellCommandFailed
script[build passenger_nginx_module](/var/chef/cache/cookbooks/rvm/providers/shell.rb line 75) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20130625-19334-3tfxn9" ----
STDOUT: Using /usr/local/rvm/gems/ruby-2.0.0-p195
Welcome to the Phusion Passenger Nginx module installer, v4.0.5.
This installer will guide you through the entire installation process. It
shouldn't take more than 5 minutes in total.
Here's what you can expect from the installation process:
This installer will compile and install Nginx with Passenger support.
You'll learn how to configure Passenger in Nginx.
You'll learn how to deploy a Ruby on Rails application.
Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.
Press Enter to continue, or Ctrl-C to abort.
Checking for required software...
Checking for GNU C compiler...
Found: yes
Location: /usr/bin/gcc
Checking for GNU C++ compiler...
Found: yes
Location: /usr/bin/g++
Checking for A download tool like 'wget' or 'curl'...
Found: yes
Location: /usr/bin/wget
STDERR: /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:202:in expand_path': non-absolute home (ArgumentError) from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:202:inblock in rvm_paths'
from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:200:in each' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:200:inrvm_paths'
from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info.rb:96:in rvm_paths' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:51:inruby_command'
from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info.rb:96:in ruby_command' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:266:inruby_command'
from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck_specs/ruby.rb:27:in block in load' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:70:ininstance_eval'
from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:70:in initialize' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:62:innew'
from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:62:in find' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:308:inblock in check_all'
from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:307:in each' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:307:incheck_all'
from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/abstract_installer.rb:128:in check_dependencies' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/bin/passenger-install-nginx-module:79:inrun_steps'
from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/abstract_installer.rb:66:in run' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenge r-4.0.5/bin/passenger-install-nginx-module:511:in<top (required)>'
from /usr/local/rvm/gems/ruby-2.0.0-p195/bin/passenger-install-nginx-module:19:in load' from /usr/local/rvm/gems/ruby-2.0.0-p195/bin/passenger-install-nginx-module:19:in
'
from /usr/local/rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in eval' from /usr/local/rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in'
---- End output of "bash" "/tmp/chef-script20130625-19334-3tfxn9" ----
Ran "bash" "/tmp/chef-script20130625-19334-3tfxn9" returned 1
Cookbook Trace:
/var/chef/cache/cookbooks/rvm/providers/shell.rb:98:in script_wrapper' /var/chef/cache/cookbooks/rvm/providers/shell.rb:46:inblock in class_from_file'
Resource Declaration:
In /var/chef/cache/cookbooks/rvm_passenger/recipes/nginx.rb
I am seeing an issue where the compilation of passenger with the following error:
================================================================================
Error executing action
run
on resource 'rvm_shell[build passenger_nginx_module]'Mixlib::ShellOut::ShellCommandFailed
script[build passenger_nginx_module](/var/chef/cache/cookbooks/rvm/providers/shell.rb line 75) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20130625-19334-3tfxn9" ----
STDOUT: Using /usr/local/rvm/gems/ruby-2.0.0-p195
Welcome to the Phusion Passenger Nginx module installer, v4.0.5.
This installer will guide you through the entire installation process. It
shouldn't take more than 5 minutes in total.
Here's what you can expect from the installation process:
This installer will compile and install Nginx with Passenger support.
You'll learn how to configure Passenger in Nginx.
You'll learn how to deploy a Ruby on Rails application.
Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.
Press Enter to continue, or Ctrl-C to abort.
Checking for required software...
Checking for GNU C compiler...
Found: yes
Location: /usr/bin/gcc
Checking for GNU C++ compiler...
Found: yes
Location: /usr/bin/g++
Checking for A download tool like 'wget' or 'curl'...
Found: yes
Location: /usr/bin/wget
STDERR: /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:202:in
'expand_path': non-absolute home (ArgumentError) from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:202:in
block in rvm_paths'from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:200:in
each' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:200:in
rvm_paths'from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info.rb:96:in
rvm_paths' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/ruby.rb:51:in
ruby_command'from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info.rb:96:in
ruby_command' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:266:in
ruby_command'from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck_specs/ruby.rb:27:in
block in load' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:70:in
instance_eval'from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:70:in
initialize' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:62:in
new'from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:62:in
find' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:308:in
block in check_all'from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:307:in
each' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/platform_info/depcheck.rb:307:in
check_all'from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/abstract_installer.rb:128:in
check_dependencies' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/bin/passenger-install-nginx-module:79:in
run_steps'from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.5/lib/phusion_passenger/abstract_installer.rb:66:in
run' from /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenge r-4.0.5/bin/passenger-install-nginx-module:511:in
<top (required)>'from /usr/local/rvm/gems/ruby-2.0.0-p195/bin/passenger-install-nginx-module:19:in
load' from /usr/local/rvm/gems/ruby-2.0.0-p195/bin/passenger-install-nginx-module:19:in
from /usr/local/rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in
eval' from /usr/local/rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in
'---- End output of "bash" "/tmp/chef-script20130625-19334-3tfxn9" ----
Ran "bash" "/tmp/chef-script20130625-19334-3tfxn9" returned 1
Cookbook Trace:
/var/chef/cache/cookbooks/rvm/providers/shell.rb:98:in
script_wrapper' /var/chef/cache/cookbooks/rvm/providers/shell.rb:46:in
block in class_from_file'Resource Declaration:
In /var/chef/cache/cookbooks/rvm_passenger/recipes/nginx.rb
48: rvm_shell "build passenger_nginx_module" do
49: ruby_string node['rvm_passenger']['rvm_ruby']
50: code <<-INSTALL
51: passenger-install-nginx-module
52: --auto --prefix=#{nginx_install}
53: --nginx-source-dir=#{archive_cache}/nginx-#{nginx_version}
54: --extra-configure-flags='#{configure_flags}'
55: INSTALL
56: notifies :restart, resources(:service => "nginx")
57:
58: not_if <<-CHECK
59: #{nginx_install}/sbin/nginx -V 2>&1 |
60: grep "
cat /tmp/passenger_root_path
/ext/nginx"61: CHECK
62: end
63:
Compiled Resource:
Declared in /var/chef/cache/cookbooks/rvm_passenger/recipes/nginx.rb:48:in `from_file'
rvm_shell("build passenger_nginx_module") do
action :run
retries 0
retry_delay 2
cookbook_name "rvm_passenger"
recipe_name "nginx"
ruby_string "ruby-2.0.0-p195"
code " passenger-install-nginx-module --auto --prefix=/opt/nginx-1.4.1 --nginx-source-dir=/var/chef/cache/nginx-1.4.1 --extra-configure-flags='none'\n"
returns [0]
not_if " /opt/nginx-1.4.1/sbin/nginx -V 2>&1 | grep "
cat /tmp/passenger_root_path
/ext/nginx""
end
Recipe: nginx::source
service[nginx] action reload
service[nginx] action restart
service[nginx] action restart
Chef Client failed. 63 resources updated
Chef bootstrap failed!
`
The text was updated successfully, but these errors were encountered: