ExamarCorp / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Connection refused - connect(2) #497

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I cant do anything with my server because this panel give me errors.
Processing Admin::OsTemplatesController#install (for 95.78.213.44 at 2013-03-04 
19:32:04) [POST]
  Parameters: {"controller"=>"admin/os_templates", "hardware_server_id"=>"1", "selected_official_templates"=>"centos-6-x86_64", "action"=>"install", "template_url"=>"", "selected_contributed_templates"=>""}
Scheduling job: wget -P /cache/ 
ftp://download.openvz.org//template//precreated//centos-6-x86_64.tar.gz

Errno::ECONNREFUSED (Connection refused - connect(2)):
    /usr/lib/ruby/1.8/net/http.rb:560:in `initialize'
    /usr/lib/ruby/1.8/net/http.rb:560:in `open'
    /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
    /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
    /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
    /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
    /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
    /usr/lib/ruby/1.8/net/http.rb:548:in `start'
    /usr/lib/ruby/1.8/xmlrpc/client.rb:535:in `do_rpc'
    /usr/lib/ruby/1.8/xmlrpc/client.rb:420:in `call2'
    /lib/hw_daemon_client.rb:81:in `rpc_call'
    /lib/hw_daemon_client.rb:54:in `job'
    /app/models/os_template.rb:44:in `download'
    /app/models/os_template.rb:15:in `install_official'
    /app/controllers/admin/os_templates_controller.rb:39:in `install'
    /app/controllers/admin/os_templates_controller.rb:38:in `each'
    /app/controllers/admin/os_templates_controller.rb:38:in `install'
    /vendor/rails/actionpack/lib/action_controller/base.rb:1253:in `send'
    /vendor/rails/actionpack/lib/action_controller/base.rb:1253: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'
    /usr/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:136: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:34: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:524:in `send'
    /vendor/rails/actionpack/lib/action_controller/base.rb:524:in `process_without_filters'
    /vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process_without_session_management_support'
    /vendor/rails/actionpack/lib/action_controller/session_management.rb:134:in `process'
    /vendor/rails/actionpack/lib/action_controller/base.rb:392:in `process'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in `handle_request'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:123:in `dispatch'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in `synchronize'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in `dispatch'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi'
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:39:in `dispatch'
    /vendor/rails/railties/lib/webrick_server.rb:103:in `handle_dispatch'
    /vendor/rails/railties/lib/webrick_server.rb:74:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:37:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    /vendor/rails/railties/lib/webrick_server.rb:60:in `dispatch'
    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in `require'
    /vendor/rails/railties/lib/commands/server.rb:49
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    //script/server:3

Internal error: Connection refused - connect(2)

Version of the product:
2.3
Server OS:
CentOS minimal 6.4
Browser:
Google Chrome

Original issue reported on code.google.com by Vinosmoz...@gmail.com on 4 Mar 2013 at 3:39

GoogleCodeExporter commented 9 years ago
it possible when hw-daemon not runned at host.

I've see it now and restart is helpful.

Original comment by big.lol...@gmail.com on 19 Mar 2013 at 7:05

GoogleCodeExporter commented 9 years ago
Verifying #1 comment. If "service owp stop" is commenced and the service is no 
longer running. This will give a 500 error on this and the server templates.

Original comment by killwhat...@gmail.com on 19 Jun 2014 at 4:25