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


Chronological Thread 
  • From: Scott Likens <scott@likens.us>
  • To: chef@lists.opscode.com
  • Subject: Re: Server fails to start (chef-server-0.7.2)
  • Date: Wed, 24 Jun 2009 23:55:36 -0700

Actually to be correct,

it should be changed to,

  c[:log_stream] = Chef::Config[:log_location]


same line, proper fix

Good luck

Sincerely,

Scott M. Likens

On Jun 24, 2009, at 11:52 PM, Mike Bailey wrote:

I rebuilt the slice using intrepid and followed the instructions to the letter but it hung on:

[Thu, 25 Jun 2009 06:17:11 +0000] INFO: Installing package[couchdb] version 0.8.0-1

I'm giving a talk on the Chef to the Melbourne Ruby group so I've been trying to get it working again before then. :-)

It's OK, I need to head out now. I have a spare chef server at home and have setup forwarding from my router so I can demo using that tonight.

I'll try out your change ASAP.

- Mike

On Thu, Jun 25, 2009 at 4:16 PM, Scott Likens <scott@likens.us> wrote:
Hi Mike,

If you could please cd /usr/lib/ruby/1.8/gems/1.8/gems/chef-server-0.7.2/config/enviroments

then open up production.rb

line 6,

  c[:log_file] = '/var/log/chef/server.log'


I tried initially c[:log_file] = Chef::Config[:log_location].to_s

Also should work, I'm not sure which one is cleaner or the other.

I'm not sure if there's a ticket open on this; however if there isn't there should be one.

Scott

On Jun 24, 2009, at 10:15 PM, Mike Bailey 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?

- Mike


!DSPAM:4a431eb882421804284693!




Archive powered by MHonArc 2.6.16.

§