[one-users] ozones-server problem
Ruben Diez
rdiez at cesga.es
Tue Feb 14 08:34:24 PST 2012
Hi:
We are attempt to set up the ozones-server (OpenNebula 3.2.0 over Debian
6.0.2)
After follow the steps at
http://opennebula.org/documentation:rel3.2:ozonescfg
We found this error:
oneadmin at onesrv04:~$ ozones-server start
Stale .lock detected. Erasing it.
Error executing /srv/cloud/one/lib/ozones/config.ru, please check the
log /srv/cloud/one/var/ozones-server.log
oneadmin at onesrv04:~$ cat /srv/cloud/one/var/ozones-server.log
/srv/cloud/one/bin/ozones-server: line 72: rackup: command not found
So we do:
root at onesrv04:/usr/bin# pwd
/usr/bin
root at onesrv04:/usr/bin# ln -s rackup1.8 rackup
and attempt again:
oneadmin at onesrv04:~$ ozones-server start
Stale .lock detected. Erasing it.
Error executing /srv/cloud/one/lib/ozones/config.ru, please check the
log /srv/cloud/one/var/ozones-server.log
oneadmin at onesrv04:~$ cat /srv/cloud/one/var/ozones-server.log
/usr/lib/ruby/1.8/rack/handler/thin.rb:1:in `require': no such file to
load -- thin (LoadError)
from /usr/lib/ruby/1.8/rack/handler/thin.rb:1
from /usr/lib/ruby/1.8/rack/handler.rb:17:in `const_get'
from /usr/lib/ruby/1.8/rack/handler.rb:17:in `get'
from /usr/lib/ruby/1.8/rack/handler.rb:17:in `each'
from /usr/lib/ruby/1.8/rack/handler.rb:17:in `get'
from /usr/lib/ruby/1.8/rack/server.rb:159:in `server'
from /usr/lib/ruby/1.8/rack/server.rb:155:in `start'
from /usr/lib/ruby/1.8/rack/server.rb:83:in `start'
from /usr/bin/rackup:4
So, edit the /usr/lib/ruby/1.8/rack/handler/thin.rb and change the line:
require "thin"
by this one:
require "rack/handler/thin"
and try again:
oneadmin at onesrv04:~$ cat /srv/cloud/one/var/ozones-server.log
/usr/lib/ruby/1.8/rack/handler/thin.rb:10:in `run': uninitialized
constant Thin (NameError)
from /usr/lib/ruby/1.8/rack/server.rb:155:in `start'
from /usr/lib/ruby/1.8/rack/server.rb:83:in `start'
from /usr/bin/rackup:4
And we do not find a way to solve this... Any idea??
Regards
More information about the Users
mailing list