Chef server will not start


#1

Hi,

How do I deal with the below?

/etc/init.d/chef-server-webui start

  • Starting chef-server-webui
    ~ In 15468
    …fail!

root@li409-115:/etc/init.d# /etc/init.d/chef-server start

  • Starting chef-server
    ~ In 16011
    …fail!

There is nothing in the logs files in /var/log/chef/server.log or
server-webui.log

starting chef client and sorl works.

So… how to resolve?


#2

Hi David-

On Sun, Apr 08, 2012 at 06:29:35PM +0800, David Montgomery wrote:

How do I deal with the below?

/etc/init.d/chef-server-webui start

  • Starting chef-server-webui
    ~ In 15468
    …fail!

root@li409-115:/etc/init.d# /etc/init.d/chef-server start

  • Starting chef-server
    ~ In 16011
    …fail!

There is nothing in the logs files in /var/log/chef/server.log or
server-webui.log

starting chef client and sorl works.

So… how to resolve?

Increase the log level and define an output in /etc/chef/server.rb and try
starting it again; you should see messages explaining the problem in whatever
you designated as the log output. Details on the log settings here:

http://wiki.opscode.com/display/chef/Chef+Configuration+Settings#ChefConfigurationSettings-logoutput

Will Maier
http://wcm.aier.us/


#3

Increased to fatal. Still no entry in server log.

On Sun, Apr 8, 2012 at 9:37 PM, Will Maier wcmaier@m.aier.us wrote:

Hi David-

On Sun, Apr 08, 2012 at 06:29:35PM +0800, David Montgomery wrote:

How do I deal with the below?

/etc/init.d/chef-server-webui start

  • Starting chef-server-webui
    ~ In 15468
    …fail!

root@li409-115:/etc/init.d# /etc/init.d/chef-server start

  • Starting chef-server
    ~ In 16011
    …fail!

There is nothing in the logs files in /var/log/chef/server.log or
server-webui.log

starting chef client and sorl works.

So… how to resolve?

Increase the log level and define an output in /etc/chef/server.rb and try
starting it again; you should see messages explaining the problem in whatever
you designated as the log output. Details on the log settings here:

http://wiki.opscode.com/display/chef/Chef+Configuration+Settings#ChefConfigurationSettings-logoutput

Will Maier
http://wcm.aier.us/


#4

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/


#5

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 wcmaier@m.aier.us 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/


#6

Probably couchdb not running?

KC
On Apr 8, 2012 7:22 AM, “David Montgomery” davidmontgomery@gmail.com
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 wcmaier@m.aier.us 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/


#7

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
kcbraunschweig@gmail.com wrote:

Probably couchdb not running?

KC

On Apr 8, 2012 7:22 AM, “David Montgomery” davidmontgomery@gmail.com
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 wcmaier@m.aier.us 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/


#8

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
davidmontgomery@gmail.com 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
kcbraunschweig@gmail.com wrote:

Probably couchdb not running?

KC

On Apr 8, 2012 7:22 AM, “David Montgomery” davidmontgomery@gmail.com
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 wcmaier@m.aier.us 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/


#9

Yay!..at least I now get an error trace. So…how to fix? Only
change I made is that I installed knife ec2.

root@li409-115:~# 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:insend’
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:inload_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:ineach’
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:inrun’
from /usr/lib/ruby/1.8/merb-core/bootloader.rb:99:in run' from /usr/lib/ruby/1.8/merb-core/server.rb:172:inbootup’
from /usr/lib/ruby/1.8/merb-core/server.rb:42:in start' from /usr/lib/ruby/1.8/merb-core.rb:170:instart’
from /usr/sbin/chef-server:86

On Mon, Apr 9, 2012 at 1:32 PM, Jesse Nelson spheromak@gmail.com 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
davidmontgomery@gmail.com 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
kcbraunschweig@gmail.com wrote:

Probably couchdb not running?

KC

On Apr 8, 2012 7:22 AM, “David Montgomery” davidmontgomery@gmail.com
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 wcmaier@m.aier.us 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/


#10

Looks like installing knife ec2 may have updated or changed your gems
installation. Try updating chef-server, or reinstalling gems?

Also, generally knife ec2 is installed on a workstation machine (like your
desk computer) rather than the chef server… are you running everything
from one instance?
On Apr 9, 2012 1:51 AM, “David Montgomery” davidmontgomery@gmail.com
wrote:

Yay!..at least I now get an error trace. So…how to fix? Only
change I made is that I installed knife ec2.

root@li409-115:~# 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:insend’
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:inload_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:ineach’
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:inrun’
from /usr/lib/ruby/1.8/merb-core/bootloader.rb:99:in run' from /usr/lib/ruby/1.8/merb-core/server.rb:172:inbootup’
from /usr/lib/ruby/1.8/merb-core/server.rb:42:in start' from /usr/lib/ruby/1.8/merb-core.rb:170:instart’
from /usr/sbin/chef-server:86

On Mon, Apr 9, 2012 at 1:32 PM, Jesse Nelson spheromak@gmail.com 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
davidmontgomery@gmail.com 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
kcbraunschweig@gmail.com wrote:

Probably couchdb not running?

KC

On Apr 8, 2012 7:22 AM, “David Montgomery” davidmontgomery@gmail.com
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 wcmaier@m.aier.us 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/