mdzidic / ovz-web-panel

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

Install on centos not successful #173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1.  run the easy install as found on the project home.

Actual result:
The first time i installed i received a boatload of file not founds and found 
that it seemed the tar failed when unpacking your distro.  I ran it again and 
now i get this as the first error:

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
Removing downloaded archive: rm -f /opt/ovz-web-panel//ovz-web-panel-1.5.tgz
Removing deprecated files...
Upgrading database...
(in /opt/ovz-web-panel)
rake aborted!
No such file or directory - /opt/ovz-web-panel/config/database.yml
See full trace by running task with --trace)
Syncing physical servers state...
/opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb
:819:in `read': No such file or directory - 
/opt/ovz-web-panel/config/database.yml (Errno::ENOENT)
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:819:in `database_configuration'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:391:in `initialize_database'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:139:in `process'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:112:in `send'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:112:in `run'
    from /opt/ovz-web-panel/config/environment.rb:13
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /opt/ovz-web-panel/vendor/rails/railties/lib/commands/runner.rb:39
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /opt/ovz-web-panel//script/runner:3
Installation finished.
Product was installed into: /opt/ovz-web-panel/

Stopping services...
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 services...
Starting OpenVZ Web Panel
=> Booting WEBrick...
/opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb
:819:in `read': No such file or directory - 
/opt/ovz-web-panel/config/database.yml (Errno::ENOENT)
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:819:in `database_configuration'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:391:in `initialize_database'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:139:in `process'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:112:in `send'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:112:in `run'
    from /opt/ovz-web-panel/config/environment.rb:13
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
     ... 9 levels...
    from /opt/ovz-web-panel/vendor/rails/railties/lib/commands/server.rb:49
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /opt/ovz-web-panel//script/server:3
/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...
/opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb
:819:in `read': No such file or directory - 
/opt/ovz-web-panel/config/database.yml (Errno::ENOENT)
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:819:in `database_configuration'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:391:in `initialize_database'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:139:in `process'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:112:in `send'
    from /opt/ovz-web-panel//script/../config/../vendor/rails/railties/lib/initializer.rb:112:in `run'
    from /opt/ovz-web-panel/config/environment.rb:13
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /opt/ovz-web-panel/vendor/rails/railties/lib/commands/runner.rb:39
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /opt/ovz-web-panel//script/runner:3
Panel should be available at:
http://www.myserver.com:3000
Default credentials: admin/admin

Expected result:

Version of the product:
latest

Server OS:
Centos 5.3 final

Browser:
N/A didn't get that far

Additional information:

Original issue reported on code.google.com by GaelinT...@gmail.com on 21 Aug 2010 at 5:00

GoogleCodeExporter commented 9 years ago
Try to uninstall the product first:
wget -O - http://ovz-web-panel.googlecode.com/svn/installer/ai.sh | sh -s 
UNINSTALL=1

Then need to remove /tmp/ovz-web-panel.log file and try to install the panel 
again:
wget -O - http://ovz-web-panel.googlecode.com/svn/installer/ai.sh | sh

If installation failed, then attach /tmp/ovz-web-panel.log file here for 
investigation.

Original comment by sibprogrammer on 22 Aug 2010 at 3:27

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 22 Aug 2010 at 3:28

GoogleCodeExporter commented 9 years ago
Hi,

for us the installation went fine under CentOS release 5.4 (Final).

BR,
Thomas

Original comment by devconr...@gmail.com on 24 Aug 2010 at 5:37

GoogleCodeExporter commented 9 years ago
I also checked 1.5 version before release on CentOS 5.4. All was ok.

Original comment by sibprogrammer on 25 Aug 2010 at 12:35

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 14 Sep 2010 at 4:15

GoogleCodeExporter commented 9 years ago
Closing request, due to lack of activity for a long time.

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

GoogleCodeExporter commented 9 years ago
reinstall work for me.thanks!

Original comment by kang...@gmail.com on 15 Jan 2011 at 1:50

GoogleCodeExporter commented 9 years ago
i install on CentOS 5.7 finall and error:

Fatal error: RubyGems is not installed. Please install it first.

i type: gem -v output:
1.3.5

Please help me!

Original comment by ad...@chobiengioi.com on 8 Jun 2012 at 4:54