By the adventrous KETE installation on Ubuntu server, 500 error is
gone, but I''m missing still some crucial intallation steps (?) Upon
ruby script/server command the server generates the following error.
The development database is empty. I entered in to basket table just a
dummy name.
Thanks being patient with me.
----------------------------------------------------------------
=> Booting WEBrick...
Rails Error: Unable to access log file. Please ensure that /home/kete/
apps/
kato/
log/development.log exists and is chmod 0666. The log level has been
raised to
W
ARN and the output directed to STDERR until the problem is fixed.
=> Rails 2.1.2 application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2010-02-08 04:52:15] INFO WEBrick 1.3.1
[2010-02-08 04:52:15] INFO ruby 1.8.7 (2009-06-12) [i686-linux]
[2010-02-08 04:52:15] INFO WEBrick::HTTPServer#start: pid=18687
port=3000
------------------------------------------------------------------
NameError in Index pageController#index
uninitialized constant Basket::HELP_BASKET
RAILS_ROOT: /home/kete/apps/kato
Application Trace | Framework Trace | Full Trace
vendor/rails/activesupport/lib/active_support/dependencies.rb:493:in
`const_missing''
app/models/basket.rb:49
app/controllers/application.rb:143:in `load_standard_baskets''
vendor/rails/activesupport/lib/active_support/dependencies.rb:493:in
`const_missing''
vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_without_new_constant_marking''
vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_file''
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in
`load_file''
vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in
`require_or_load''
vendor/rails/activesupport/lib/active_support/dependencies.rb:261:in
`load_missing_constant''
vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in
`const_missing''
vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in
`const_missing''
vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
`send''
vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
`const_missing''
vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in
`send''
vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in
`evaluate_method''
vendor/rails/activesupport/lib/active_support/callbacks.rb:161:in
`call''
vendor/rails/actionpack/lib/action_controller/filters.rb:191:in `call''
vendor/rails/actionpack/lib/action_controller/filters.rb:591:in
`run_before_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:577:in
`call_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:572:in
`perform_action_without_benchmark''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue''
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue''
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in
`perform_action_without_caching''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
13:in `perform_action''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/query_cache.rb:33:in `cache''
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
12:in `perform_action''
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send''
vendor/rails/actionpack/lib/action_controller/base.rb:529:in
`process_without_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:568:in
`process_without_session_management_support''
vendor/rails/actionpack/lib/action_controller/session_management.rb:
130:in `process''
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
`handle_request''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
`dispatch''
vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch''
vendor/rails/railties/lib/webrick_server.rb:78:in `service''
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each''
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start''
vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch''
vendor/rails/railties/lib/commands/servers/webrick.rb:66
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require''
vendor/rails/railties/lib/commands/server.rb:39
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
script/server:3
vendor/rails/activesupport/lib/active_support/dependencies.rb:493:in
`const_missing''
app/models/basket.rb:49
vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_without_new_constant_marking''
vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
`load_file''
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in
`load_file''
vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in
`require_or_load''
vendor/rails/activesupport/lib/active_support/dependencies.rb:261:in
`load_missing_constant''
vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in
`const_missing''
vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in
`const_missing''
vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
`send''
vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
`const_missing''
app/controllers/application.rb:143:in `load_standard_baskets''
vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in
`send''
vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in
`evaluate_method''
vendor/rails/activesupport/lib/active_support/callbacks.rb:161:in
`call''
vendor/rails/actionpack/lib/action_controller/filters.rb:191:in `call''
vendor/rails/actionpack/lib/action_controller/filters.rb:591:in
`run_before_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:577:in
`call_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:572:in
`perform_action_without_benchmark''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue''
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue''
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in
`perform_action_without_caching''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
13:in `perform_action''
vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/query_cache.rb:33:in `cache''
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache''
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:
12:in `perform_action''
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send''
vendor/rails/actionpack/lib/action_controller/base.rb:529:in
`process_without_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:568:in
`process_without_session_management_support''
vendor/rails/actionpack/lib/action_controller/session_management.rb:
130:in `process''
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
`handle_request''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi''
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
`dispatch''
vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch''
vendor/rails/railties/lib/webrick_server.rb:78:in `service''
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each''
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start''
vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch''
vendor/rails/railties/lib/commands/servers/webrick.rb:66
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require''
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in''
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require''
vendor/rails/railties/lib/commands/server.rb:39
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
script/server:3
Request
Parameters:
{"urlified_name"=>"kete"}
Show session dump
---
flash: !map:ActionController::Flash::FlashHash {}
On Feb 6, 12:29 pm, Frederick Cheung
<frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> On Feb 6, 6:50 am, nbsimsah
<sim...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > I have on ubuntu a digital library application Kete which gives in the
> > log/production.log:
>
> > Please help, thnx.
>
> > /!\ FAILSAFE /!\ Fri Feb 05 19:05:08 +0200 2010
> > Status: 500 Internal Server Error
> > No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED:
> > Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38
> > +0200 2010)
>
> Looks like your app is trying to use memcache but it couldn''t talk
to
> the memcache server.
>
> Fred
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.