[one-users] Problems with Sunstone

Héctor Sanjuán hsanjuan at opennebula.org
Fri Jul 22 05:57:44 PDT 2011


sunstone-server.rb is on /var/lib/one/sunstone so you should try running
"ruby sunstone-server.rb" from that folder.

2.2.1 works well for most people. If using Ubuntu, make sure the right
path to the correct rackup binary is set in PATH. You can try to
uninstall the apt-get Rack in case it is conflicting with the "gem
install" one.

Hector


El 22/07/11 14:29, michael kretzschmar escribió:
> Hi,
> 
> when I tried "ruby sunstone-server.rb" it says:
> 
> root at fe-224:/var/log/one# ruby sunstone-server.rb
> ruby: No such file or directory -- sunstone-server.rb (LoadError)
> 
> I have also reinstalled the rack gem with "gem install rack" several
> times and tried the answers in the other posts. Is it possible, that
> this problem only comes with 2.2.1?
> 
> Greats,
> Achim
> 
> 2011/7/22 Héctor Sanjuán <hsanjuan at opennebula.org
> <mailto:hsanjuan at opennebula.org>>
> 
>     Hi,
> 
>     I'd say it's a matter of "rackup" executable not coming from the same
>     place as the rack gem, but im not sure. Can you check if running "ruby
>     sunstone-server.rb" directly works? Reinstalling the rack gem might
>     help.
> 
>     You can also try other solutions proposed along this thread:
> 
>     http://www.mail-archive.com/users@lists.opennebula.org/msg03312.html
> 
>     Hector
> 
>     El 22/07/11 14:01, michael kretzschmar escribió:
>     > Hi,
>     >
>     > I have a problem with starting the sunstone server. When I try to
>     login
>     > in sunstone, the sunstone.log it says:
>     >
>     > NameError: uninitialized constant Rack::Multipart
>     >     /var/lib/gems/1.8/gems/rack-1.3.1/lib/rack/request.rb:306:in
>     > `parse_multipart'
>     >     /var/lib/gems/1.8/gems/rack-1.3.1/lib/rack/request.rb:182:in
>     `POST'
>     >     /var/lib/gems/1.8/gems/rack-1.3.1/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.1/lib/rack/lint.rb:48:in `_call'
>     >     /var/lib/gems/1.8/gems/rack-1.3.1/lib/rack/lint.rb:36:in `call'
>     >     /var/lib/gems/1.8/gems/rack-1.3.1/lib/rack/showexceptions.rb:24:in
>     > `call'
>     >    
>     /var/lib/gems/1.8/gems/rack-1.3.1/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:257:in `run_machine'
>     >     /usr/lib/ruby/1.8/eventmachine.rb:257: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 - - [22/Jul/2011 13:49:59] "POST /login HTTP/1.1" 500
>     1538 0.0280
>     >
>     > Could anybody help me?
>     >
>     > Thanks,
>     > Achim Fischbach
>     >
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 
> 
>     --
>     Héctor Sanjuán
>     OpenNebula Sunstone Developer
> 
> 


-- 
Héctor Sanjuán
OpenNebula Sunstone Developer



More information about the Users mailing list