Created
October 26, 2009 17:25
-
-
Save stormsilver/218832 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
merb : worker (port 4000) ~ Started request handling: Mon Oct 26 17:20:20 +0000 2009 | |
merb : worker (port 4000) ~ Routed to: {"action"=>"index", "controller"=>"chef_server_slice/nodes"} | |
merb : worker (port 4000) ~ Params: {"action"=>"index", "controller"=>"chef_server_slice/nodes"} | |
~ Sending HTTP Request via GET to / | |
~ Sending HTTP Request via GET to /chef/_design/nodes/_view/all_id | |
merb : worker (port 4000) ~ 500 "Internal Server Error" - (Net::HTTPFatalError) | |
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/rest.rb:233:in `run_request' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/rest.rb:85:in `get_rest' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/couchdb.rb:124:in `list' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.7.12/lib/chef/node.rb:369:in `list' | |
/usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.7.12/app/controllers/nodes.rb:31:in `index' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:315:in `send' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:315:in `_call_action' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/merb_controller.rb:252:in `_dispatch' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:100:in `dispatch_action' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:100:in `synchronize' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:100:in `dispatch_action' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:74:in `handle' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:36:in `handle' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/application.rb:17:in `call' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/middleware/static.rb:28:in `call' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/handler/mongrel.rb:82:in `process' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' | |
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/adapter/mongrel.rb:38:in `start_server' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/adapter/abstract.rb:298:in `start_at_port' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/adapter/abstract.rb:95:in `spawn_worker' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/adapter/abstract.rb:139:in `start' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/adapter/abstract.rb:138:in `upto' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/adapter/abstract.rb:138:in `start' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/adapter/abstract.rb:137:in `catch' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/adapter/abstract.rb:137:in `start' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/server.rb:174:in `bootup' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/server.rb:159:in `daemonize' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/server.rb:143:in `fork' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/server.rb:143:in `daemonize' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/server.rb:35:in `start' | |
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core.rb:170:in `start' | |
/usr/lib/ruby/gems/1.8/gems/chef-server-0.7.12/bin/chef-server:69 | |
/usr/bin/chef-server:19:in `load' | |
/usr/bin/chef-server:19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Mon, 26 Oct 2009 17:20:21 GMT] [error] [<0.377.0>] OS Process Error :: {os_process_error,{exit_status,127}} | |
[Mon, 26 Oct 2009 17:20:21 GMT] [error] [emulator] Error in process <0.377.0> with exit value: {{nocatch,{os_process_error,{exit_status,127}}},[{couch_os_process,prompt,2},{couch_query_servers,'-start_doc_map/2-fun-0-',2},{lists,foreach,2},{couch_query_servers,start_doc_map,2},{couch_view_updater,view_compute... | |
[Mon, 26 Oct 2009 17:20:21 GMT] [error] [<0.373.0>] ** Generic server <0.373.0> terminating | |
** Last message in was {'EXIT',<0.377.0>, | |
{{nocatch,{os_process_error,{exit_status,127}}}, | |
[{couch_os_process,prompt,2}, | |
{couch_query_servers,'-start_doc_map/2-fun-0-',2}, | |
{lists,foreach,2}, | |
{couch_query_servers,start_doc_map,2}, | |
{couch_view_updater,view_compute,2}, | |
{couch_view_updater,update,2}]}} | |
** When Server state == {group_state,undefined,<<"chef">>, | |
{"/opt/couchdb-0.10.0/var/lib/couchdb",<<"chef">>, | |
{group, | |
<<143,200,160,17,135,1,40,117,97,206,157,225,33,166, | |
192,100>>, | |
nil,nil,<<"_design/nodes">>,<<"javascript">>,[], | |
[{view,0, | |
[<<"all_id">>], | |
<<" function(doc) { \n if (doc.chef_type == \"node\") {\n emit(doc.name, doc.name);\n }\n }\n">>, | |
nil,[]}, | |
{view,1, | |
[<<"status">>], | |
<<" function(doc) {\n if (doc.chef_type == \"node\") {\n var to_emit = { \"name\": doc.name };\n if (doc[\"attributes\"][\"fqdn\"]) {\n to_emit[\"fqdn\"] = doc[\"attributes\"][\"fqdn\"];\n } else {\n to_emit[\"fqdn\"] = \"Undefined\";\n }\n if (doc[\"attributes\"][\"ipaddress\"]) {\n to_emit[\"ipaddress\"] = doc[\"attributes\"][\"ipaddress\"];\n } else {\n to_emit[\"ipaddress\"] = \"Undefined\";\n }\n if (doc[\"attributes\"][\"ohai_time\"]) {\n to_emit[\"ohai_time\"] = doc[\"attributes\"][\"ohai_time\"];\n } else {\n to_emit[\"ohai_time\"] = \"Undefined\";\n } \n if (doc[\"attributes\"][\"uptime\"]) {\n to_emit[\"uptime\"] = doc[\"attributes\"][\"uptime\"];\n } else {\n to_emit[\"uptime\"] = \"Undefined\";\n }\n if (doc[\"attributes\"][\"platform\"]) {\n to_emit[\"platform\"] = doc[\"attributes\"][\"platform\"];\n } else {\n to_emit[\"platform\"] = \"Undefined\";\n }\n if (doc[\"attributes\"][\"platform_version\"]) {\n to_emit[\"platform_version\"] = doc[\"attributes\"][\"platform_version\"];\n } else {\n to_emit[\"platform_version\"] = \"Undefined\";\n }\n if (doc[\"run_list\"]) {\n to_emit[\"run_list\"] = doc[\"run_list\"];\n } else {\n to_emit[\"run_list\"] = \"Undefined\";\n }\n emit(doc.name, to_emit);\n }\n }\n">>, | |
nil,[]}, | |
{view,2, | |
[<<"all">>], | |
<<" function(doc) { \n if (doc.chef_type == \"node\") {\n emit(doc.name, doc);\n }\n }\n">>, | |
nil,[]}, | |
{view,3, | |
[<<"by_run_list">>], | |
<<" function(doc) {\n if (doc.chef_type == \"node\") {\n if (doc['run_list']) {\n for (var i=0; i < doc.run_list.length; i++) {\n emit(doc['run_list'][i], doc.name);\n }\n }\n }\n }\n">>, | |
nil,[]}], | |
nil,0,0,nil,nil}}, | |
{group, | |
<<143,200,160,17,135,1,40,117,97,206,157,225,33,166, | |
192,100>>, | |
{db,<0.318.0>,<0.319.0>,nil,<<"1256577614040076">>, | |
<0.316.0>,<0.320.0>, | |
{db_header,4,0,0,nil,nil,nil,0,nil,nil,1000}, | |
0, | |
{btree,<0.316.0>, | |
{34984,{18,0}}, | |
#Fun<couch_db_updater.8.117532479>, | |
#Fun<couch_db_updater.9.105507025>, | |
#Fun<couch_db_updater.7.32442936>, | |
#Fun<couch_db_updater.10.43662179>}, | |
{btree,<0.316.0>, | |
{36257,18}, | |
#Fun<couch_db_updater.11.41695917>, | |
#Fun<couch_db_updater.12.6934644>, | |
#Fun<couch_btree.5.124754102>, | |
#Fun<couch_db_updater.13.28245598>}, | |
{btree,<0.316.0>,nil,#Fun<couch_btree.0.83553141>, | |
#Fun<couch_btree.1.30790806>, | |
#Fun<couch_btree.2.124754102>,nil}, | |
18,<<"chef">>, | |
"/opt/couchdb-0.10.0/var/lib/couchdb/chef.couch", | |
[],[],nil, | |
{user_ctx,null,[]}, | |
#Ref<0.0.0.474>,1000, | |
[before_header,after_header,on_file_open]}, | |
<0.375.0>,<<"_design/nodes">>,<<"javascript">>,[], | |
[{view,0, | |
[<<"all_id">>], | |
<<" function(doc) { \n if (doc.chef_type == \"node\") {\n emit(doc.name, doc.name);\n }\n }\n">>, | |
{btree,<0.375.0>,nil, | |
#Fun<couch_btree.3.83553141>, | |
#Fun<couch_btree.4.30790806>, | |
#Fun<couch_view.less_json_keys.2>, | |
#Fun<couch_view_group.11.46347864>}, | |
[]}, | |
{view,1, | |
[<<"status">>], | |
<<" function(doc) {\n if (doc.chef_type == \"node\") {\n var to_emit = { \"name\": doc.name };\n if (doc[\"attributes\"][\"fqdn\"]) {\n to_emit[\"fqdn\"] = doc[\"attributes\"][\"fqdn\"];\n } else {\n to_emit[\"fqdn\"] = \"Undefined\";\n }\n if (doc[\"attributes\"][\"ipaddress\"]) {\n to_emit[\"ipaddress\"] = doc[\"attributes\"][\"ipaddress\"];\n } else {\n to_emit[\"ipaddress\"] = \"Undefined\";\n }\n if (doc[\"attributes\"][\"ohai_time\"]) {\n to_emit[\"ohai_time\"] = doc[\"attributes\"][\"ohai_time\"];\n } else {\n to_emit[\"ohai_time\"] = \"Undefined\";\n } \n if (doc[\"attributes\"][\"uptime\"]) {\n to_emit[\"uptime\"] = doc[\"attributes\"][\"uptime\"];\n } else {\n to_emit[\"uptime\"] = \"Undefined\";\n }\n if (doc[\"attributes\"][\"platform\"]) {\n to_emit[\"platform\"] = doc[\"attributes\"][\"platform\"];\n } else {\n to_emit[\"platform\"] = \"Undefined\";\n }\n if (doc[\"attributes\"][\"platform_version\"]) {\n to_emit[\"platform_version\"] = doc[\"attributes\"][\"platform_version\"];\n } else {\n to_emit[\"platform_version\"] = \"Undefined\";\n }\n if (doc[\"run_list\"]) {\n to_emit[\"run_list\"] = doc[\"run_list\"];\n } else {\n to_emit[\"run_list\"] = \"Undefined\";\n }\n emit(doc.name, to_emit);\n }\n }\n">>, | |
{btree,<0.375.0>,nil, | |
#Fun<couch_btree.3.83553141>, | |
#Fun<couch_btree.4.30790806>, | |
#Fun<couch_view.less_json_keys.2>, | |
#Fun<couch_view_group.11.46347864>}, | |
[]}, | |
{view,2, | |
[<<"all">>], | |
<<" function(doc) { \n if (doc.chef_type == \"node\") {\n emit(doc.name, doc);\n }\n }\n">>, | |
{btree,<0.375.0>,nil, | |
#Fun<couch_btree.3.83553141>, | |
#Fun<couch_btree.4.30790806>, | |
#Fun<couch_view.less_json_keys.2>, | |
#Fun<couch_view_group.11.46347864>}, | |
[]}, | |
{view,3, | |
[<<"by_run_list">>], | |
<<" function(doc) {\n if (doc.chef_type == \"node\") {\n if (doc['run_list']) {\n for (var i=0; i < doc.run_list.length; i++) {\n emit(doc['run_list'][i], doc.name);\n }\n }\n }\n }\n">>, | |
{btree,<0.375.0>,nil, | |
#Fun<couch_btree.3.83553141>, | |
#Fun<couch_btree.4.30790806>, | |
#Fun<couch_view.less_json_keys.2>, | |
#Fun<couch_view_group.11.46347864>}, | |
[]}], | |
{btree,<0.375.0>,nil,#Fun<couch_btree.0.83553141>, | |
#Fun<couch_btree.1.30790806>, | |
#Fun<couch_btree.2.124754102>,nil}, | |
0,0,nil,nil}, | |
<0.377.0>,nil,false, | |
[{{<0.371.0>,#Ref<0.0.0.1416>},18}], | |
<0.378.0>} | |
** Reason for termination == | |
** {os_process_error,{exit_status,127}} | |
[Mon, 26 Oct 2009 17:20:21 GMT] [error] [<0.373.0>] {error_report,<0.22.0>, | |
{<0.373.0>,crash_report, | |
[[{initial_call,{couch_view_group,init,['Argument__1']}}, | |
{pid,<0.373.0>}, | |
{registered_name,[]}, | |
{error_info, | |
{exit, | |
{os_process_error,{exit_status,127}}, | |
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}}, | |
{ancestors, | |
[couch_view,couch_secondary_services,couch_server_sup,<0.1.0>]}, | |
{messages,[]}, | |
{links,[<0.375.0>,<0.64.0>]}, | |
{dictionary,[]}, | |
{trap_exit,true}, | |
{status,running}, | |
{heap_size,233}, | |
{stack_size,24}, | |
{reductions,547}], | |
[{neighbour, | |
[{pid,<0.378.0>}, | |
{registered_name,[]}, | |
{initial_call,{couch_ref_counter,init,['Argument__1']}}, | |
{current_function,{gen_server,loop,6}}, | |
{ancestors, | |
[<0.373.0>,couch_view,couch_secondary_services, | |
couch_server_sup,<0.1.0>]}, | |
{messages,[]}, | |
{links,[<0.375.0>]}, | |
{dictionary,[]}, | |
{trap_exit,false}, | |
{status,waiting}, | |
{heap_size,233}, | |
{stack_size,9}, | |
{reductions,47}]}, | |
{neighbour, | |
[{pid,<0.375.0>}, | |
{registered_name,[]}, | |
{initial_call,{couch_file,init,['Argument__1']}}, | |
{current_function,{gen_server,loop,6}}, | |
{ancestors, | |
[<0.373.0>,couch_view,couch_secondary_services, | |
couch_server_sup,<0.1.0>]}, | |
{messages,[]}, | |
{links,[<0.373.0>,<0.378.0>,#Port<0.1413>]}, | |
{dictionary,[]}, | |
{trap_exit,false}, | |
{status,waiting}, | |
{heap_size,987}, | |
{stack_size,9}, | |
{reductions,1879}]}]]}} | |
[Mon, 26 Oct 2009 17:20:21 GMT] [error] [<0.56.0>] {error_report,<0.22.0>, | |
{<0.56.0>,supervisor_report, | |
[{supervisor,{local,couch_secondary_services}}, | |
{errorContext,child_terminated}, | |
{reason,normal}, | |
{offender,[{pid,<0.61.0>}, | |
{name,query_servers}, | |
{mfa,{couch_query_servers,start_link,[]}}, | |
{restart_type,permanent}, | |
{shutdown,brutal_kill}, | |
{child_type,worker}]}]}} | |
[Mon, 26 Oct 2009 17:20:21 GMT] [info] [<0.371.0>] 127.0.0.1 - - 'GET' /chef/_design/nodes/_view/all_id 500 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment