biddyweb / ovz-web-panel

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

"Failed to start installation of OS templates" #284

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Actual result:
From logs:
Processing Admin::OsTemplatesController#install (for X.X.X.X at 2011-04-23 
14:45:18) [POST]
  Parameters: {"selected_official_templates"=>"centos-5-x86_64", "template_url"=>"", "action"=>"install", "hardware_server_id"=>"1", "controller"=>"admin/os_templates", "selected_contributed_templates"=>""}
Scheduling job: wget -P /cache/ 
ftp://download.openvz.org//template//precreated//centos-5-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:56:in `timeout'
    /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
...
    /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: ovz-web-panel 2.0

Server OS: CentOS 5.6 x64 minimal, wget, openvz

Browser: firefox

Additional information: wget is work from command line

Original issue reported on code.google.com by mag...@gmail.com on 23 Apr 2011 at 9:01

GoogleCodeExporter commented 9 years ago
And another error for /admin/server-templates/list?hardware_server_id=2: 

Processing Admin::ServerTemplatesController#list (for 91.193.205.243 at 
2011-04-23 23:45:05) [GET]
  Parameters: {"action"=>"list", "hardware_server_id"=>"2", "controller"=>"admin/server_templates"}
NoMethodError (undefined method `get_advanced_limits' for nil:NilClass):
    /app/controllers/admin/server_templates_controller.rb:11:in `list'
    /vendor/rails/actionpack/lib/action_controller/base.rb:1253:in `send'
...
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    //script/server:3
Internal error: undefined method `get_advanced_limits' for nil:NilClass

p.s. Ставил все с нуля - минимальная centos, openvz и 
автоустановка owp.

Original comment by mag...@gmail.com on 23 Apr 2011 at 5:51

GoogleCodeExporter commented 9 years ago
Try to play with os_templates.passive_ftp configuration parameter. See 
http://code.google.com/p/ovz-web-panel/wiki/Configuration#OS_Templates

Original comment by sibprogrammer on 24 Apr 2011 at 1:20

GoogleCodeExporter commented 9 years ago
On other centos 5.6 all OK. Sorry.

Original comment by mag...@gmail.com on 12 May 2011 at 7:38

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 13 May 2011 at 2:35