mdzidic / ovz-web-panel

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

Internal Error: Non-Absolute Home #400

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. Login to web panel
2. Attempt to add physical server
3. Gives me that error.

Actual result: When I attempt to add a physical server, it gives me this error: 
Internal error: non-absolute home

Expected result:  I expected to add a physical server to my panel

Version of the product: Latest Version (

Server OS: CentOS 6 64-Bit

Browser:

Additional information:

Original issue reported on code.google.com by chicken....@gmail.com on 7 Feb 2012 at 5:55

GoogleCodeExporter commented 9 years ago
Whoops, forgot about the browser and additional information.
My browser is Google Chomre.
Some additional information is that the server is a completely dedicated server.

Original comment by chicken....@gmail.com on 7 Feb 2012 at 5:55

GoogleCodeExporter commented 9 years ago
Can you provide /opt/ovz-web-panel/log/production.log ?

Original comment by sibprogrammer on 8 Feb 2012 at 12:53

GoogleCodeExporter commented 9 years ago
Wow, never mind!
I decided to reinstall and it started working!

Original comment by chicken....@gmail.com on 8 Feb 2012 at 1:36

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 9 Feb 2012 at 2:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I got exactly same issue. 

ArgumentError (non-absolute home):
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:59:in `expand_path'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:59:in `load'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `for'

Original comment by flashv...@gmail.com on 31 Jul 2012 at 6:21

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

I encounter the same issue (CentOS 6.3 - 64bit):

################################################################################
####
Processing Admin::HardwareServersController#save (for 89.120.254.127 at 
2012-12-01 11:39:46) [POST]
  Parameters: {"daemon_port"=>"7767", "action"=>"save", "controller"=>"admin/hardware_servers", "description"=>"None", "id"=>"", "host"=>"23.29.112.234", "root_password"=>"[FILTERED]", "auth_key"=>""}

ArgumentError (non-absolute home):
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:59:in `expand_path'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:59:in `load'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `for'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `each'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `inject'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `for'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh.rb:212:in `configuration_for'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh.rb:159:in `start'
    /app/models/hardware_server.rb:41:in `install_daemon'
    /app/models/hardware_server.rb:22:in `connect'
    /app/controllers/admin/hardware_servers_controller.rb:21:in `save'
    /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: non-absolute home

Processing Admin::HardwareServersController#save (for 89.120.254.127 at 
2012-12-01 11:42:13) [POST]
  Parameters: {"daemon_port"=>"7767", "action"=>"save", "controller"=>"admin/hardware_servers", "description"=>"X", "id"=>"", "host"=>"23.29.112.234", "root_password"=>"[FILTERED]", "auth_key"=>""}

ArgumentError (non-absolute home):
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:59:in `expand_path'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:59:in `load'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `for'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `each'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `inject'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `for'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh.rb:212:in `configuration_for'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh.rb:159:in `start'
    /app/models/hardware_server.rb:41:in `install_daemon'
    /app/models/hardware_server.rb:22:in `connect'
    /app/controllers/admin/hardware_servers_controller.rb:21:in `save'
    /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: non-absolute home

Processing Admin::HardwareServersController#save (for 89.120.254.127 at 
2012-12-01 11:42:20) [POST]
  Parameters: {"daemon_port"=>"7767", "action"=>"save", "controller"=>"admin/hardware_servers", "description"=>"", "id"=>"", "host"=>"23.29.112.234", "root_password"=>"[FILTERED]", "auth_key"=>""}

ArgumentError (non-absolute home):
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:59:in `expand_path'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:59:in `load'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `for'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `each'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `inject'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh/config.rb:49:in `for'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh.rb:212:in `configuration_for'
    /vendor/gems/net-ssh-2.0.23/lib/net/ssh.rb:159:in `start'
    /app/models/hardware_server.rb:41:in `install_daemon'
    /app/models/hardware_server.rb:22:in `connect'
    /app/controllers/admin/hardware_servers_controller.rb:21:in `save'
    /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: non-absolute home
###############################################################################

Original comment by crist...@huza.ro on 1 Dec 2012 at 7:49

GoogleCodeExporter commented 9 years ago
Ok, this is getting even stranger.
Installed ovz on the 2nd machine and tried to add a new server from there and 
it works.
Both machines have the same CentOS version, 64 bit.

I will try to spot other differences between the two machines.

Original comment by crist...@huza.ro on 1 Dec 2012 at 8:04

GoogleCodeExporter commented 9 years ago
Reinstalled owp on the 1st machine and everything seems fine, though I don't 
understand what changed, so reinstalling OWP seems to fix this issue.

Original comment by crist...@huza.ro on 1 Dec 2012 at 8:11