Re: WebVZ 2.0 is released [message #37070 is a reply to message #32897] |
Mon, 17 August 2009 12:54 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
litto
Messages: 4 Registered: August 2009
|
Junior Member |
|
|
Hello,
I have just installed a new node and webvz.
But unfortunally, I have a problem with, probably, sqlite3 and vps_id table.
When I log into MyAddress:3000 and click to 'Containers'
I`m getting
'No such file or directory - /var/lib/vz/private/Warning:/etc/issue'
Seems like sqlite put 'warning' for vps_id.
I changed in app/controllers/application.rb
file = File.open("/var/lib/vz/private/#{vps_id}/etc/issue to VPS ID :
file = File.open("/var/lib/vz/private/100/etc/issue and it works.
In logs I see only query:
Processing ContainerController#list_vps (for 193.239.124.2 at 2009-08-17 11:55:45) [GET]
Session ID: BAh7CzoMY3NyZl9pZCIlNDhhYTA5ZmE2YWUwM2M2ZTlkM2UyMzU2MjBiZjAw
MjM6D3Blcm1pc3Npb24iCmFkbWluOgx1c2VyX2lkaQY6CW5hbWUiEkFkbWlu
aXN0cmF0b3I6DnVzZXJfbmFtZSIKYWRtaW4iCmZsYXNoSUM6J0FjdGlvbkNv
bnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ddfc43 c937ddab9242ccf1a16ee5c45eb2bf0111
Parameters: {"action"=>"list_vps", "controller"=>"container", "status"=>"all"}
User Load (0.001333) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
and probably this query gives 'Warning' and mess up everything.
How can I fix this?
Regards.
|
|
|