PDA

View Full Version : Problem with instalation WebVZ


swap-as
26th August 2008, 07:57
After I connect with a web browser :
http://192.168.1.105:3000/container/list_vps?status=all

Not log in with:

Username: admin
Passwort: admin123



ActiveRecord::StatementInvalid in ContainerController#list_vps

Could not find table 'users'

RAILS_ROOT: /root/webvz.1.5
Application Trace | Framework Trace | Full Trace

/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:29:in `table_structure'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/object/misc.rb:28:in `returning'
.......................
.......................

Where is problem?

falko
27th August 2008, 16:11
It seems as if a table is missing (in the SQLite database?). Are there any errors in your logs?

swap-as
27th August 2008, 17:26
virtualus:~# cd webvz.1.5
virtualus:~/webvz.1.5# ruby script/server
=> Booting WEBrick...
=> Rails 2.1.0 application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-08-27 18:00:48] INFO WEBrick 1.3.1
[2008-08-27 18:00:48] INFO ruby 1.8.5 (2006-08-25) [i486-linux]
[2008-08-27 18:00:48] INFO WEBrick::HTTPServer#start: pid=12485 port=3000



192.168.1.10 - - [27/Aug/2008:18:03:11 EEST] "GET / HTTP/1.1" 304 0
- -> /
192.168.1.10 - - [27/Aug/2008:18:03:29 EEST] "GET /container/list_vps?status=all HTTP/1.1" 500 14876
http://192.168.1.105:3000/ -> /container/list_vps?status=all

What log and from where it must be insert for you? Sorry at my english.

falko
28th August 2008, 15:58
I'd check all the logs in the /var/log directory.