I use in my project Cassandra and after update ubuntu OS I catch next problems after start my RoR project:
Web application could not be started
No live servers in [#Thrift::BinaryProtocolAccelerated, :protocol_extra_params=>[], :transport=>Thrift::Socket, :transport_wrapper=>Thrift::FramedTransport, :raise=>true, :defaults=>{}, :exception_classes=>[IOError, Thrift::Exception, Thrift::ApplicationException, Thrift::TransportException], :exception_class_overrides=>[], :retries=>2, :server_retry_period=>0, :server_max_requests=>nil, :retry_overrides=>{}, :wrapped_exception_classes=>[Thrift::ApplicationException, Thrift::TransportException], :connect_timeout=>0.1, :timeout=>3, :timeout_overrides=>{}, :cached_connections=>false, :thrift_client_class=>ThriftClient}, @cached=false, @marked_down_til=2016-03-21 12:13:12 +0200, @connection=#, @rbuf="", @wbuf="", @read=true, @write=true, @index=0>, @transport_wrapper=Thrift::FramedTransport, @server="127.0.0.1:9160", @timeout=0.1>, @client=nil>]. (ThriftClient::NoServersAvailable)
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/thrift_client-0.8.4/lib/thrift_client/abstract_thrift_client.rb:219:inno_servers_available!'
rescue in connect!'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/thrift_client-0.8.4/lib/thrift_client/abstract_thrift_client.rb:105:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/thrift_client-0.8.4/lib/thrift_client/abstract_thrift_client.rb:96:inconnect!'
handled_proxy'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/thrift_client-0.8.4/lib/thrift_client/abstract_thrift_client.rb:159:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/thrift_client-0.8.4/lib/thrift_client/abstract_thrift_client.rb:53:inlogin'
login!'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/cassandra-0.23.0/lib/cassandra/cassandra.rb:124:in
/home/tk/WorkSpaceNew/server-new/lib/cassandra_connection_provider.rb:47:inconnect_to_cassandra'
connection'
/home/tk/WorkSpaceNew/server-new/lib/cassandra_connection_provider.rb:4:in
/home/tk/WorkSpaceNew/server-new/config/initializers/cassandra.rb:1:in<top (required)>'
load'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:inblock in load'
load_dependency'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:inload'
block (2 levels) in '
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/engine.rb:609:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/engine.rb:608:ineach'
block in '
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/engine.rb:608:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/initializable.rb:30:ininstance_exec'
run'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/initializable.rb:30:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/initializable.rb:55:inblock in run_initializers'
block in tsort_each'
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:150:in
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:183:inblock (2 levels) in each_strongly_connected_component'
block (2 levels) in each_strongly_connected_component_from'
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:210:in
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:219:ineach_strongly_connected_component_from'
block in each_strongly_connected_component_from'
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:209:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/initializable.rb:44:ineach'
tsort_each_child'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/initializable.rb:44:in
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:203:ineach_strongly_connected_component_from'
block in each_strongly_connected_component'
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:182:in
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:180:ineach'
each_strongly_connected_component'
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:180:in
/home/tk/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/tsort.rb:148:intsort_each'
run_initializers'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/initializable.rb:54:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/application.rb:215:ininitialize!'
method_missing'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in
/home/tk/WorkSpaceNew/server-new/config/environment.rb:8:in<top (required)>' config.ru:3:in
require' config.ru:3:inblock in <main>'
instance_eval'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.4/lib/rack/builder.rb:55:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.4/lib/rack/builder.rb:55:ininitialize' config.ru:1:in
new' config.ru:1:in<main>'
eval'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:110:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:110:inpreload_app'
'
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:156:in
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:30:in<module:PhusionPassenger>'
' Error ID 5f40a8bc
/home/tk/.rvm/gems/ruby-2.0.0-p353/gems/passenger-5.0.26/src/helper-scripts/rack-preloader.rb:29:in
I don't know why it is happens and how to fix it. Help me pls.
Aucun commentaire:
Enregistrer un commentaire