发件人:"陈明杰" <[email protected]>
发送日期:2011-08-05 20:28:53
收件人:[email protected]
主题:I encounter a 500 error

I cound’t open the homepage of mysite. It appear a 500 page. But the contact 
page is ok, also the search function. But when I try to login,it says couldn’t 
find the page.
here is my error log :
Errno::ECONNRESET (Connection reset by peer):
  /opt/ruby-enterprise/lib/ruby/1.8/net/protocol.rb:135:in `sysread'
  /opt/ruby-enterprise/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
  /opt/ruby-enterprise/lib/ruby/1.8/timeout.rb:62:in `timeout'
  /opt/ruby-enterprise/lib/ruby/1.8/timeout.rb:93:in `timeout'
  /opt/ruby-enterprise/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
  /opt/ruby-enterprise/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
  /opt/ruby-enterprise/lib/ruby/1.8/net/protocol.rb:126:in `readline'
  /opt/ruby-enterprise/lib/ruby/1.8/net/http.rb:2024:in `read_status_line'
  /opt/ruby-enterprise/lib/ruby/1.8/net/http.rb:2013:in `read_new'
  /opt/ruby-enterprise/lib/ruby/1.8/net/http.rb:1050:in `request'
  /opt/ruby-enterprise/lib/ruby/1.8/open-uri.rb:248:in `open_http'
  /opt/ruby-enterprise/lib/ruby/1.8/net/http.rb:543:in `start'
  /opt/ruby-enterprise/lib/ruby/1.8/open-uri.rb:242:in `open_http'
  /opt/ruby-enterprise/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
  /opt/ruby-enterprise/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
  /opt/ruby-enterprise/lib/ruby/1.8/open-uri.rb:162:in `catch'
  /opt/ruby-enterprise/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
  /opt/ruby-enterprise/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
  /opt/ruby-enterprise/lib/ruby/1.8/open-uri.rb:518:in `open'
  /opt/ruby-enterprise/lib/ruby/1.8/open-uri.rb:30:in `open'
  app/models/blog_feed.rb:13:in `fetch'
  app/controllers/site_controller.rb:92:in `render_gitorious_dot_org_in_public'
  vendor/rails/activesupport/lib/active_support/cache.rb:162:in `fetch'
  vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
  /opt/ruby-enterprise/lib/ruby/1.8/benchmark.rb:308:in `realtime'
  vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
  vendor/rails/activesupport/lib/active_support/cache.rb:162:in `fetch'
  app/controllers/site_controller.rb:91:in `render_gitorious_dot_org_in_public'
  app/controllers/site_controller.rb:102:in `render_global_index'
  app/controllers/site_controller.rb:33:in `index'
  vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send'
  vendor/rails/actionpack/lib/action_controller/base.rb:1331:in 
`perform_action_without_filters'
  vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
  vendor/rails/actionpack/lib/action_controller/filters.rb:610:in 
`perform_action_without_benchmark'
  vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in 
`perform_action_without_rescue'
  vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
  /opt/ruby-enterprise/lib/ruby/1.8/benchmark.rb:308:in `realtime'
  vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
  vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in 
`perform_action_without_rescue'
  vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in 
`perform_action_without_flash'
  vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action'
  vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'
  vendor/rails/actionpack/lib/action_controller/base.rb:532:in 
`process_without_filters'
  vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'
  vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
  vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
  vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in 
`call'
  vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
  vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
  vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130
  vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
  vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
  
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
 `cache'
  vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
  vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
  
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
 `call'
  vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'
  mainline/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
  mainline/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
  vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
  vendor/rails/railties/lib/rails/rack/metal.rb:47:in `call'
  vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in 
`call'
  
vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:24:in
 `call'
  vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
  mainline/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
  mainline/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
  mainline/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
  vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/rack/request_handler.rb:96:in
 `process_request'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_request_handler.rb:513:in
 `accept_and_process_next_request'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_request_handler.rb:274:in
 `main_loop'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/classic_rails/application_spawner.rb:321:in
 `start_request_handler'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in
 `send'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in
 `handle_spawn_application'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/utils.rb:479:in
 `safe_fork'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/classic_rails/application_spawner.rb:270:in
 `handle_spawn_application'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:357:in
 `__send__'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:357:in
 `server_main_loop'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:206:in
 `start_synchronously'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:180:in
 `start'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/classic_rails/application_spawner.rb:149:in
 `start'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:219:in
 `spawn_rails_application'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server_collection.rb:132:in
 `lookup_or_add'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:214:in
 `spawn_rails_application'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server_collection.rb:82:in
 `synchronize'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server_collection.rb:79:in
 `synchronize'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:213:in
 `spawn_rails_application'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:132:in
 `spawn_application'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/spawn_manager.rb:275:in
 `handle_spawn_application'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:357:in
 `__send__'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:357:in
 `server_main_loop'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/lib/phusion_passenger/abstract_server.rb:206:in
 `start_synchronously'
  
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-3.0.8/helper-scripts/passenger-spawn-server:99
 
 
 
 
and here is my config/gitorious.yml:
#development:
 
production:
 
#test:
  # The session secret key (`apg -m 64` is always useful for this kinda stuff)
  cookie_secret: 
kraHugchiddEjduevKavnurcikvujoubloHikgocsingoozvugtydItFobhiHaykikkarryipghoalnobcobMemceejNovBucJermIk1OfcuwykWofDaijibKoosEep`BoodmassatmophHevAbinUchoasUmobuj{odBokMuvGefijdoychemwaydWeevAvIspOybyuIcmadUgegevIsphesJecyebnoxDuzodtaQuamgidOyggEitevSacfub@icDiDratyumphuvbennavhofEtshEfitdelnejBav0grugtirAykJefsadphicyaBimRegAdBydfaTwentomtOwHeipsyusicBynbythebDeHaicucgihecarnucdat4
# The path where git repositories are stored. The actual (bare) repositories 
resides
  # in repository_base_path/#{project.slug}/#{repository.name}.git/:
  repository_base_path: "/var/git"
 
  # Stuff that's in the html <head>. custom stats javascript code etc
  extra_html_head_data:
 
  # System message that will appear on all pages if present
  system_message:
 
  # Port the ./script/gitorious script should use:
  gitorious_client_port: 3000
 
  # Host the ./script/gitorious script should use:
  gitorious_client_host: localhost
 
  # Host which is serving the gitorious app, eg "gitorious.org"
  gitorious_host: 10.210.213.9
 
  # User which is running git daemon
  gitorious_user: git
 
  # Email address to the support for the Gitorious server
  gitorious_support_email:[email protected]
 
  # Email spam on server errors to:
  exception_notification_emails:
 
  # Mangle visible e-mail addresses (spam protection)
...
 
 
I would be grateful for you help!
 
 
 
 
 

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to