self20 / ovz-web-panel

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

some errors after upgrade/install owp #234

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1.Upgrade/Install owp 1.7
Version of the product:owp 1.7
Server OS:debian lenny
Additional information: wget -O - 
http://ovz-web-panel.googlecode.com/svn/installer/ai.sh | sh
--2010-12-21 16:29:05--  http://ovz-web-panel.googlecode.com/svn/installer/ai.sh
Resolving ovz-web-panel.googlecode.com... 74.125.79.82
Connecting to ovz-web-panel.googlecode.com|74.125.79.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8553 (8.4K) [text/plain]
Saving to: `STDOUT'

100%[======================================>] 8,553       --.-K/s   in 0.05s   

2010-12-21 16:29:05 (157 KB/s) - `-' saved [8553/8553]

-----------------------------------
OpenVZ Web Panel Installer.
-----------------------------------
Checking environment...
System info: Linux host1 2.6.26-2-openvz-686 #1 SMP Thu Sep 16 22:16:19 UTC 
2010 i686 GNU/Linux
Detecting distrib ID...
Checking presence of the command: lsb_release
Detected distrib ID: Debian
OpenVZ hardware node detected.
Resolving dependencies...
В кеше http://mirror.yandex.ru lenny Release.gpg
В кеше http://mirror.yandex.ru lenny/main Translation-ru                   

В кеше http://mirror.yandex.ru lenny Release                               

В кеше http://volatile.debian.org lenny/volatile Release.gpg               

Игн http://volatile.debian.org lenny/volatile/main Translation-ru            

Игн http://mirror.yandex.ru lenny/main Packages/DiffIndex                    

Игн http://mirror.yandex.ru lenny/main Sources/DiffIndex                     

В кеше http://volatile.debian.org lenny/volatile Release                   

Ð кеше http://mirror.yandex.ru lenny/main Packages                         

Ð кеше http://mirror.yandex.ru lenny/main Sources                          

Ðгн http://volatile.debian.org lenny/volatile/main Packages/DiffIndex        

Ð кеше http://download.openvz.org lenny Release.gpg                        

В кеше http://security.debian.org lenny/updates Release.gpg                

Игн http://security.debian.org lenny/updates/main Translation-ru             

Игн http://security.debian.org lenny/updates/contrib Translation-ru          

Игн http://volatile.debian.org lenny/volatile/main Sources/DiffIndex         

Игн http://download.openvz.org lenny/openvz Translation-ru                   

В кеше http://volatile.debian.org lenny/volatile/main Packages             

В кеше http://volatile.debian.org lenny/volatile/main Sources              

В кеше http://security.debian.org lenny/updates Release                    

В кеше http://download.openvz.org lenny Release                            

Игн http://security.debian.org lenny/updates/main Packages/DiffIndex
Игн http://download.openvz.org lenny/openvz Packages/DiffIndex  
Игн http://security.debian.org lenny/updates/main Sources/DiffIndex
Игн http://security.debian.org lenny/updates/contrib Packages/DiffIndex      

Игн http://security.debian.org lenny/updates/contrib Sources/DiffIndex       

В кеше http://security.debian.org lenny/updates/main Packages              

В кеше http://security.debian.org lenny/updates/main Sources               

В кеше http://security.debian.org lenny/updates/contrib Packages           

Игн http://download.openvz.org lenny/openvz Sources/DiffIndex                

В кеше http://security.debian.org lenny/updates/contrib Sources
Игн http://download.openvz.org lenny/openvz Packages            
Игн http://download.openvz.org lenny/openvz Sources             
В кеше http://download.openvz.org lenny/openvz Packages
В кеше http://download.openvz.org lenny/openvz Sources
Чтение списков пакетов... Готово
Чтение списков пакетов... Готово
Построение дерева зависимостей       
Чтение информации о состоянии... Готово
Уже установлена самая новая версия ruby.
Уже установлена самая новая версия rubygems.
Уже установлена самая новая версия 
libsqlite3-ruby.
Уже установлена самая новая версия 
libopenssl-ruby.
Уже установлена самая новая версия rake.
обновлено 0, установлено 0 новых пакетов, 
для удаления отмечено 0 пакетов, и 0 пакетов 
не обновлено.
Checking presence of the command: ruby
Ruby version: 1.8.7
Checking presence of the command: gem
RubyGems version: 1.2.0
Checking Ruby SQLite3 support: ruby -e "require 'rubygems'" -e "require 
'sqlite3/database'"

Installation...
Downloading: wget -nc -P /opt/ovz-web-panel/ 
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.7.tgz
--2010-12-21 16:29:08--  
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.7.tgz
Распознаётся ovz-web-panel.googlecode.com... 74.125.79.82
Устанавливается соединение с 
ovz-web-panel.googlecode.com|74.125.79.82|:80... соединение 
установлено.
Запрос HTTP послан, ожидается ответ... 200 OK
Длина: 2992165 (2,9M) [application/x-gzip]
Сохраняется в каталог: 
`/opt/ovz-web-panel/ovz-web-panel-1.7.tgz'.

100%[======================================>] 2 992 165    738K/s   в 4,0s   

2010-12-21 16:29:12 (738 KB/s) - `/opt/ovz-web-panel/ovz-web-panel-1.7.tgz' 
сохранён [2992165/2992165]

Unpacking: tar --strip 2 -C /opt/ovz-web-panel/ -xzf 
/opt/ovz-web-panel//ovz-web-panel-1.7.tgz --exclude=*.log 
--exclude=config/database.yml --exclude=db/*.sqlite3 --exclude=config/certs/*
Removing downloaded archive: rm -f /opt/ovz-web-panel//ovz-web-panel-1.7.tgz
Removing deprecated files...
Upgrading database...
(in /opt/ovz-web-panel)
Syncing physical servers state...
/opt/ovz-web-panel/vendor/rails/railties/lib/commands/runner.rb:47: undefined 
method `[]' for false:FalseClass (NoMethodError)
    from /opt/ovz-web-panel/app/models/hardware_server.rb:213:in `sync_server_info'
    from /opt/ovz-web-panel/app/models/hardware_server.rb:219:in `sync'
    from (eval):1
    from (eval):1:in `each'
    from (eval):1
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `eval'
    from /opt/ovz-web-panel/vendor/rails/railties/lib/commands/runner.rb:47
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
    from /opt/ovz-web-panel//script/runner:3
 Removing any system startup links for /etc/init.d/owp ...
   /etc/rc0.d/K30owp
   /etc/rc1.d/K30owp
   /etc/rc2.d/S30owp
   /etc/rc3.d/S30owp
   /etc/rc4.d/S30owp
   /etc/rc5.d/S30owp
   /etc/rc6.d/K30owp
 Adding system startup for /etc/init.d/owp ...
   /etc/rc0.d/K30owp -> ../init.d/owp
   /etc/rc1.d/K30owp -> ../init.d/owp
   /etc/rc6.d/K30owp -> ../init.d/owp
   /etc/rc2.d/S30owp -> ../init.d/owp
   /etc/rc3.d/S30owp -> ../init.d/owp
   /etc/rc4.d/S30owp -> ../init.d/owp
   /etc/rc5.d/S30owp -> ../init.d/owp
Installation finished.
Product was installed into: /opt/ovz-web-panel/

Stopping services...
Stopping OpenVZ Web Panel server
Daemon was stopped.
Watchdog daemon was stopped.
Starting services...
Starting OpenVZ Web Panel
=> Booting WEBrick...
=> Rails 2.2.2 application started on http://0.0.0.0:3000
[2010-12-21 16:29:21] INFO  WEBrick 1.3.1
[2010-12-21 16:29:21] INFO  ruby 1.8.7 (2008-08-11) [i486-linux]
Starting watchdog daemon...
Starting the daemon...
Syncing physical servers state...
/opt/ovz-web-panel/vendor/rails/railties/lib/commands/runner.rb:47: undefined 
method `[]' for false:FalseClass (NoMethodError)
    from /opt/ovz-web-panel/app/models/hardware_server.rb:213:in `sync_server_info'
    from /opt/ovz-web-panel/app/models/hardware_server.rb:219:in `sync'
    from (eval):1
    from (eval):1:in `each'
    from (eval):1
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `eval'
    from /opt/ovz-web-panel/vendor/rails/railties/lib/commands/runner.rb:47
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
    from /opt/ovz-web-panel//script/runner:3
Panel should be available at:
http://host1:3000
Default credentials: admin/admin
-----------------------------------

Original issue reported on code.google.com by x.empty....@gmail.com on 21 Dec 2010 at 1:34

GoogleCodeExporter commented 9 years ago
Attempt to connect to one of your servers failed. Maybe this server was turned 
off or hw-daemon is not running on that node.

Original comment by sibprogrammer on 21 Dec 2010 at 5:01

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 21 Dec 2010 at 5:02

GoogleCodeExporter commented 9 years ago
/etc/init.d/owp  restart
Stopping OpenVZ Web Panel server
Daemon was stopped.
Watchdog daemon was stopped.
Starting OpenVZ Web Panel
=> Booting WEBrick...
^[[A=> Rails 2.2.2 application started on http://0.0.0.0:3000
[2010-12-22 02:20:37] INFO  WEBrick 1.3.1
[2010-12-22 02:20:37] INFO  ruby 1.8.7 (2008-08-11) [i486-linux]
Starting watchdog daemon...
Starting the daemon...
Syncing physical servers state...
/opt/ovz-web-panel/vendor/rails/railties/lib/commands/runner.rb:47: undefined 
method `[]' for false:FalseClass (NoMethodError)
    from /opt/ovz-web-panel/app/models/hardware_server.rb:213:in `sync_server_info'
    from /opt/ovz-web-panel/app/models/hardware_server.rb:219:in `sync'
    from (eval):1
    from (eval):1:in `each'
    from (eval):1
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `eval'
    from /opt/ovz-web-panel/vendor/rails/railties/lib/commands/runner.rb:47
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
    from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
    from /opt/ovz-web-panel//script/runner:3

cd /opt/ovz-web-panel/utils/hw-daemon
ruby hw-daemon.rb start
Starting the daemon...
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already in use - 
bind(2) (Errno::EADDRINUSE)
    from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new'
    from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners'
    from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `each'
    from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners'
    from /usr/lib/ruby/1.8/webrick/server.rb:75:in `listen'
    from /usr/lib/ruby/1.8/webrick/server.rb:63:in `initialize'
    from /usr/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize'
    from hw-daemon.rb:135:in `new'
    from hw-daemon.rb:135:in `do_start'
    from hw-daemon.rb:102:in `initialize'
    from hw-daemon.rb:214:in `new'
    from hw-daemon.rb:214

Original comment by x.empty....@gmail.com on 21 Dec 2010 at 11:21

GoogleCodeExporter commented 9 years ago
Do you have one or several hardware servers? Try to replace hw_daemon_client.rb 
with latest 
http://code.google.com/p/ovz-web-panel/source/browse/trunk/lib/hw_daemon_client.
rb?spec=svn811&r=811
It should give you the clue.

Original comment by sibprogrammer on 22 Dec 2010 at 4:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Does not work here either.

Original comment by lukas.mo...@gmail.com on 30 Dec 2010 at 2:54

GoogleCodeExporter commented 9 years ago
Fixed issue, try reading the INSTALL file and follow installation instructions.

Original comment by LetsPlay...@googlemail.com on 30 Dec 2010 at 4:24

GoogleCodeExporter commented 9 years ago
Closing issue due to lack of activity for a long time and absence of additional 
information about problem.

Original comment by sibprogrammer on 6 Feb 2011 at 1:26