- From: Daniel DeLeo <
>
- To: xinhui <
>
- Cc:
- Subject: [chef-dev] Re: exceptions when installing chef server
- Date: Fri, 16 Dec 2011 18:04:25 -0800
On Friday, December 16, 2011 at 5: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.
Is this from apt.opscode.com?
>
>
before this installing, I have installed RubyGem and workstation env
>
successfully.
>
>
(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.
Is this on the same box as before? You can end up with some partial config
that's wrong/broken.
Most likely, rabbitmq isn't getting configured correctly. Depending on what
version you're trying to install, this can happen when your machine's
hostname doesn't resolve correctly. Make sure your hostname and fqdn are
configured.
If you can post some of chef-server's logs, or run it in the foreground and
capture the output, that would help us track down your issue.
Try setting your log level to debug and output to STDOUT in your server.rb
file:
log_level :debug
log_location STDOUT
Then run `chef-server` and see what it says.
>
>
>
I did not config apache proxy for ssl, is it necessary?
It's a good idea before you put your server in production, but not necessary.
>
>
Thanks.
--
Dan DeLeo
Archive powered by MHonArc 2.6.16.