self20 / ovz-web-panel

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

Localhost is not added if installation fails first time #186

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hello. can you please explain how to add localhost server for adding vps on it? 
Thanks

Original issue reported on code.google.com by Mafio...@gmail.com on 11 Oct 2010 at 10:24

GoogleCodeExporter commented 9 years ago
Localhost should be added automatically during installation process if you 
tried to install the panel on the machine with OpenVZ support. If this didn't 
happend, need to check /tmp/ovz-web-panel.log for error.

You can add localhost manually (for example if you accidentally removed it 
before). Check /opt/ovz-web-panel/utils/hw-daemon/hw-daemon.ini file for secret 
key and make sure that hw-daemon is running (ruby 
/opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb status). Then go to the panel 
interface -> physical servers list -> connect new server and add localhost 
server. If operation failed check logs for details and post them here 
(especially /opt/ovz-web-panel/log/production.log).

Original comment by sibprogrammer on 11 Oct 2010 at 2:16

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 11 Oct 2010 at 2:17

GoogleCodeExporter commented 9 years ago
When I use the automation script, it doesn't start the daemon by default, so 
there is nothing to connect to.

Original comment by kd7...@gmail.com on 16 Oct 2010 at 1:43

GoogleCodeExporter commented 9 years ago
Please provide more information:
* OS (output of "cat /etc/issue")
* output of "uname -a"
* output of "cat /proc/vz/version"
* output of "/etc/init.d/owp restart"

Original comment by sibprogrammer on 16 Oct 2010 at 4:50

GoogleCodeExporter commented 9 years ago

[root@kim ~]# cat /etc/issue
CentOS release 5.3 (Final)
Kernel \r on an \m

[root@kim ~]# uname -a
Linux kim 2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 
x86_64 x86_64 x86_64 GNU/Linux
[root@kim ~]# cat /proc/vz/version
028stab070.7
[root@kim ~]# //etc/init.d/owp restart
Stopping OpenVZ Web Panel server
/opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:182:in `initialize': No such 
file or directory - /opt/ovz-web-panel/utils/hw-daemon/hw-daemon.ini 
(Errno::ENOENT)
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:182:in `new'
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:182:in `load_config'
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:95:in `initialize'
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:214:in `new'
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:214
Starting OpenVZ Web Panel
=> Booting WEBrick...
=> Rails 2.2.2 application started on http://0.0.0.0:3000
[2010-10-20 12:16:18] INFO  WEBrick 1.3.1
[2010-10-20 12:16:18] INFO  ruby 1.8.5 (2006-08-25) [x86_64-linux]
/opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:182:in `initialize': No such 
file or directory - /opt/ovz-web-panel/utils/hw-daemon/hw-daemon.ini 
(Errno::ENOENT)
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:182:in `new'
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:182:in `load_config'
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:95:in `initialize'
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:214:in `new'
    from /opt/ovz-web-panel//utils/hw-daemon/hw-daemon.rb:214
Syncing physical servers state...

Original comment by kd7...@gmail.com on 20 Oct 2010 at 6:16

GoogleCodeExporter commented 9 years ago
Something wrong went during installation. Can you post the content of 
/tmp/ovz-web-panel.log ?

Original comment by sibprogrammer on 21 Oct 2010 at 12:45

GoogleCodeExporter commented 9 years ago
Here is the contents of the file...

cat ovz-web-panel.log 
Fri Oct 15 18:40:45 MDT 2010 -----------------------------------
Fri Oct 15 18:40:45 MDT 2010 OpenVZ Web Panel Installer.
Fri Oct 15 18:40:45 MDT 2010 -----------------------------------
Fri Oct 15 18:40:45 MDT 2010 Checking environment...
Fri Oct 15 18:40:45 MDT 2010 System info: Linux kim 
2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 x86_64 
x86_64 x86_64 GNU/Linux
Fri Oct 15 18:40:45 MDT 2010 Detecting distrib ID...
Fri Oct 15 18:40:45 MDT 2010 Checking presence of the command: lsb_release
Fri Oct 15 18:40:45 MDT 2010 LSB info: LSB Version: 
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia
32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.3 
(Final) Release: 5.3 Codename: Final
Fri Oct 15 18:40:45 MDT 2010 Detected distrib ID: CentOS
Fri Oct 15 18:40:45 MDT 2010 OpenVZ hardware node detected.
Fri Oct 15 18:40:45 MDT 2010 Resolving dependencies...
Fri Oct 15 18:41:01 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:46:59 MDT 2010 Checking presence of the command: ruby
Fri Oct 15 18:46:59 MDT 2010 Ruby version: 1.8.5
Fri Oct 15 18:46:59 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:46:59 MDT 2010 RubyGems version: 1.3.5
Fri Oct 15 18:46:59 MDT 2010 Checking Ruby SQLite3 support: ruby -e "require 
'rubygems'" -e "require 'sqlite3/database'"
Fri Oct 15 18:46:59 MDT 2010
Fri Oct 15 18:46:59 MDT 2010 Installation...
Fri Oct 15 18:46:59 MDT 2010 Downloading: wget -nc -P /opt/ovz-web-panel/ 
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.5.tgz
Fri Oct 15 18:47:03 MDT 2010 Unpacking: tar --strip 2 -C /opt/ovz-web-panel/ 
-xzf /opt/ovz-web-panel//ovz-web-panel-1.5.tgz
Fri Oct 15 18:47:03 MDT 2010 Removing downloaded archive: rm -f 
/opt/ovz-web-panel//ovz-web-panel-1.5.tgz
Fri Oct 15 18:47:03 MDT 2010 Installation finished.
Fri Oct 15 18:47:03 MDT 2010 Product was installed into: /opt/ovz-web-panel/
Fri Oct 15 18:47:03 MDT 2010
Fri Oct 15 18:47:03 MDT 2010 Starting services...
Fri Oct 15 18:47:03 MDT 2010 Adding localhost to the list of controlled 
servers...
Fri Oct 15 18:47:03 MDT 2010 Failed to add local server.
Fri Oct 15 18:47:03 MDT 2010 Panel should be available at:
Fri Oct 15 18:47:03 MDT 2010 http://***:3000
Fri Oct 15 18:47:03 MDT 2010 Default credentials: admin/admin
Fri Oct 15 18:47:03 MDT 2010 -----------------------------------
Fri Oct 15 18:49:21 MDT 2010 -----------------------------------
Fri Oct 15 18:49:21 MDT 2010 OpenVZ Web Panel Installer.
Fri Oct 15 18:49:21 MDT 2010 -----------------------------------
Fri Oct 15 18:49:21 MDT 2010 Checking environment...
Fri Oct 15 18:49:21 MDT 2010 System info: Linux kim 
2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 x86_64 
x86_64 x86_64 GNU/Linux
Fri Oct 15 18:49:21 MDT 2010 Detecting distrib ID...
Fri Oct 15 18:49:21 MDT 2010 Checking presence of the command: lsb_release
Fri Oct 15 18:49:21 MDT 2010 LSB info: LSB Version: 
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia
32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.3 
(Final) Release: 5.3 Codename: Final
Fri Oct 15 18:49:21 MDT 2010 Detected distrib ID: CentOS
Fri Oct 15 18:49:21 MDT 2010 OpenVZ hardware node detected.
Fri Oct 15 18:49:21 MDT 2010 Resolving dependencies...
Fri Oct 15 18:49:34 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:49:34 MDT 2010 Checking presence of the command: ruby
Fri Oct 15 18:49:34 MDT 2010 Ruby version: 1.8.5
Fri Oct 15 18:49:34 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:49:35 MDT 2010 RubyGems version: 1.3.5
Fri Oct 15 18:49:35 MDT 2010 Checking Ruby SQLite3 support: ruby -e "require 
'rubygems'" -e "require 'sqlite3/database'"
Fri Oct 15 18:49:35 MDT 2010
Fri Oct 15 18:49:35 MDT 2010 Installation...
Fri Oct 15 18:49:35 MDT 2010 Downloading: wget -nc -P /opt/ovz-web-panel/ 
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.5.tgz
Fri Oct 15 18:49:35 MDT 2010 Fatal error: Failed to download distribution.
Fri Oct 15 18:50:13 MDT 2010 -----------------------------------
Fri Oct 15 18:50:13 MDT 2010 OpenVZ Web Panel Installer.
Fri Oct 15 18:50:13 MDT 2010 -----------------------------------
Fri Oct 15 18:50:13 MDT 2010 Checking environment...
Fri Oct 15 18:50:13 MDT 2010 System info: Linux kim 
2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 x86_64 
x86_64 x86_64 GNU/Linux
Fri Oct 15 18:50:13 MDT 2010 Detecting distrib ID...
Fri Oct 15 18:50:13 MDT 2010 Checking presence of the command: lsb_release
Fri Oct 15 18:50:13 MDT 2010 LSB info: LSB Version: 
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia
32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.3 
(Final) Release: 5.3 Codename: Final
Fri Oct 15 18:50:13 MDT 2010 Detected distrib ID: CentOS
Fri Oct 15 18:50:13 MDT 2010 OpenVZ hardware node detected.
Fri Oct 15 18:50:13 MDT 2010 Resolving dependencies...
Fri Oct 15 18:50:29 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:50:30 MDT 2010 Checking presence of the command: ruby
Fri Oct 15 18:50:30 MDT 2010 Ruby version: 1.8.5
Fri Oct 15 18:50:30 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:50:30 MDT 2010 RubyGems version: 1.3.5
Fri Oct 15 18:50:30 MDT 2010 Checking Ruby SQLite3 support: ruby -e "require 
'rubygems'" -e "require 'sqlite3/database'"
Fri Oct 15 18:50:30 MDT 2010
Fri Oct 15 18:50:30 MDT 2010 Installation...
Fri Oct 15 18:50:30 MDT 2010 Downloading: wget -nc -P /opt/ovz-web-panel/ 
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.5.tgz
Fri Oct 15 18:50:31 MDT 2010 Fatal error: Failed to download distribution.
Fri Oct 15 18:51:12 MDT 2010 -----------------------------------
Fri Oct 15 18:51:12 MDT 2010 OpenVZ Web Panel Installer.
Fri Oct 15 18:51:12 MDT 2010 -----------------------------------
Fri Oct 15 18:51:12 MDT 2010 Checking environment...
Fri Oct 15 18:51:12 MDT 2010 System info: Linux kim 
2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 x86_64 
x86_64 x86_64 GNU/Linux
Fri Oct 15 18:51:12 MDT 2010 Detecting distrib ID...
Fri Oct 15 18:51:12 MDT 2010 Checking presence of the command: lsb_release
Fri Oct 15 18:51:13 MDT 2010 LSB info: LSB Version: 
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia
32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.3 
(Final) Release: 5.3 Codename: Final
Fri Oct 15 18:51:13 MDT 2010 Detected distrib ID: CentOS
Fri Oct 15 18:51:13 MDT 2010 OpenVZ hardware node detected.
Fri Oct 15 18:51:13 MDT 2010 Resolving dependencies...
Fri Oct 15 18:51:28 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:51:29 MDT 2010 Checking presence of the command: ruby
Fri Oct 15 18:51:29 MDT 2010 Ruby version: 1.8.5
Fri Oct 15 18:51:29 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:51:29 MDT 2010 RubyGems version: 1.3.5
Fri Oct 15 18:51:29 MDT 2010 Checking Ruby SQLite3 support: ruby -e "require 
'rubygems'" -e "require 'sqlite3/database'"
Fri Oct 15 18:51:29 MDT 2010
Fri Oct 15 18:51:29 MDT 2010 Installation...
Fri Oct 15 18:51:29 MDT 2010 Downloading: wget -nc -P /opt/ovz-web-panel/ 
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.5.tgz
Fri Oct 15 18:51:32 MDT 2010 Unpacking: tar --strip 2 -C /opt/ovz-web-panel/ 
-xzf /opt/ovz-web-panel//ovz-web-panel-1.5.tgz --exclude=*.log 
--exclude=config/database.yml --exclude=db/*.sqlite3
Fri Oct 15 18:51:32 MDT 2010 Removing downloaded archive: rm -f 
/opt/ovz-web-panel//ovz-web-panel-1.5.tgz
Fri Oct 15 18:51:32 MDT 2010 Removing deprecated files...
Fri Oct 15 18:51:32 MDT 2010 Upgrading database...
Fri Oct 15 18:51:33 MDT 2010 Syncing physical servers state...
Fri Oct 15 18:51:33 MDT 2010 Installation finished.
Fri Oct 15 18:51:33 MDT 2010 Product was installed into: /opt/ovz-web-panel/
Fri Oct 15 18:51:33 MDT 2010
Fri Oct 15 18:51:33 MDT 2010 Stopping services...
Fri Oct 15 18:51:33 MDT 2010 Starting services...
Fri Oct 15 18:51:33 MDT 2010 Panel should be available at:
Fri Oct 15 18:51:33 MDT 2010 http://***:3000
Fri Oct 15 18:51:33 MDT 2010 Default credentials: admin/admin
Fri Oct 15 18:51:33 MDT 2010 -----------------------------------
Fri Oct 15 18:52:55 MDT 2010 -----------------------------------
Fri Oct 15 18:52:55 MDT 2010 OpenVZ Web Panel Installer.
Fri Oct 15 18:52:55 MDT 2010 -----------------------------------
Fri Oct 15 18:52:55 MDT 2010 Checking environment...
Fri Oct 15 18:52:55 MDT 2010 System info: Linux kim 
2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 x86_64 
x86_64 x86_64 GNU/Linux
Fri Oct 15 18:52:55 MDT 2010 Detecting distrib ID...
Fri Oct 15 18:52:55 MDT 2010 Checking presence of the command: lsb_release
Fri Oct 15 18:52:55 MDT 2010 LSB info: LSB Version: 
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia
32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.3 
(Final) Release: 5.3 Codename: Final
Fri Oct 15 18:52:55 MDT 2010 Detected distrib ID: CentOS
Fri Oct 15 18:52:55 MDT 2010 OpenVZ hardware node detected.
Fri Oct 15 18:52:55 MDT 2010 Resolving dependencies...
Fri Oct 15 18:53:07 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:53:08 MDT 2010 Checking presence of the command: ruby
Fri Oct 15 18:53:08 MDT 2010 Ruby version: 1.8.5
Fri Oct 15 18:53:08 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:53:08 MDT 2010 RubyGems version: 1.3.5
Fri Oct 15 18:53:08 MDT 2010 Checking Ruby SQLite3 support: ruby -e "require 
'rubygems'" -e "require 'sqlite3/database'"
Fri Oct 15 18:53:08 MDT 2010
Fri Oct 15 18:53:08 MDT 2010 Installation...
Fri Oct 15 18:53:08 MDT 2010 Downloading: wget -nc -P /opt/ovz-web-panel/ 
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.5.tgz
Fri Oct 15 18:53:09 MDT 2010 Fatal error: Failed to download distribution.
Fri Oct 15 18:53:29 MDT 2010 -----------------------------------
Fri Oct 15 18:53:29 MDT 2010 OpenVZ Web Panel Installer.
Fri Oct 15 18:53:29 MDT 2010 -----------------------------------
Fri Oct 15 18:53:29 MDT 2010 Checking environment...
Fri Oct 15 18:53:29 MDT 2010 System info: Linux kim 
2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 x86_64 
x86_64 x86_64 GNU/Linux
Fri Oct 15 18:53:29 MDT 2010 Detecting distrib ID...
Fri Oct 15 18:53:29 MDT 2010 Checking presence of the command: lsb_release
Fri Oct 15 18:53:29 MDT 2010 LSB info: LSB Version: 
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia
32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.3 
(Final) Release: 5.3 Codename: Final
Fri Oct 15 18:53:29 MDT 2010 Detected distrib ID: CentOS
Fri Oct 15 18:53:29 MDT 2010 OpenVZ hardware node detected.
Fri Oct 15 18:53:29 MDT 2010 Resolving dependencies...
Fri Oct 15 18:53:42 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:53:43 MDT 2010 Checking presence of the command: ruby
Fri Oct 15 18:53:43 MDT 2010 Ruby version: 1.8.5
Fri Oct 15 18:53:43 MDT 2010 Checking presence of the command: gem
Fri Oct 15 18:53:43 MDT 2010 RubyGems version: 1.3.5
Fri Oct 15 18:53:43 MDT 2010 Checking Ruby SQLite3 support: ruby -e "require 
'rubygems'" -e "require 'sqlite3/database'"
Fri Oct 15 18:53:43 MDT 2010
Fri Oct 15 18:53:43 MDT 2010 Installation...
Fri Oct 15 18:53:43 MDT 2010 Downloading: wget -nc -P /opt/ovz-web-panel/ 
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.5.tgz
Fri Oct 15 18:53:46 MDT 2010 Unpacking: tar --strip 2 -C /opt/ovz-web-panel/ 
-xzf /opt/ovz-web-panel//ovz-web-panel-1.5.tgz --exclude=*.log 
--exclude=config/database.yml --exclude=db/*.sqlite3
Fri Oct 15 18:53:46 MDT 2010 Removing downloaded archive: rm -f 
/opt/ovz-web-panel//ovz-web-panel-1.5.tgz
Fri Oct 15 18:53:46 MDT 2010 Removing deprecated files...
Fri Oct 15 18:53:46 MDT 2010 Upgrading database...
Fri Oct 15 18:53:47 MDT 2010 Syncing physical servers state...
Fri Oct 15 18:53:47 MDT 2010 Installation finished.
Fri Oct 15 18:53:47 MDT 2010 Product was installed into: /opt/ovz-web-panel/
Fri Oct 15 18:53:47 MDT 2010
Fri Oct 15 18:53:47 MDT 2010 Stopping services...
Fri Oct 15 18:53:47 MDT 2010 Starting services...
Fri Oct 15 18:53:47 MDT 2010 Panel should be available at:
Fri Oct 15 18:53:47 MDT 2010 http://***:3000
Fri Oct 15 18:53:47 MDT 2010 Default credentials: admin/admin
Fri Oct 15 18:53:47 MDT 2010 -----------------------------------
Fri Oct 15 18:59:46 MDT 2010 -----------------------------------
Fri Oct 15 18:59:46 MDT 2010 OpenVZ Web Panel Installer.
Fri Oct 15 18:59:46 MDT 2010 -----------------------------------
Fri Oct 15 18:59:46 MDT 2010 Checking environment...
Fri Oct 15 18:59:46 MDT 2010 System info: Linux kim 
2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 x86_64 
x86_64 x86_64 GNU/Linux
Fri Oct 15 18:59:46 MDT 2010 Detecting distrib ID...
Fri Oct 15 18:59:46 MDT 2010 Checking presence of the command: lsb_release
Fri Oct 15 18:59:46 MDT 2010 LSB info: LSB Version: 
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia
32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.3 
(Final) Release: 5.3 Codename: Final
Fri Oct 15 18:59:46 MDT 2010 Detected distrib ID: CentOS
Fri Oct 15 18:59:46 MDT 2010 OpenVZ hardware node detected.
Fri Oct 15 18:59:46 MDT 2010 Resolving dependencies...
Fri Oct 15 19:00:02 MDT 2010 Checking presence of the command: gem
Fri Oct 15 19:00:03 MDT 2010 Checking presence of the command: ruby
Fri Oct 15 19:00:03 MDT 2010 Ruby version: 1.8.5
Fri Oct 15 19:00:03 MDT 2010 Checking presence of the command: gem
Fri Oct 15 19:00:03 MDT 2010 RubyGems version: 1.3.5
Fri Oct 15 19:00:03 MDT 2010 Checking Ruby SQLite3 support: ruby -e "require 
'rubygems'" -e "require 'sqlite3/database'"
Fri Oct 15 19:00:03 MDT 2010
Fri Oct 15 19:00:03 MDT 2010 Installation...
Fri Oct 15 19:00:03 MDT 2010 Downloading: wget -nc -P /opt/ovz-web-panel/ 
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.5.tgz
Fri Oct 15 19:00:04 MDT 2010 Fatal error: Failed to download distribution.
Fri Oct 15 19:00:10 MDT 2010 -----------------------------------
Fri Oct 15 19:00:10 MDT 2010 OpenVZ Web Panel Installer.
Fri Oct 15 19:00:10 MDT 2010 -----------------------------------
Fri Oct 15 19:00:10 MDT 2010 Checking environment...
Fri Oct 15 19:00:10 MDT 2010 System info: Linux kim 
2.6.18-194.17.1.el5.028stab070.7 #1 SMP Fri Oct 1 14:17:14 MSD 2010 x86_64 
x86_64 x86_64 GNU/Linux
Fri Oct 15 19:00:10 MDT 2010 Detecting distrib ID...
Fri Oct 15 19:00:10 MDT 2010 Checking presence of the command: lsb_release
Fri Oct 15 19:00:10 MDT 2010 LSB info: LSB Version: 
:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia
32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.3 
(Final) Release: 5.3 Codename: Final
Fri Oct 15 19:00:10 MDT 2010 Detected distrib ID: CentOS
Fri Oct 15 19:00:10 MDT 2010 OpenVZ hardware node detected.
Fri Oct 15 19:00:10 MDT 2010 Resolving dependencies...
Fri Oct 15 19:00:23 MDT 2010 Checking presence of the command: gem
Fri Oct 15 19:00:24 MDT 2010 Checking presence of the command: ruby
Fri Oct 15 19:00:24 MDT 2010 Ruby version: 1.8.5
Fri Oct 15 19:00:24 MDT 2010 Checking presence of the command: gem
Fri Oct 15 19:00:24 MDT 2010 RubyGems version: 1.3.5
Fri Oct 15 19:00:24 MDT 2010 Checking Ruby SQLite3 support: ruby -e "require 
'rubygems'" -e "require 'sqlite3/database'"
Fri Oct 15 19:00:24 MDT 2010
Fri Oct 15 19:00:24 MDT 2010 Installation...
Fri Oct 15 19:00:24 MDT 2010 Downloading: wget -nc -P /opt/ovz-web-panel/ 
http://ovz-web-panel.googlecode.com/files/ovz-web-panel-1.5.tgz
Fri Oct 15 19:00:27 MDT 2010 Unpacking: tar --strip 2 -C /opt/ovz-web-panel/ 
-xzf /opt/ovz-web-panel//ovz-web-panel-1.5.tgz --exclude=*.log 
--exclude=config/database.yml --exclude=db/*.sqlite3
Fri Oct 15 19:00:27 MDT 2010 Removing downloaded archive: rm -f 
/opt/ovz-web-panel//ovz-web-panel-1.5.tgz
Fri Oct 15 19:00:27 MDT 2010 Removing deprecated files...
Fri Oct 15 19:00:27 MDT 2010 Upgrading database...
Fri Oct 15 19:00:33 MDT 2010 Syncing physical servers state...
Fri Oct 15 19:00:38 MDT 2010 Installation finished.
Fri Oct 15 19:00:39 MDT 2010 Product was installed into: /opt/ovz-web-panel/
Fri Oct 15 19:00:39 MDT 2010
Fri Oct 15 19:00:39 MDT 2010 Stopping services...
Fri Oct 15 19:00:39 MDT 2010 Starting services...
Fri Oct 15 19:00:51 MDT 2010 Panel should be available at:
Fri Oct 15 19:00:51 MDT 2010 http://***:3000
Fri Oct 15 19:00:51 MDT 2010 Default credentials: admin/admin
Fri Oct 15 19:00:51 MDT 2010 -----------------------------------

Original comment by kd7...@gmail.com on 21 Oct 2010 at 8:35

GoogleCodeExporter commented 9 years ago
Just some additional information. The installation script wasn't working very 
well, so I followed these instructions to install.

Installations for Centos 5.x
1. yum install gcc make ruby ruby-devel sqlite sqlite-devel ruby-rdoc
2. wget http://github.com/albertsj1/Misc-Scripts/raw/master/install_gems.sh
3. chmod +x ./install_gems.sh
4. ./install_gems.sh
5. gem install sqlite3-ruby --version '= 1.2.4'
6. wget -O - http://ovz-web-panel.googlecode.com/svn/installer/ai.sh | sudo sh

Original comment by kd7...@gmail.com on 21 Oct 2010 at 8:42

GoogleCodeExporter commented 9 years ago
Another thought, but after I followed the alternate install instructions, it 
still didn't have the local host server.

Original comment by kd7...@gmail.com on 21 Oct 2010 at 8:44

GoogleCodeExporter commented 9 years ago
Due to first installation failures, autoinstaller wrongly detected the upgrade, 
instead of initial installation.

To fix the problem need to do the following:
* cd /opt/ovz-web-panel/utils/hw-daemon/
* cp hw-daemon.ini.sample hw-daemon.ini
* vi hw-daemon.ini and change key value (don't use default key!)
* /etc/init.d/owp restart
* go to web interface -> physical servers list -> connect new server
* add localhost

Original comment by sibprogrammer on 22 Oct 2010 at 12:57

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 28 Oct 2010 at 4:22

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r738.

Original comment by sibprogrammer on 28 Oct 2010 at 4:24

GoogleCodeExporter commented 9 years ago
Not exactly... I experience an error today and found this for the fix. I had 
installed the OpenVZ Web Panel before installing OpenVZ itself after completing 
the 'Perfect Server Debian Wheezy' sequence from HowToForge.

So... the panel must somehow become able to detect a failed installation 
attempt?

Original comment by djony...@gmail.com on 30 Jan 2014 at 3:17