NoMethodError while installing chef-server using chef-solo on Ubuntu


#1

Running Ubuntu 12.04.2 , Ruby 1.9.1 and installed Chef via rubygems.

Created the /etc/chef/solo.rb and ~/chef.json files per the instructions,
then ran the command:

chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.amazonaws.com
/chef-solo/bootstrap-latest.tar.gz

The following error occurred:

NoMethodError: gem_package[chef-server-api] (chef-server::rubygems-install
line 83) had an error: NoMethodError: undefined method `full_name’ for
nil:NilClass
Stack trace:

Generated at 2013-04-23 16:36:45 -0400
NoMethodError: gem_package[chef-server-api] (chef-server::rubygems-install
line 83) had an error: NoMethodError: undefined method full_name' for nil:NilClass /usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:inblock in gather_dependencies’
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:in map' /usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:ingather_dependencies’
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:267:in
install' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:169:inblock (2 levels) in install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:192:in
with_correct_verbosity' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:168:inblock in install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:103:in
with_gem_sources' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:167:ininstall’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:476:in
install_package' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package.rb:82:inblock in action_install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/mixin/why_run.rb:52:in
call' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/mixin/why_run.rb:52:inadd_action’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider.rb:151:in
converge_by' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package.rb:80:inaction_install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider.rb:114:in
run_action' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource.rb:606:inrun_action’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:50:in
run_action' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:inblock
(2 levels) in converge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:in each' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:inblock
in converge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection.rb:94:in
block in execute_each_resource' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:116:incall’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:116:in
call_iterator_block' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:85:instep’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:104:in
iterate' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection.rb:92:in
execute_each_resource' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:81:inconverge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:404:in
converge' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:469:indo_run’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:200:in run' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application.rb:190:inrun_chef_client’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:239:in
block in run_application' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:231:inloop’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:231:in
run_application' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application.rb:73:inrun’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/bin/chef-solo:25:in <top (required)>' /usr/bin/chef-solo:19:inload’
/usr/bin/chef-solo:19:in `'root@chef:/tmp/chef-solo#

Has anyone come across this error? Am I missing something here?

–Jim L.


#2

It looks like the version of rubygems in your system ruby is not compatible
with the rubygems provider. This may be a regression: The stack trace is
sufficient information to log a ticket [0]

As a work-around, try adding ‘gem_binary /some/path/to/wherever/bin/gem’ to
the resource in the interim. This will force the gem provider to shell out
for operations instead of using the RubyGems Ruby API.

Cheers and thanks in advance,

AJ

[0] tickets.opscode.com

On 24 April 2013 08:50, Jim L. jiml@pobox.com wrote:

Running Ubuntu 12.04.2 , Ruby 1.9.1 and installed Chef via rubygems.

Created the /etc/chef/solo.rb and ~/chef.json files per the instructions,
then ran the command:

chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.amazonaws.com
/chef-solo/bootstrap-latest.tar.gz

The following error occurred:

NoMethodError: gem_package[chef-server-api] (chef-server::rubygems-install
line 83) had an error: NoMethodError: undefined method `full_name’ for
nil:NilClass
Stack trace:

Generated at 2013-04-23 16:36:45 -0400
NoMethodError: gem_package[chef-server-api] (chef-server::rubygems-install
line 83) had an error: NoMethodError: undefined method full_name' for nil:NilClass /usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:inblock in gather_dependencies’
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:in
map' /usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:ingather_dependencies’
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:267:in
install' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:169:inblock (2 levels) in install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:192:in
with_correct_verbosity' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:168:inblock in install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:103:in
with_gem_sources' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:167:ininstall’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:476:in
install_package' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package.rb:82:inblock in action_install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/mixin/why_run.rb:52:in
call' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/mixin/why_run.rb:52:inadd_action’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider.rb:151:in
converge_by' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package.rb:80:inaction_install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider.rb:114:in
run_action' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource.rb:606:inrun_action’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:50:in
run_action' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:inblock
(2 levels) in converge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:in each' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:inblock
in converge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection.rb:94:in
block in execute_each_resource' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:116:incall’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:116:in
call_iterator_block' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:85:instep’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:104:in
iterate' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection.rb:92:in
execute_each_resource' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:81:inconverge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:404:in
converge' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:469:indo_run’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:200:in run' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application.rb:190:inrun_chef_client’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:239:in
block in run_application' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:231:inloop’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:231:in
run_application' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application.rb:73:inrun’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/bin/chef-solo:25:in <top (required)>' /usr/bin/chef-solo:19:inload’
/usr/bin/chef-solo:19:in `'root@chef:/tmp/chef-solo#

Has anyone come across this error? Am I missing something here?

–Jim L.


#3

It appears you are trying to use chef 11 to install chef server 10. You should use the “omnibus” package for chef server 11 instead.

http://www.opscode.com/chef/install - Chef Server tab.


Joshua Timberman

On Tuesday, April 23, 2013 at 13:50, Jim L. wrote:

Running Ubuntu 12.04.2 , Ruby 1.9.1 and installed Chef via rubygems.

Created the /etc/chef/solo.rb and ~/chef.json files per the instructions, then ran the command:

chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.amazonaws.com (http://amazonaws.com)/chef-solo/bootstrap-latest.tar.gz

The following error occurred:

NoMethodError: gem_package[chef-server-api] (chef-server::rubygems-install line 83) had an error: NoMethodError: undefined method `full_name’ for nil:NilClass
Stack trace:

Generated at 2013-04-23 16:36:45 -0400
NoMethodError: gem_package[chef-server-api] (chef-server::rubygems-install line 83) had an error: NoMethodError: undefined method full_name' for nil:NilClass /usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:inblock in gather_dependencies’
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:in map' /usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:ingather_dependencies’
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:267:in install' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:169:inblock (2 levels) in install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:192:in with_correct_verbosity' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:168:inblock in install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:103:in with_gem_sources' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:167:ininstall’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:476:in install_package' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package.rb:82:inblock in action_install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/mixin/why_run.rb:52:in call' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/mixin/why_run.rb:52:inadd_action’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider.rb:151:in converge_by' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package.rb:80:inaction_install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider.rb:114:in run_action' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource.rb:606:inrun_action’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:50:in run_action' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:inblock (2 levels) in converge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:in each' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:inblock in converge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection.rb:94:in block in execute_each_resource' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:116:incall’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:85:instep’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection.rb:92:in execute_each_resource' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:81:inconverge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:404:in converge' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:469:indo_run’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:200:in run' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application.rb:190:inrun_chef_client’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:239:in block in run_application' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:231:inloop’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:231:in run_application' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application.rb:73:inrun’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/bin/chef-solo:25:in <top (required)>' /usr/bin/chef-solo:19:inload’
/usr/bin/chef-solo:19:in `'root@chef:/tmp/chef-solo#

Has anyone come across this error? Am I missing something here?

–Jim L.


#4

Thanks, Joshua. That, and making sure the FQDN was correct got me on the
right path. I must say, however, that the documentation is not very good
and/or well organized; Lots of references to things that are no longer
correct.

Do I also have to install the chef-client, or is that included as part of
the chef server? Also: I see the services running (for example,
chef-server-webui) but cannot access them (http://localhost:4040). Any
thoughts about that?

Regards,

–Jim L.

On Wed, Apr 24, 2013 at 4:23 AM, Joshua Timberman joshua@opscode.comwrote:

It appears you are trying to use chef 11 to install chef server 10. You
should use the “omnibus” package for chef server 11 instead.

http://www.opscode.com/chef/install - Chef Server tab.


Joshua Timberman

On Tuesday, April 23, 2013 at 13:50, Jim L. wrote:

Running Ubuntu 12.04.2 , Ruby 1.9.1 and installed Chef via rubygems.

Created the /etc/chef/solo.rb and ~/chef.json files per the instructions,
then ran the command:

chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.amazonaws.com
/chef-solo/bootstrap-latest.tar.gz

The following error occurred:

NoMethodError: gem_package[chef-server-api] (chef-server::rubygems-install
line 83) had an error: NoMethodError: undefined method `full_name’ for
nil:NilClass
Stack trace:

Generated at 2013-04-23 16:36:45 -0400
NoMethodError: gem_package[chef-server-api] (chef-server::rubygems-install
line 83) had an error: NoMethodError: undefined method full_name' for nil:NilClass /usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:inblock in gather_dependencies’
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:in
map' /usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:136:ingather_dependencies’
/usr/local/lib/site_ruby/1.9.1/rubygems/dependency_installer.rb:267:in
install' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:169:inblock (2 levels) in install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:192:in
with_correct_verbosity' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:168:inblock in install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:103:in
with_gem_sources' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:167:ininstall’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package/rubygems.rb:476:in
install_package' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package.rb:82:inblock in action_install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/mixin/why_run.rb:52:in
call' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/mixin/why_run.rb:52:inadd_action’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider.rb:151:in
converge_by' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider/package.rb:80:inaction_install’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/provider.rb:114:in
run_action' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource.rb:606:inrun_action’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:50:in
run_action' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:inblock
(2 levels) in converge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:in each' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:82:inblock
in converge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection.rb:94:in
block in execute_each_resource' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:116:incall’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:116:in
call_iterator_block' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:85:instep’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:104:in
iterate' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/resource_collection.rb:92:in
execute_each_resource' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/runner.rb:81:inconverge’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:404:in
converge' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:469:indo_run’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/client.rb:200:in run' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application.rb:190:inrun_chef_client’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:239:in
block in run_application' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:231:inloop’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application/solo.rb:231:in
run_application' /usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/lib/chef/application.rb:73:inrun’
/usr/lib/ruby/gems/1.9.1/gems/chef-11.4.2/bin/chef-solo:25:in <top (required)>' /usr/bin/chef-solo:19:inload’
/usr/bin/chef-solo:19:in `'root@chef:/tmp/chef-solo#

Has anyone come across this error? Am I missing something here?

–Jim L.


#5

On Wednesday, April 24, 2013 at 8:12 AM, Jim L. wrote:

Thanks, Joshua. That, and making sure the FQDN was correct got me on the right path. I must say, however, that the documentation is not very good and/or well organized; Lots of references to things that are no longer correct.

Do I also have to install the chef-client, or is that included as part of the chef server?
You should install the chef-client omnibus package if you wish to manage this machine with Chef. There is a copy of chef client within the server package, but it should only be used by the server’s tooling.
Also: I see the services running (for example, chef-server-webui) but cannot access them (http://localhost:4040). Any thoughts about that?

The omnibus server package puts a nginx load balancer on port 443 that will send you to the webui based on request headers, so just visit it with a browser and you’ll see it.

Regards,

–Jim


Daniel DeLeo