Re: Server fails to start (chef-server-0.7.2)


Chronological Thread 
  • From: Mike Bailey <mike@bailey.net.au>
  • To: chef@lists.opscode.com
  • Subject: Re: Server fails to start (chef-server-0.7.2)
  • Date: Thu, 25 Jun 2009 15:52:43 +1000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=qvaQHesPWMT0hpc+LZrkbRnhCx2Y5zVEYotlgscnptjNocrhciGH80pPqedSHHse8k zrKGy18+9tNJXOjyNWXRlUwZOnlrg1KsBIWiiVvK+TmfC3CRcRYXQRmLh3XOLi/HoXjm ptZAt+pWuqP0xHBCi04dGqXFO6aOYP/7zGBCw=



On Thu, Jun 25, 2009 at 3:38 PM, Arjuna Christensen <aj@opscode.com> wrote:


On 25/06/2009, at 5:15 PM, Mike Bailey <mike@bailey.net.au> wrote:

The same installation script that worked for me previously is broken with 0.7.2

Here's the server (showing errors): https://chef.failmode.com/

Here's a screenshot: http://skitch.com/mbailey/bip2e/ruby-rack-application-could-not-be-started

Any ideas?

Are you using your own config.ru?

No. It's the one in the gem. I used a fresh hardy image on slicehost and ran the exact same deprec task to install that was working previously.
 
Can you paste it in line or attach it in a reply?

require 'rubygems'
require 'merb-core'
require 'chef'

Chef::Config.from_file(File.join("/etc", "chef", "server.rb"))

Merb::Config.setup(:merb_root   => File.expand_path(File.dirname(__FILE__)),
                   :environment => ENV['RACK_ENV'], :init_file => File.dirname(__FILE__) / "config/init.rb")
Merb.environment = Merb::Config[:environment]
Merb.root = Merb::Config[:merb_root]
Merb::BootLoader.run
 
# Uncomment if your app is mounted at a suburi
#if prefix = ::Merb::Config[:path_prefix]
#  use Merb::Rack::PathPrefix, prefix
#end

run Merb::Rack::Application.new

- Mike




Archive powered by MHonArc 2.6.16.

§