Sunspot初创公司取得了成功,但没有成功

时间:2019-03-10 13:57:24

标签: ruby-on-rails ruby solr sunspot

耙黑子:solr:开始

/Users/dmy/.rvm/gems/ruby-2.3.3/gems/simple_form-3.0.2/lib/simple_form/inputs/boolean_input.rb:38:警告:循环参数引用-unchecked_value /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:5:警告:已初始化的常量EmallInterface :: InvoiceType /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:4:警告:InvoiceType的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:13:警告:已初始化的常量EmallInterface :: InvoiceContent /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:12:警告:InvoiceContent的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:21:警告:已初始化的常量EmallInterface :: InvoiceState /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:20:警告:InvoiceState的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:29:警告:已初始化的常量EmallInterface :: PaymentType /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:28:警告:PaymentType的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:38:警告:已初始化的常量EmallInterface :: AutoConfirm /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:37:警告:AutoConfirm的先前定义在此处 成功启动Solr ...

耙黑子:solr:stop

/Users/dmy/.rvm/gems/ruby-2.3.3/gems/simple_form-3.0.2/lib/simple_form/inputs/boolean_input.rb:38:警告:循环参数引用-unchecked_value /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:5:警告:已初始化的常量EmallInterface :: InvoiceType /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:4:警告:InvoiceType的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:13:警告:已初始化的常量EmallInterface :: InvoiceContent /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:12:警告:InvoiceContent的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:21:警告:已初始化的常量EmallInterface :: InvoiceState /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:20:警告:InvoiceState的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:29:警告:已初始化的常量EmallInterface :: PaymentType /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:28:警告:PaymentType的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:38:警告:已初始化的常量EmallInterface :: AutoConfirm /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:37:警告:AutoConfirm的先前定义在此处 耙子流产了! Sunspot :: Solr :: Server :: NotRunningError:具有PID 12517的进程不再运行 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_solr-2.3.0/lib/sunspot/solr/server.rb:116:in rescue in stop' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_solr-2.3.0/lib/sunspot/solr/server.rb:119:in stop' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_solr-2.3.0/lib/sunspot/solr/tasks.rb:21:in block (3 levels) in <top (required)>' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rake-12.3.2/exe/rake:27:in' /Users/dmy/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in eval' /Users/dmy/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in'

原因: Errno :: ESRCH:没有这样的过程 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_solr-2.3.0/lib/sunspot/solr/server.rb:113:in kill' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_solr-2.3.0/lib/sunspot/solr/server.rb:113:in stop' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_solr-2.3.0/lib/sunspot/solr/tasks.rb:21:在'

中的“块(3个级别)”中

rake sunspot:reindex

/Users/dmy/.rvm/gems/ruby-2.3.3/gems/simple_form-3.0.2/lib/simple_form/inputs/boolean_input.rb:38:警告:循环参数引用-unchecked_value /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:5:警告:已初始化的常量EmallInterface :: InvoiceType /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:4:警告:InvoiceType的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:13:警告:已初始化的常量EmallInterface :: InvoiceContent /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:12:警告:InvoiceContent的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:21:警告:已初始化的常量EmallInterface :: InvoiceState /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:20:警告:InvoiceState的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:29:警告:已初始化的常量EmallInterface :: PaymentType /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:28:警告:PaymentType的先前定义在此处 /Users/dmy/yg/yixing/config/initializers/emall_setting.rb:38:警告:已初始化的常量EmallInterface :: AutoConfirm /Users/dmy/yg/yixing/vendor/emall_interface/emall_interface/config/emall_setting.rb:37:警告:AutoConfirm的先前定义在此处 耙子流产了! RSolr :: Error :: ConnectionRefused:连接被拒绝-{:data =>“ type:Product”,:headers => {“ Content-Type” =>“ text / xml”},:method =>:post,:params => {:wt =>:json},:query =>“ wt = json”,:path =>“ update”,:uri => #http:// localhost:8982 / solr / development / update?wt = json>} /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rsolr-2.2.1/lib/rsolr/client.rb:204:in rescue in execute' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rsolr-2.2.1/lib/rsolr/client.rb:196:in execute' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rsolr-2.2.1/lib/rsolr/client.rb:191:in send_and_receive' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/solr_instrumentation.rb:16:in中send_and_receive_with_as_instrumentation中的块 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/activesupport-4.1.8/lib/active_support/notifications.rb:159:in block in instrument' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/activesupport-4.1.8/lib/active_support/notifications/instrumenter.rb:20:in instrument' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/activesupport-4.1.8/lib/active_support/notifications.rb:159:ininstrument' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/solr_instrumentation.rb:15:insend_and_receive_with_as_instrumentation' (评估):2:在post' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rsolr-2.2.1/lib/rsolr/client.rb:94:in更新中 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rsolr-2.2.1/lib/rsolr/client.rb:157:in delete_by_query' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/indexer.rb:68:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session.rb:197:inblock in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session.rb:197:in中的每个 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session.rb:197:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb:17:in method_missing' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot.rb:502:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/method_tracer.rb:329:in中的remove_all_with_trace_SolrClient_Sunspot_delete块 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/method_tracer_helpers.rb:30:in trace_execution_scoped' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/method_tracer.rb:327:in remove_all_with_trace_SolrClient_Sunspot_delete' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/searchable.rb:190:in solr_remove_all_from_index' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/searchable.rb:209:in solr_reindex' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/tasks.rb:60:inblock (4 levels) in <top (required)>' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/class_set.rb:16:in中的每个 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/class_set.rb:16:在each' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/tasks.rb:59:in块(共3个级别)中, /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/tasks.rb:71:在with_session' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/tasks.rb:19:in块(2个级别)中, /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rake-12.3.2/exe/rake:27:in <top (required)>' /Users/dmy/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in eval' /Users/dmy/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in''

原因: Faraday :: ConnectionFailed:无法打开与localhost:8982的TCP连接(连接被拒绝-“ localhost”端口8982的connect(2)) /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/instrumentation/net.rb:36:in block in request_with_newrelic_trace' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent.rb:505:in disable_all_tracing' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/instrumentation/net.rb:35:in request_with_newrelic_trace' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/adapter/net_http.rb:87:in perform_request' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/adapter/net_http.rb:43:in block in call' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/adapter/net_http.rb:92:in with_net_http_connection' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/adapter/net_http.rb:38:in call' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/response.rb:8:in中的“ /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/rack_builder.rb:143:in build_response' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/connection.rb:387:in run_request' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/connection.rb:175:in post' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rsolr-2.2.1/lib/rsolr/client.rb:197:in execute' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rsolr-2.2.1/lib/rsolr/client.rb:191:in send_and_receive' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/solr_instrumentation.rb:16:in中send_and_receive_with_as_instrumentation中的块 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/activesupport-4.1.8/lib/active_support/notifications.rb:159:in block in instrument' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/activesupport-4.1.8/lib/active_support/notifications/instrumenter.rb:20:in instrument' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/activesupport-4.1.8/lib/active_support/notifications.rb:159:ininstrument' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/solr_instrumentation.rb:15:insend_and_receive_with_as_instrumentation' (评估):2:在post' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rsolr-2.2.1/lib/rsolr/client.rb:94:in更新中 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rsolr-2.2.1/lib/rsolr/client.rb:157:in delete_by_query' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/indexer.rb:68:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session.rb:197:inblock in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session.rb:197:in中的每个 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session.rb:197:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb:17:in method_missing' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/session_proxy/abstract_session_proxy.rb:11:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot.rb:502:in remove_all' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/method_tracer.rb:329:in中的remove_all_with_trace_SolrClient_Sunspot_delete块 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/method_tracer_helpers.rb:30:in trace_execution_scoped' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/method_tracer.rb:327:in remove_all_with_trace_SolrClient_Sunspot_delete' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/searchable.rb:190:in solr_remove_all_from_index' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/searchable.rb:209:in solr_reindex' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/tasks.rb:60:inblock (4 levels) in <top (required)>' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/class_set.rb:16:in中的每个 /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot-2.3.0/lib/sunspot/class_set.rb:16:在each' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/tasks.rb:59:in块(共3个级别)中, /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/tasks.rb:71:在with_session' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/sunspot_rails-2.3.0/lib/sunspot/rails/tasks.rb:19:in块(2个级别)中, /Users/dmy/.rvm/gems/ruby-2.3.3/gems/rake-12.3.2/exe/rake:27:in <top (required)>' /Users/dmy/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in eval' /Users/dmy/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in''

原因: Errno :: ECONNREFUSED:无法打开与localhost:8982的TCP连接(连接被拒绝-“ localhost”端口8982的connect(2)) /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/instrumentation/net.rb:36:in block in request_with_newrelic_trace' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent.rb:505:in disable_all_tracing' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/newrelic_rpm-6.1.0.352/lib/new_relic/agent/instrumentation/net.rb:35:in request_with_newrelic_trace' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/adapter/net_http.rb:87:in perform_request' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/adapter/net_http.rb:43:in block in call' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/adapter/net_http.rb:92:in with_net_http_connection' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/adapter/net_http.rb:38:in call' /Users/dmy/.rvm/gems/ruby-2.3.3/gems/faraday-0.15.4/lib/faraday/response.rb:8:in通话中

这是图片屏幕快照链接 Successful start

No corresponding process

can start multiple times

Rails solr file

0 个答案:

没有答案