RV: RE: Re: 500 "Internal Server Error" chef-server-webui version 0.9.12


#1

I also got this error

undefined method `fdiv’ for 2526:Fixnum when try to access some cookbook

[Fri, 24 Dec 2010 09:27:02 +0100] DEBUG: Streaming download from http://localhost:4000/cookbooks/app_dynamics/0.0.0/files/e2c390fe739b2550a218262b28f290ce to tempfile /tmp/chef-rest.7067.0
[Fri, 24 Dec 2010 09:27:02 +0100] ERROR: undefined method fdiv' for 2526:Fixnum /usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/application.rb:239:inbinary?’
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/application.rb:227:in show_plain_file' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:135:infetch’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:253:in streaming_request' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest/rest_request.rb:62:incall’
/usr/lib/ruby/1.8/net/http.rb:1053:in request' /usr/lib/ruby/1.8/net/http.rb:2136:inreading_body’
/usr/lib/ruby/1.8/net/http.rb:1052:in request' /usr/lib/ruby/1.8/net/http.rb:1037:inrequest’
/usr/lib/ruby/1.8/net/http.rb:543:in start' /usr/lib/ruby/1.8/net/http.rb:1035:inrequest’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest/rest_request.rb:60:in call' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest/rest_request.rb:75:inhide_net_http_bug’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest/rest_request.rb:59:in call' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:249:instreaming_request’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:285:in retriable_rest_request' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:247:instreaming_request’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:135:in `fetch’

my ruby version is 1.8.6

[root@a0 chef]# ruby -v
ruby 1.8.6 (2010-02-05 patchlevel 399) [i386-linux]
[root@a0 chef]# gem list

*** LOCAL GEMS ***

abstract (1.0.0)
bundler (1.0.7)
bunny (0.6.0)
chef (0.9.12)
chef-server (0.9.12)
chef-server-api (0.9.12)
chef-server-webui (0.9.12)
chef-solr (0.9.12)
coderay (0.8.312)
daemons (1.0.10)
diff-lcs (1.1.2)
erubis (2.6.5)
eventmachine (0.12.10)
extlib (0.9.13)
haml (2.2.20)
highline (1.4.0)
hpricot (0.8.2)
json (1.4.6)
libxml-ruby (1.1.3)
merb-assets (1.1.3)
merb-core (1.1.3)
merb-haml (1.1.3)
merb-helpers (1.1.3)
merb-param-protection (1.1.3)
merb-slices (1.0.15)
mime-types (1.16)
mixlib-authentication (1.1.4)
mixlib-cli (1.2.0)
mixlib-config (1.1.2)
mixlib-log (1.2.0)
moneta (0.6.0)
ohai (0.5.8)
ParseTree (3.0.4)
rack (1.1.0)
rake (0.8.7)
rest-client (1.3.1)
rspec (1.3.0)
ruby-openid (2.1.8)
ruby2ruby (1.2.4)
ruby_parser (2.0.4)
RubyInline (3.8.4)
sexp_processor (3.0.3)
systemu (1.2.0)
term-ansicolor (1.0.5)
thin (1.2.5)
thor (0.12.0)
uuidtools (2.1.1)
ZenTest (4.2.1)
[root@a0 chef]# uname -a
Linux a0 2.6.18-128.el5 #1 SMP Wed Dec 17 11:42:39 EST 2008 i686 i686 i386 GNU/Linux


[Fri, 24 Dec 2010 09:27:02 +0100] DEBUG: Streaming download from http://localhost:4000/cookbooks/app_dynamics/0.0.0/files/e2c390fe739b2550a218262b28f290ce to tempfile /tmp/chef-rest.7067.0
[Fri, 24 Dec 2010 09:27:02 +0100] ERROR: undefined method fdiv' for 2526:Fixnum /usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/application.rb:239:inbinary?’
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/application.rb:227:in show_plain_file' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:135:infetch’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:253:in streaming_request' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest/rest_request.rb:62:incall’
/usr/lib/ruby/1.8/net/http.rb:1053:in request' /usr/lib/ruby/1.8/net/http.rb:2136:inreading_body’
/usr/lib/ruby/1.8/net/http.rb:1052:in request' /usr/lib/ruby/1.8/net/http.rb:1037:inrequest’
/usr/lib/ruby/1.8/net/http.rb:543:in start' /usr/lib/ruby/1.8/net/http.rb:1035:inrequest’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest/rest_request.rb:60:in call' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest/rest_request.rb:75:inhide_net_http_bug’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest/rest_request.rb:59:in call' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:249:instreaming_request’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:285:in retriable_rest_request' /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:247:instreaming_request’
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:135:in fetch' /usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/application.rb:226:inshow_plain_file’
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/views/cookbooks/show.html.haml:55:in __usr__lib__ruby__gems__1_8__gems__chef__server__webui__0_9_12__app__views__cookbooks__show_html_haml' /usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/views/cookbooks/show.html.haml:52:ineach’
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/views/cookbooks/show.html.haml:52:in __usr__lib__ruby__gems__1_8__gems__chef__server__webui__0_9_12__app__views__cookbooks__show_html_haml' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:137:insend’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:137:in render' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:222:indisplay’
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/cookbooks.rb:64:in show' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:321:insend’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:321:in _call_action' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:289:in_dispatch’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in `catch’


De: Huy, L. (Le)
Enviado el: viernes, 24 de diciembre de 2010 9:20
Para: 'chef@lists.opscode.com’
Asunto: RE: [chef] RE: Re: 500 “Internal Server Error” chef-server-webui version 0.9.12

I got this error, I hacve tried to delete all cookbooks then upload all again but the problem persists

merb : chef-server (api) : worker (port 4000) ~ Started request handling: Fri Dec 24 09:17:50 +0100 2010
merb : chef-server (api) : worker (port 4000) ~ Routed to: {“cookbook_version”=>“0.0.0”, “cookbook_name”=>“accounts”, “action”=>“show_file”, “controller”=>“cookbooks”, “checksum”=>“c4e497a0095ac8fe9a40995b7ed3a6e3”}
merb : chef-server (api) : worker (port 4000) ~ Params: {“cookbook_version”=>“0.0.0”, “cookbook_name”=>“accounts”, “action”=>“show_file”, “controller”=>“cookbooks”, “checksum”=>“c4e497a0095ac8fe9a40995b7ed3a6e3”}
merb : chef-server (api) : worker (port 4000) ~ File with checksum c4e497a0095ac8fe9a40995b7ed3a6e3 not found in the repository (this should not happen) - (Merb::ControllerExceptions::InternalServerError)
/usr/lib/ruby/gems/1.8/gems/chef-server-api-0.9.12/app/controllers/cookbooks.rb:88:in show_file' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:321:insend’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:321:in _call_action' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:289:in_dispatch’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in catch' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in_dispatch’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:285:in _dispatch' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:262:in_call’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:252:in call' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:91:indispatch_action’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:69:in handle' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:29:inhandle’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/application.rb:17:in call' /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:incall’
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in pre_process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:incatch’
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in pre_process' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:57:inprocess’
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:42:in receive_data' /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:inrun_machine’
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in run' /usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/backends/base.rb:57:instart’
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/server.rb:156:in start' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/thin.rb:30:instart_server’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:305:in start_at_port' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:138:instart’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:174:in bootup' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:159:indaemonize’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:143:in fork' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:143:indaemonize’
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:35:in start' /usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core.rb:165:instart’
/usr/lib/ruby/gems/1.8/gems/chef-server-api-0.9.12/bin/chef-server:83
/usr/bin/chef-server:19:in `load’
/usr/bin/chef-server:19


De: le.huy@ingdirect.es [mailto:le.huy@ingdirect.es]
Enviado el: viernes, 24 de diciembre de 2010 9:04
Para: chef@lists.opscode.com
Asunto: [chef] RE: Re: 500 “Internal Server Error” chef-server-webui version 0.9.12

It seems no error in server-api.log


[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Reconstituted (user-supplied) request signature: NHx1fp2xAnjqkvqP46a7Y89rmUIvyYvVot+rBTlyVd/cEpwkc0tC5GrhOrxE
GvtqCe4Ef+9O1xhrqCgC0aiysWPATmUNyi2qTXZKvFxRjgdqjGgb3zSV3J+W
6u+c/JKdjaU8f4h6ObdSliBGmV5Vcs3shpJ/3XF2SJRVjF+P9ynRXOsIQC7J
XflPxFkj+mL37XRo4ATu2NJoZo/RcCz0RWgf/Ejm2pYbErmvMcg6dOSALdzZ
Tg0FFlSmugBbncc+FMpDAiyFKh+rqvfY1IZAxTJ3ndxiSQq9jK+dmFDu1a0R
ACj6XJseIUFF9DdbKSQrGrD9dOfcCSsPaa4vj43XmQ==
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Verifying request signature:
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Expected Block is: ‘Method:GET
Hashed Path:xfdXWd6yGT1GqK4SAI39/0pv+m0=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2010-12-24T07:59:10Z
X-Ops-UserId:chef-webui’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Decrypted block is: ‘Method:GET
Hashed Path:xfdXWd6yGT1GqK4SAI39/0pv+m0=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2010-12-24T07:59:10Z
X-Ops-UserId:chef-webui’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Signatures match? : ‘true’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Request time difference: 0.683841, within 900 seconds? : true
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Expected content hash is: ‘2jmj7l5rSw0yVb/vlWAYkK/YBwk=’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Request Content Hash is: ‘2jmj7l5rSw0yVb/vlWAYkK/YBwk=’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Hashes match?: true
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/cookbooks/_view/all_with_version
[Fri, 24 Dec 2010 08:59:10 +0100] INFO: Authenticating client chef-webui
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Authenticating Client:
#<Chef::ApiClient:0xb7b23a9c @couchdb=#<Chef::CouchDB:0xb7b28c04 @rest=#<Chef::REST:0xb7b28bc8 @auth_credentials=#<Chef::REST::AuthCredentials:0xb7b28a9c @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url=“http://localhost:5984”, @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db=“chef”>, @private_key=nil, @couchdb_id=“dca9b141-deef-477c-8c0f-5b98bd8bc863”, @name=“chef-webui”, @public_key="-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCAQEA1faHcKiU4+Y3ntxfCenVEdF04smZ8kI3/PHmvxQp7HEfLBXafHs/\na0oXR8Pt0Ka3mCSQH0zQm0Qte4m0SgnqD83HNztJzLzmcCfj2KHyKJ42DL10I6Hy\nyoNKbf6Ac1ma40nt86CDJ+SNj6GoEqXNer4bqVRPtJJMESYv0ooYdLuBUKSHmmOL\n0NxLYWJ2FFoSwFd0ixWYdseyIQVnsix6f9lYLBJlYhK4/ONcvubCAMYoRMfs3i9J\nSrTuVeOEDoNPmRG1suCu/WoSvskaNmURgf8tuqreL29DCZKr9oDKns+dBuovpeOB\nJT6zN7ij48wGByiV92sihCdgrxO+iIQjNwIDAQAB\n-----END RSA PUBLIC KEY-----\n", @couchdb_rev=“1-060f05a37ad4e27c193e219815a430cb”, @index_id=“dca9b141-deef-477c-8c0f-5b98bd8bc863”, @admin=true>

[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Initializing header auth : #<Merb::Request:0xb7b2a4f0 @xml_params=nil, @body_and_query_params={}, @body=#StringIO:0xb7b2aa40, @env={“HTTP_X_CHEF_VERSION”=>“0.9.12”, “HTTP_X_OPS_TIMESTAMP”=>“2010-12-24T07:59:10Z”, “SERVER_NAME”=>“localhost”, “async.callback”=>#<Method: Thin::Connection#post_process>, “rack.url_scheme”=>“http”, “HTTP_X_OPS_SIGN”=>“version=1.0”, “PATH_INFO”=>"/cookbooks/accounts/0.0.0", “rack.run_once”=>false, “rack.input”=>#StringIO:0xb7b2aa40, “merb.status”=>200, “merb.request”=>#<Merb::Request:0xb7b2a4f0 …>, “SCRIPT_NAME”=>"", “SERVER_PROTOCOL”=>“HTTP/1.1”, “HTTP_HOST”=>“localhost:4000”, “HTTP_X_OPS_CONTENT_HASH”=>“2jmj7l5rSw0yVb/vlWAYkK/YBwk=”, “rack.errors”=>#IO:/dev/null, “REMOTE_ADDR”=>“127.0.0.1”, “REQUEST_PATH”=>"/cookbooks/accounts/0.0.0", “SERVER_SOFTWARE”=>“thin 1.2.5 codename This Is Not A Web Server”, “HTTP_X_OPS_AUTHORIZATION_1”=>“lUzh9cZhXgJvt+3GNXvbfQurcxbAP8r3m2vsFRFpovrEBnILAXNAyBtdzJir”, “merb.request_start”=>Fri Dec 24 08:59:10 +0100 2010, “HTTP_X_OPS_AUTHORIZATION_2”=>"+mdrEzPYqvXYSpbXiU8mDPGynbcz6JlsJQJZNFOPyWFZvZEbyfwk9LGd+M2z", “HTTP_VERSION”=>“HTTP/1.1”, “rack.multithread”=>false, “rack.version”=>[1, 0], “async.close”=>#EventMachine::DefaultDeferrable:0xb7b2a568, “HTTP_X_OPS_AUTHORIZATION_3”=>“crnnFa1sgr69j7f68ODR6CmzbADFC9e7s0sXwiB9943ltSAR5/fCRdOQLdxZ”, “REQUEST_URI”=>"/cookbooks/accounts/0.0.0", “rack.multiprocess”=>false, “merb.action_name”=>“show”, “SERVER_PORT”=>“4000”, “HTTP_X_OPS_AUTHORIZATION_4”=>“e4C5FeDRbiTNV39+zyRu2y6JJI6B8lyvlMxb1ROttMxxOluVeh695MierDuw”, “QUERY_STRING”=>"", “GATEWAY_INTERFACE”=>“CGI/1.2”, “HTTP_X_OPS_AUTHORIZATION_5”=>“coPmr27aTsIAb2ggUNZXxMqjysF8vpCz7HnxJl9LNPF8z1gAnCuVSjbZlpg5”, “HTTP_X_OPS_AUTHORIZATION_6”=>“LwOTqdWO8bpmdoM1T61/AaeQwDsjV0xWpVbBncxh5g==”, “HTTP_ACCEPT”=>“application/json”, “HTTP_X_OPS_USERID”=>“chef-webui”, “HTTP_CONNECTION”=>“close”, “REQUEST_METHOD”=>“GET”}, @multipart_params={}, @start=Fri Dec 24 08:59:10 +0100 2010, @json_params=nil, @query_params={}, @method=:get, @params={“cookbook_version”=>“0.0.0”, “cookbook_name”=>“accounts”, “action”=>“show”, “controller”=>“cookbooks”}, @body_params=nil, @route=/cookbooks/:cookbook_name/:cookbook_version, @route_params={:controller=>“cookbooks”, :cookbook_name=>“accounts”, :action=>“show”, :cookbook_version=>“0.0.0”}>
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Parsed signing description: {:version=>“1.0”}
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Digesting body: ‘’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Reconstituted (user-supplied) request signature: lUzh9cZhXgJvt+3GNXvbfQurcxbAP8r3m2vsFRFpovrEBnILAXNAyBtdzJir
+mdrEzPYqvXYSpbXiU8mDPGynbcz6JlsJQJZNFOPyWFZvZEbyfwk9LGd+M2z
crnnFa1sgr69j7f68ODR6CmzbADFC9e7s0sXwiB9943ltSAR5/fCRdOQLdxZ
e4C5FeDRbiTNV39+zyRu2y6JJI6B8lyvlMxb1ROttMxxOluVeh695MierDuw
coPmr27aTsIAb2ggUNZXxMqjysF8vpCz7HnxJl9LNPF8z1gAnCuVSjbZlpg5
LwOTqdWO8bpmdoM1T61/AaeQwDsjV0xWpVbBncxh5g==
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Verifying request signature:
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Expected Block is: ‘Method:GET
Hashed Path:jAqZRoeAcp/n1NtdSLHt4WjJ6jk=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2010-12-24T07:59:10Z
X-Ops-UserId:chef-webui’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Decrypted block is: ‘Method:GET
Hashed Path:jAqZRoeAcp/n1NtdSLHt4WjJ6jk=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2010-12-24T07:59:10Z
X-Ops-UserId:chef-webui’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Signatures match? : ‘true’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Request time difference: 0.705434, within 900 seconds? : true
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Expected content hash is: ‘2jmj7l5rSw0yVb/vlWAYkK/YBwk=’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Request Content Hash is: ‘2jmj7l5rSw0yVb/vlWAYkK/YBwk=’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Hashes match?: true
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[Fri, 24 Dec 2010 08:59:10 +0100] INFO: Authenticating client chef-webui
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Authenticating Client:
#<Chef::ApiClient:0xb7b01618 @couchdb=#<Chef::CouchDB:0xb7b05934 @rest=#<Chef::REST:0xb7b058f8 @auth_credentials=#<Chef::REST::AuthCredentials:0xb7b057a4 @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url=“http://localhost:5984”, @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db=“chef”>, @private_key=nil, @couchdb_id=“dca9b141-deef-477c-8c0f-5b98bd8bc863”, @name=“chef-webui”, @public_key="-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCAQEA1faHcKiU4+Y3ntxfCenVEdF04smZ8kI3/PHmvxQp7HEfLBXafHs/\na0oXR8Pt0Ka3mCSQH0zQm0Qte4m0SgnqD83HNztJzLzmcCfj2KHyKJ42DL10I6Hy\nyoNKbf6Ac1ma40nt86CDJ+SNj6GoEqXNer4bqVRPtJJMESYv0ooYdLuBUKSHmmOL\n0NxLYWJ2FFoSwFd0ixWYdseyIQVnsix6f9lYLBJlYhK4/ONcvubCAMYoRMfs3i9J\nSrTuVeOEDoNPmRG1suCu/WoSvskaNmURgf8tuqreL29DCZKr9oDKns+dBuovpeOB\nJT6zN7ij48wGByiV92sihCdgrxO+iIQjNwIDAQAB\n-----END RSA PUBLIC KEY-----\n", @couchdb_rev=“1-060f05a37ad4e27c193e219815a430cb”, @index_id=“dca9b141-deef-477c-8c0f-5b98bd8bc863”, @admin=true>

[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Initializing header auth : #<Merb::Request:0xb7b07270 @xml_params=nil, @body_and_query_params={}, @body=#StringIO:0xb7b077d4, @env={“HTTP_X_CHEF_VERSION”=>“0.9.12”, “HTTP_X_OPS_TIMESTAMP”=>“2010-12-24T07:59:10Z”, “SERVER_NAME”=>“localhost”, “async.callback”=>#<Method: Thin::Connection#post_process>, “rack.url_scheme”=>“http”, “HTTP_X_OPS_SIGN”=>“version=1.0”, “PATH_INFO”=>"/cookbooks/accounts/0.0.0/files/653113e18670914c56c96ca687063864", “rack.run_once”=>false, “rack.input”=>#StringIO:0xb7b077d4, “merb.status”=>200, “merb.request”=>#<Merb::Request:0xb7b07270 …>, “SCRIPT_NAME”=>"", “SERVER_PROTOCOL”=>“HTTP/1.1”, “HTTP_HOST”=>“localhost:4000”, “HTTP_X_OPS_CONTENT_HASH”=>“2jmj7l5rSw0yVb/vlWAYkK/YBwk=”, “rack.errors”=>#IO:/dev/null, “REMOTE_ADDR”=>“127.0.0.1”, “REQUEST_PATH”=>"/cookbooks/accounts/0.0.0/files/653113e18670914c56c96ca687063864", “SERVER_SOFTWARE”=>“thin 1.2.5 codename This Is Not A Web Server”, “HTTP_X_OPS_AUTHORIZATION_1”=>“cdqiWe4pU1BfBWLn27b3XHwQhxDWMHeiNX56djYEAgVn3gW7k2wL1I+p0PH0”, “merb.request_start”=>Fri Dec 24 08:59:10 +0100 2010, “HTTP_X_OPS_AUTHORIZATION_2”=>“6r3Zy2aPJ9fUOKpwxdut87peKIAjY8oLlIJPyHCvVXvndK403nEnIz4PHwkM”, “HTTP_VERSION”=>“HTTP/1.1”, “rack.multithread”=>false, “rack.version”=>[1, 0], “async.close”=>#EventMachine::DefaultDeferrable:0xb7b072fc, “HTTP_X_OPS_AUTHORIZATION_3”=>“5aZJCQ2mk3Sb9MJC3+DIEvUh6KogSs5GZiG0W0UQF+53gGuHBHK4TWPCbJtR”, “REQUEST_URI”=>"/cookbooks/accounts/0.0.0/files/653113e18670914c56c96ca687063864", “rack.multiprocess”=>false, “merb.action_name”=>“show_file”, “SERVER_PORT”=>“4000”, “HTTP_X_OPS_AUTHORIZATION_4”=>“Hkc/VOKldPf8OKL16KYV4rRhVBSmpW2ke+lgpbw/YO/Dkq5KnGMfJ3xWBiDr”, “QUERY_STRING”=>"", “GATEWAY_INTERFACE”=>“CGI/1.2”, “HTTP_X_OPS_AUTHORIZATION_5”=>“muc0Cc2tlU2uHqfMw9q9w/y2c9PjSQCo1sds1YvTk85rbLR6j3MJ/uspwH2k”, “HTTP_X_OPS_AUTHORIZATION_6”=>"+jpykIh/YAilHIU+Dh8gj/BaYvIwXp04cIuIHgaKOA==", “HTTP_ACCEPT”=>"/", “HTTP_X_OPS_USERID”=>“chef-webui”, “HTTP_CONNECTION”=>“close”, “REQUEST_METHOD”=>“GET”}, @multipart_params={}, @start=Fri Dec 24 08:59:10 +0100 2010, @json_params=nil, @query_params={}, @method=:get, @params={“cookbook_version”=>“0.0.0”, “cookbook_name”=>“accounts”, “action”=>“show_file”, “controller”=>“cookbooks”, “checksum”=>“653113e18670914c56c96ca687063864”}, @body_params=nil, @route=/cookbooks/:cookbook_name/:cookbook_version/files/:checksum, @route_params={:checksum=>“653113e18670914c56c96ca687063864”, :controller=>“cookbooks”, :cookbook_name=>“accounts”, :action=>“show_file”, :cookbook_version=>“0.0.0”}>
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Parsed signing description: {:version=>“1.0”}
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Digesting body: ‘’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Reconstituted (user-supplied) request signature: cdqiWe4pU1BfBWLn27b3XHwQhxDWMHeiNX56djYEAgVn3gW7k2wL1I+p0PH0
6r3Zy2aPJ9fUOKpwxdut87peKIAjY8oLlIJPyHCvVXvndK403nEnIz4PHwkM
5aZJCQ2mk3Sb9MJC3+DIEvUh6KogSs5GZiG0W0UQF+53gGuHBHK4TWPCbJtR
Hkc/VOKldPf8OKL16KYV4rRhVBSmpW2ke+lgpbw/YO/Dkq5KnGMfJ3xWBiDr
muc0Cc2tlU2uHqfMw9q9w/y2c9PjSQCo1sds1YvTk85rbLR6j3MJ/uspwH2k
+jpykIh/YAilHIU+Dh8gj/BaYvIwXp04cIuIHgaKOA==
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Verifying request signature:
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Expected Block is: ‘Method:GET
Hashed Path:KH3CBPbSgwzIa9czwMU72HVYxow=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2010-12-24T07:59:10Z
X-Ops-UserId:chef-webui’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Decrypted block is: ‘Method:GET
Hashed Path:KH3CBPbSgwzIa9czwMU72HVYxow=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2010-12-24T07:59:10Z
X-Ops-UserId:chef-webui’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Signatures match? : ‘true’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Request time difference: 0.73099, within 900 seconds? : true
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Expected content hash is: ‘2jmj7l5rSw0yVb/vlWAYkK/YBwk=’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Request Content Hash is: ‘2jmj7l5rSw0yVb/vlWAYkK/YBwk=’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Hashes match?: true
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[Fri, 24 Dec 2010 08:59:10 +0100] INFO: Authenticating client chef-webui
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Authenticating Client:
#<Chef::ApiClient:0xb7adc610 @couchdb=#<Chef::CouchDB:0xb7ae8334 @rest=#<Chef::REST:0xb7ae826c @auth_credentials=#<Chef::REST::AuthCredentials:0xb7ae7b3c @key_file=nil, @client_name=nil>, @cookies={}, @sign_request=true, @default_headers={}, @url=“http://localhost:5984”, @sign_on_redirect=true, @redirect_limit=10, @redirects_followed=0>, @db=“chef”>, @private_key=nil, @couchdb_id=“dca9b141-deef-477c-8c0f-5b98bd8bc863”, @name=“chef-webui”, @public_key="-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCAQEA1faHcKiU4+Y3ntxfCenVEdF04smZ8kI3/PHmvxQp7HEfLBXafHs/\na0oXR8Pt0Ka3mCSQH0zQm0Qte4m0SgnqD83HNztJzLzmcCfj2KHyKJ42DL10I6Hy\nyoNKbf6Ac1ma40nt86CDJ+SNj6GoEqXNer4bqVRPtJJMESYv0ooYdLuBUKSHmmOL\n0NxLYWJ2FFoSwFd0ixWYdseyIQVnsix6f9lYLBJlYhK4/ONcvubCAMYoRMfs3i9J\nSrTuVeOEDoNPmRG1suCu/WoSvskaNmURgf8tuqreL29DCZKr9oDKns+dBuovpeOB\nJT6zN7ij48wGByiV92sihCdgrxO+iIQjNwIDAQAB\n-----END RSA PUBLIC KEY-----\n", @couchdb_rev=“1-060f05a37ad4e27c193e219815a430cb”, @index_id=“dca9b141-deef-477c-8c0f-5b98bd8bc863”, @admin=true>

[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Initializing header auth : #<Merb::Request:0xb7aea530 @xml_params=nil, @body_and_query_params={}, @body=#StringIO:0xb7aec5ec, @env={“HTTP_X_CHEF_VERSION”=>“0.9.12”, “HTTP_X_OPS_TIMESTAMP”=>“2010-12-24T07:59:10Z”, “SERVER_NAME”=>“localhost”, “async.callback”=>#<Method: Thin::Connection#post_process>, “rack.url_scheme”=>“http”, “HTTP_X_OPS_SIGN”=>“version=1.0”, “PATH_INFO”=>"/cookbooks/accounts/0.0.0/files/c4e497a0095ac8fe9a40995b7ed3a6e3", “rack.run_once”=>false, “rack.input”=>#StringIO:0xb7aec5ec, “merb.status”=>200, “merb.request”=>#<Merb::Request:0xb7aea530 …>, “SCRIPT_NAME”=>"", “SERVER_PROTOCOL”=>“HTTP/1.1”, “HTTP_HOST”=>“localhost:4000”, “HTTP_X_OPS_CONTENT_HASH”=>“2jmj7l5rSw0yVb/vlWAYkK/YBwk=”, “rack.errors”=>#IO:/dev/null, “REMOTE_ADDR”=>“127.0.0.1”, “REQUEST_PATH”=>"/cookbooks/accounts/0.0.0/files/c4e497a0095ac8fe9a40995b7ed3a6e3", “SERVER_SOFTWARE”=>“thin 1.2.5 codename This Is Not A Web Server”, “HTTP_X_OPS_AUTHORIZATION_1”=>“ka5Ra9PV1mR1CJdd0Y+4pr6SttM7HV6+Zce7fjzuLSltWHWIjjCblFT/XZDD”, “merb.request_start”=>Fri Dec 24 08:59:10 +0100 2010, “HTTP_X_OPS_AUTHORIZATION_2”=>“5loDCQQkzhXZLlM5hrVFgIu9uI/gcAIPKCXgmjADCb4N4rSuGPeHSeOtDGkg”, “HTTP_VERSION”=>“HTTP/1.1”, “rack.multithread”=>false, “rack.version”=>[1, 0], “async.close”=>#EventMachine::DefaultDeferrable:0xb7aea5e4, “HTTP_X_OPS_AUTHORIZATION_3”=>"/Nhzt0zFNg/dOHnMQIOdayOBIHgmKGw/zdz1RS8uQCrYRlbxISUjgC+YSg7r", “REQUEST_URI”=>"/cookbooks/accounts/0.0.0/files/c4e497a0095ac8fe9a40995b7ed3a6e3", “rack.multiprocess”=>false, “merb.action_name”=>“show_file”, “SERVER_PORT”=>“4000”, “HTTP_X_OPS_AUTHORIZATION_4”=>“VDNvIQspPMYPQDj0BtqFj7+klzeiaDn/3+ExVwPEUcdqPjWLvhXkisEJG7Dd”, “QUERY_STRING”=>"", “GATEWAY_INTERFACE”=>“CGI/1.2”, “HTTP_X_OPS_AUTHORIZATION_5”=>“wkA1yvYSLxj6sgI6EfcrrrCk0gs7MrOXPmpBQRHPHAKE7fZFiCQYxGtWmaQH”, “HTTP_X_OPS_AUTHORIZATION_6”=>“iW5H4kA0GTW+Zq1lxJGzr4dc8MgdsiqtTg1rVYtgJQ==”, “HTTP_ACCEPT”=>"/", “HTTP_X_OPS_USERID”=>“chef-webui”, “HTTP_CONNECTION”=>“close”, “REQUEST_METHOD”=>“GET”}, @multipart_params={}, @start=Fri Dec 24 08:59:10 +0100 2010, @json_params=nil, @query_params={}, @method=:get, @params={“cookbook_version”=>“0.0.0”, “cookbook_name”=>“accounts”, “action”=>“show_file”, “controller”=>“cookbooks”, “checksum”=>“c4e497a0095ac8fe9a40995b7ed3a6e3”}, @body_params=nil, @route=/cookbooks/:cookbook_name/:cookbook_version/files/:checksum, @route_params={:checksum=>“c4e497a0095ac8fe9a40995b7ed3a6e3”, :controller=>“cookbooks”, :cookbook_name=>“accounts”, :action=>“show_file”, :cookbook_version=>“0.0.0”}>
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Parsed signing description: {:version=>“1.0”}
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Digesting body: ‘’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Reconstituted (user-supplied) request signature: ka5Ra9PV1mR1CJdd0Y+4pr6SttM7HV6+Zce7fjzuLSltWHWIjjCblFT/XZDD
5loDCQQkzhXZLlM5hrVFgIu9uI/gcAIPKCXgmjADCb4N4rSuGPeHSeOtDGkg
/Nhzt0zFNg/dOHnMQIOdayOBIHgmKGw/zdz1RS8uQCrYRlbxISUjgC+YSg7r
VDNvIQspPMYPQDj0BtqFj7+klzeiaDn/3+ExVwPEUcdqPjWLvhXkisEJG7Dd
wkA1yvYSLxj6sgI6EfcrrrCk0gs7MrOXPmpBQRHPHAKE7fZFiCQYxGtWmaQH
iW5H4kA0GTW+Zq1lxJGzr4dc8MgdsiqtTg1rVYtgJQ==
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Verifying request signature:
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Expected Block is: ‘Method:GET
Hashed Path:MojMFrmwG/RBYz9GwPTxbFL1e/Q=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2010-12-24T07:59:10Z
X-Ops-UserId:chef-webui’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Decrypted block is: ‘Method:GET
Hashed Path:MojMFrmwG/RBYz9GwPTxbFL1e/Q=
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
X-Ops-Timestamp:2010-12-24T07:59:10Z
X-Ops-UserId:chef-webui’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Signatures match? : ‘true’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Request time difference: 0.760498, within 900 seconds? : true
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Expected content hash is: ‘2jmj7l5rSw0yVb/vlWAYkK/YBwk=’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Request Content Hash is: ‘2jmj7l5rSw0yVb/vlWAYkK/YBwk=’
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Hashes match?: true
[Fri, 24 Dec 2010 08:59:10 +0100] DEBUG: Sending HTTP Request via GET to localhost:5984/chef/_design/id_map/_view/name_to_id


De: ddeleo@kallistec.com [mailto:ddeleo@kallistec.com] En nombre de Daniel DeLeo
Enviado el: jueves, 23 de diciembre de 2010 18:58
Para: chef@lists.opscode.com
Asunto: [chef] Re: 500 “Internal Server Error” chef-server-webui version 0.9.12

Can you show us the corresponding error from the API server?

On Thu, Dec 23, 2010 at 9:29 AM, le.huy@ingdirect.es wrote:

after upgrade to verison 0.9.12 I got the following error when accessing cookbook from web interface
 
 
[Thu, 23 Dec 2010 18:26:55 +0100] DEBUG: Signing the request as chef-webui
[Thu, 23 Dec 2010 18:26:55 +0100] DEBUG: Sending HTTP Request via GET to localhost:4000/cookbooks/accounts/0.0.0/files/c4e497a0095ac8fe9a40995b7ed3a6         e3
[Thu, 23 Dec 2010 18:26:55 +0100] DEBUG: Streaming download from http://localhost:4000/cookbooks/accounts/0.0.0/files/c4e497a0095ac8fe9a40995b7ed3a6e         3 to tempfile /tmp/chef-rest.6329.0
[Thu, 23 Dec 2010 18:26:55 +0100] ERROR: 500 "Internal Server Error"
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:269:in `streaming_request'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:284:in `retriable_rest_request'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:247:in `streaming_request'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/lib/chef/rest.rb:135:in `fetch'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/application.rb:216:in `syntax_highlight'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/views/cookbooks/show.html.haml:27:in `__usr__lib__ruby__gems__1_8__gems__chef__server__webui         __0_9_12__app__views__cookbooks__show_html_haml'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/views/cookbooks/show.html.haml:24:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/views/cookbooks/show.html.haml:24:in `__usr__lib__ruby__gems__1_8__gems__chef__server__webui         __0_9_12__app__views__cookbooks__show_html_haml'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:137:in `send'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:137:in `render'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:222:in `display'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/app/controllers/cookbooks.rb:64:in `show'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:321:in `send'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:321:in `_call_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in `catch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/abstract_controller.rb:284:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:285:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:262:in `_call'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/merb_controller.rb:252:in `call'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:91:in `dispatch_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:69:in `handle'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/dispatch/dispatcher.rb:29:in `handle'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/application.rb:17:in `call'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/middleware/static.rb:28:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:in `call'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:76:in `pre_process'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `catch'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:74:in `pre_process'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:57:in `process'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/backends/base.rb:57:in `start'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.5/lib/thin/server.rb:156:in `start'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/thin.rb:30:in `start_server'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:305:in `start_at_port'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/rack/adapter/abstract.rb:138:in `start'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:174:in `bootup'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:159:in `daemonize'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:143:in `fork'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:143:in `daemonize'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core/server.rb:35:in `start'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.1.3/lib/merb-core.rb:165:in `start'
/usr/lib/ruby/gems/1.8/gems/chef-server-webui-0.9.12/bin/chef-server-webui:70
/usr/bin/chef-server-webui:19:in `load'
/usr/bin/chef-server-webui:19

 





Huy Le
Tecnología ING DIRECT
Administrador de sistema
Tel: +34 91 206 76 85

 Por favor, no imprima este correo si no es necesario.

Attention:
The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. 


Attention:
The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies.



Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.


#2

On Fri, Dec 24, 2010 at 1:30 AM, le.huy@ingdirect.es wrote:

I also got this error

undefined method `fdiv’ for 2526:Fixnum when try to access some cookbook

This is also a known issue that’s already been fixed. You can workaround by
adding this to your configuration file:

unless 0.respond_to?(:fdiv)
class Numeric
def fdiv(numeric)
to_f / numeric
end
end

end

The bug is reported here: http://tickets.opscode.com/browse/CHEF-1905

Dan DeLeo