Hi Hector, I'm using Ubuntu 10.04, and I think I've solved the issue of rack using links :
> : http://comments.gmane.org/gmane.comp.distributed.opennebula.user/2257 > >> gem install json sinatra thin rack >> cd /usr/bin/; ln -s rackup1.8 rackup # might be required >> apt-get install rails thin Reagrds, Amine On Thu, Sep 1, 2011 at 4:29 PM, Héctor Sanjuán <[email protected]>wrote: > Hi, > > To me it looks like the path to "rackup" is not the one it should be (im > guessing its Ubuntu here?). If rack is installed via "gem install", the > right "rackup" is probably under "/var/lib/gems/1.8/bin". > > Commonly this problem appears because Sunstone is using > "/usr/bin/rackup" (probably from a package) instead of the > "/var/lib/gems/1.8/bin/rackup". > > Check that this is the case (run "which rackup") and, if so, uninstall > any rack packages and a) include /var/lib/gems/1.8/bin in PATH or b) > Create a symlink to "/var/lib/gems/1.8/bin/rackup" in /usr/bin. > > Hope it helps and let us know if it works, > > Hector > > El 01/09/11 13:26, Amine Ghrab escribió: > > Hi all, > > > > I'm trying to install Sunstone on OpenNebula 3, and I'm getting the > > following error when trying to log at the address : > http://localhost:9869/ > > > > The server seems to be correctly started : > > > > oneadmin@ena-desktop:~$ /usr/bin/sunstone-server start > > sunstone-server listening on 127.0.0.1:9869 <http://127.0.0.1:9869> > > > > > > I've followed the discussion > > : http://comments.gmane.org/gmane.comp.distributed.opennebula.user/2257 > > > >> gem install json sinatra thin rack > >> cd /usr/bin/; ln -s rackup1.8 rackup # might be required > >> apt-get install rails thin > > > > The log file output is : > > > > NameError: uninitialized constant Rack::Multipart > > > > /var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/request.rb:306:in > > `parse_multipart' > > > > /var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/request.rb:182:in > `POST' > > > > > /var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/methodoverride.rb:15:in > > `call' > > > > /var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in > > `call' > > > > /var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1303:in > > `synchronize' > > > > /var/lib/gems/1.8/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in > > `call' > > > > /var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/lint.rb:48:in `_call' > > > > /var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/lint.rb:36:in `call' > > > > > /var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/showexceptions.rb:24:in > > `call' > > > > /var/lib/gems/1.8/gems/rack-1.3.2/lib/rack/commonlogger.rb:20:in > > `call' > > > > /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call' > > > > /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call' > > > > /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process' > > > > /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch' > > > > /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process' > > > > /usr/lib/ruby/1.8/thin/connection.rb:57:in `process' > > > > /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data' > > > > /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine' > > > > /usr/lib/ruby/1.8/eventmachine.rb:240:in `run' > > > > /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start' > > > > /usr/lib/ruby/1.8/thin/server.rb:156:in `start' > > > > /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run' > > > > /usr/lib/ruby/1.8/rack/server.rb:155:in `start' > > > > /usr/lib/ruby/1.8/rack/server.rb:83:in `start' > > > > /usr/bin/rackup:4 > > > > 127.0.0.1 - - [01/Sep/2011 12:17:36] "POST /login HTTP/1.1" 500 > > 1538 0.0211 > > > > > > Regards, > > > > Amine > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > -- > Héctor Sanjuán > OpenNebula Sunstone Developer >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
