- From: David Montgomery <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Chef server will not start
- Date: Mon, 9 Apr 2012 13:51:08 +0800
Yay!..at least I now get an error trace. So...how to fix? Only
change I made is that I installed knife ec2.
:~#
chef-server -N -ldebug
Loading init file from /usr/share/chef-server-api/config/init.rb
Loading /usr/share/chef-server-api/config/environments/development.rb
NOTE: Gem.activate is deprecated, use Specification#activate. It will
be removed on or after 2011-10-01.
Gem.activate called from /usr/lib/ruby/1.8/merb-core/core_ext/kernel.rb:142.
/usr/local/lib/site_ruby/1.8/rubygems.rb:234:in
`_deprecated_activate': Deprecated use of Gem.activate(dep)
(ArgumentError)
from /usr/local/lib/site_ruby/1.8/rubygems/deprecate.rb:63:in `send'
from /usr/local/lib/site_ruby/1.8/rubygems/deprecate.rb:63:in
`activate'
from /usr/lib/ruby/1.8/merb-core/core_ext/kernel.rb:142:in
`load_dependency'
from /usr/lib/ruby/1.8/merb-core/bootloader.rb:405:in
`load_dependencies'
from /usr/lib/ruby/1.8/merb-core/bootloader.rb:405:in `each'
from /usr/lib/ruby/1.8/merb-core/bootloader.rb:405:in
`load_dependencies'
from /usr/lib/ruby/1.8/merb-core/bootloader.rb:393:in `run'
from /usr/lib/ruby/1.8/merb-core/bootloader.rb:99:in `run'
from /usr/lib/ruby/1.8/merb-core/server.rb:172:in `bootup'
from /usr/lib/ruby/1.8/merb-core/server.rb:42:in `start'
from /usr/lib/ruby/1.8/merb-core.rb:170:in `start'
from /usr/sbin/chef-server:86
On Mon, Apr 9, 2012 at 1:32 PM, Jesse Nelson
<
>
wrote:
>
can try starting up the server with debug in the foreground
>
"chef-server -N -ldebug" and see what it complains about.
>
>
>
On Mon, Apr 9, 2012 at 1:42 PM, David Montgomery
>
<
>
>
wrote:
>
> Yes..couchdb is running. I am rather new to chef. Is this a common
>
> issue with the server?
>
>
>
> On Mon, Apr 9, 2012 at 5:28 AM, KC Braunschweig
>
> <
>
>
> wrote:
>
>> Probably couchdb not running?
>
>>
>
>> KC
>
>>
>
>> On Apr 8, 2012 7:22 AM, "David Montgomery"
>
>> <
>
>
>> wrote:
>
>>>
>
>>> Here are the outputs of the logs...
>
>>>
>
>>> server.log
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/_all_dbs
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/id_map
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/nodes
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/roles
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/data_bags
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/clients
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/users
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/cookbooks
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/sandboxes
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/checksums
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/environments
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/id_map/_view/name_to_id
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/id_map/_view/name_to_id
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/id_map/_view/name_to_id
>
>>> [Sun, 08 Apr 2012 14:17:04 +0000] INFO: Loading roles
>
>>>
>
>>>
>
>>>
>
>>> server-webui.log
>
>>> [Sun, 08 Apr 2012 14:19:54 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/users/_view/all_id
>
>>> [Sun, 08 Apr 2012 14:19:54 +0000] DEBUG: Sending HTTP Request via GET
>
>>> to localhost:5984/chef/_design/id_map/_view/name_to_id
>
>>>
>
>>> On Sun, Apr 8, 2012 at 9:58 PM, Will Maier
>
>>> <
>
>
>>> wrote:
>
>>> > On Sun, Apr 08, 2012 at 09:54:47PM +0800, David Montgomery wrote:
>
>>> >> Increased to fatal. Still no entry in server log.
>
>>> >
>
>>> > I'd suggest the following:
>
>>> >
>
>>> > log_level :debug
>
>>> > log_location "/var/log/chef/server.log"
>
>>> > verbose_logging true
>
>>> >
>
>>> > log_level defines the minimum level a log must have to end up in your
>
>>> > log file
>
>>> > (or STDOUT); setting it to fatal would show nothing except fatal
>
>>> > messages.
>
>>> >
>
>>> > --
>
>>> >
>
>>> > Will Maier
>
>>> > http://wcm.aier.us/
Archive powered by MHonArc 2.6.16.