- From: Bryan McLellan <
>
- To: xinhui <
>
- Cc:
- Subject: [chef-dev] Re: exceptions when installing chef server
- Date: Mon, 19 Dec 2011 19:41:50 -0500
On Fri, Dec 16, 2011 at 8:05 PM, xinhui
<
>
wrote:
>
I am trying to install chef server by two ways but met different problems
>
respectively, please help share experience of success:
>
>
(1) Installing Chef Server on Debian or Ubuntu using Packages
>
Exception met:
>
get iniative error when execute "apt-get install chef chef-server-api ", no
>
chef-client gem found.
Can you provide the full error message? It is hard to tell what is
happening without the context of what is happening before and after
the error.
>
(2) Installing Chef Server on Debian or Ubuntu using chef-solo
>
Finished each step shown on this page. Found no webui.pem under /etc/chef/
>
and
>
no Chef Server WebUI get up.
What does your chef.json from this installation look like? The
instructions provide two examples, one that includes the Webui and one
that does not.
http://wiki.opscode.com/display/chef/Installing+Chef+Server+using+Chef+Solo#InstallingChefServerusingChefSolo-ConfigureChefsolo
>
I did not config apache proxy for ssl, is it necessary?
No. The WebUI will run on port 4040 by default on its own, regardless
of a proxy pointing to it.
On Mon, Dec 19, 2011 at 1:44 AM,
<
>
wrote:
>
Message shown followed by chef-server
>
/usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:14: uninitialized constant
>
Gem::UserInteraction (NameError)
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`gem_original_require'
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`require'
>
from /usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:4
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`gem_original_require'
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`require'
>
from /usr/lib/ruby/1.8/chef/provider/package/rubygems.rb:31
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`gem_original_require'
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`require'
>
from /usr/lib/ruby/1.8/chef/providers.rb:59
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`gem_original_require'
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`require'
>
from /usr/lib/ruby/1.8/chef.rb:25
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`gem_original_require'
>
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
>
`require'
>
from /usr/sbin/chef-server:39
Is this on the system installed from apt or gem?
What version of Rubygems is installed?
Run "gem -v" and "gem list chef*" and "dpkg -l rubygems"
Bryan
Archive powered by MHonArc 2.6.16.