Here it is:<br>rackup: /usr/bin/rackup1.8 /usr/bin/rackup(S.Link)<br><br>Thank you<br><br><div class="gmail_quote">2011/10/10 Héctor Sanjuán <span dir="ltr"><<a href="mailto:hsanjuan@opennebula.org">hsanjuan@opennebula.org</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Well, that exception is probably at the origin of all the problems you<br>
describe.<br>
<br>
What is the full path of the rackup1.8 binary you are linking to?<br>
<br>
Héctor Sanjuán<br>
OpenNebula Developer<br>
<br>
El 10/10/11 17:03, Bruno Ferreira escribió:<br>
<div class="im">> For sure, Hector.<br>
> I dont know if it matters, but i create a simbolic Link of rackup1.8 to<br>
> rackup.<br>
><br>
><br>
</div>> *LOG:*<br>
<div><div></div><div class="h5">> 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /js/opennebula.js HTTP/1.1"<br>
> <a href="tel:500%20118504" value="+55500118504">500 118504</a> 0.1166<br>
> NoMethodError - undefined method `byte_ranges' for Rack::Utils:Module:<br>
>     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/file.rb:72:in<br>
> `serving'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:230:in<br>
> `send_file'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:852:in<br>
> `static!'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:884:in<br>
> `dispatch!'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in<br>
> `call!'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in<br>
> `invoke'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in<br>
> `catch'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in<br>
> `invoke'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in<br>
> `call!'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:692:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/session/abstract/id.rb:195:in<br>
> `context'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/session/abstract/id.rb:190:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/path_traversal.rb:16:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/json_csrf.rb:17:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/base.rb:47:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/logger.rb:15:in `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/commonlogger.rb:20:in<br>
> `call'<br>
>     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/head.rb:9:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/methodoverride.rb:24:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/showexceptions.rb:21:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1403:in<br>
> `synchronize'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in<br>
> `call'<br>
>     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/lint.rb:48:in<br>
> `_call'<br>
>     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/lint.rb:36:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/showexceptions.rb:24:in<br>
> `call'<br>
><br>
> /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/commonlogger.rb:20:in<br>
> `call'<br>
>     /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'<br>
>     /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call'<br>
>     /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'<br>
>     /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'<br>
>     /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'<br>
>     /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'<br>
>     /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'<br>
>     /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'<br>
>     /usr/lib/ruby/1.8/eventmachine.rb:240:in `run'<br>
>     /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'<br>
>     /usr/lib/ruby/1.8/thin/server.rb:156:in `start'<br>
>     /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run'<br>
>     /usr/lib/ruby/1.8/rack/server.rb:155:in `start'<br>
>     /usr/lib/ruby/1.8/rack/server.rb:83:in `start'<br>
>     /usr/bin/rackup:4<br>
> 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /js/login.js HTTP/1.1" 500<br>
> 118474 0.0878<br>
> 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /favicon.ico HTTP/1.1" 401 -<br>
> 0.0013<br>
> 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /favicon.ico HTTP/1.1" 401 -<br>
> 0.0019<br>
> 127.0.0.1 - - [10/Oct/2011 10:58:36] "GET /favicon.ico HTTP/1.1" 401 -<br>
> 0.0060<br>
> 127.0.0.1 - - [10/Oct/2011 10:58:36] "GET /favicon.ico HTTP/1.1" 401 -<br>
> 0.0070<br>
><br>
><br>
><br>
> 2011/10/10 Héctor Sanjuán <<a href="mailto:hsanjuan@opennebula.org">hsanjuan@opennebula.org</a><br>
</div></div>> <mailto:<a href="mailto:hsanjuan@opennebula.org">hsanjuan@opennebula.org</a>>><br>
<div><div></div><div class="h5">><br>
>     It looks there is an exception showing in your sunstone.log, but you<br>
>     didnt paste all of it. Please, can you provide the full log?<br>
><br>
>     Hector<br>
><br>
>     El 10/10/11 16:06, Bruno Ferreira escribió:<br>
>     > Hi Olivier!<br>
>     > So i tested with firebug but nothing nothing interesting comes up...<br>
>     > Searching the HTMl file of sunstone i just found 2 files:<br>
>     > /usr/lib/one/sunstone/templates/index.html<br>
>     > /usr/lib/one/sunstone/templates/login.html<br>
>     ><br>
>     > Hi Hector im using firefox, Yes all the files in /usr/lib/one are<br>
>     > readable for my user oneadmin...<br>
>     > Thank you very much.<br>
>     ><br>
>     > *sunstone log:*<br>
>     ><br>
>     ><br>
>     ><br>
>     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/lint.rb:36:in<br>
>     > `call'<br>
>     ><br>
>     ><br>
>     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/showexceptions.rb:24:in<br>
>     > `call'<br>
>     ><br>
>     ><br>
>     /home/oneadmin/.gem/ruby/1.8/gems/rack-1.3.4/lib/rack/commonlogger.rb:20:in<br>
>     > `call'<br>
>     >     /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'<br>
>     >     /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call'<br>
>     >     /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'<br>
>     >     /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'<br>
>     >     /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'<br>
>     >     /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'<br>
>     >     /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'<br>
>     >     /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'<br>
>     >     /usr/lib/ruby/1.8/eventmachine.rb:240:in `run'<br>
>     >     /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'<br>
>     >     /usr/lib/ruby/1.8/thin/server.rb:156:in `start'<br>
>     >     /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run'<br>
>     >     /usr/lib/ruby/1.8/rack/server.rb:155:in `start'<br>
>     >     /usr/lib/ruby/1.8/rack/server.rb:83:in `start'<br>
>     >     /usr/bin/rackup:4<br>
>     > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /js/login.js HTTP/1.1" 500<br>
>     > 118474 0.0878<br>
>     > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /favicon.ico HTTP/1.1" 401 -<br>
>     > 0.0013<br>
>     > 127.0.0.1 - - [10/Oct/2011 10:58:33] "GET /favicon.ico HTTP/1.1" 401 -<br>
>     > 0.0019<br>
>     > 127.0.0.1 - - [10/Oct/2011 10:58:36] "GET /favicon.ico HTTP/1.1" 401 -<br>
>     > 0.0060<br>
>     > 127.0.0.1 - - [10/Oct/2011 10:58:36] "GET /favicon.ico HTTP/1.1" 401 -<br>
>     > 0.0070<br>
>     ><br>
>     > sunstone.png<br>
>     ><br>
>     > 2011/10/9 Héctor Sanjuán <<a href="mailto:hsanjuan@opennebula.org">hsanjuan@opennebula.org</a><br>
>     <mailto:<a href="mailto:hsanjuan@opennebula.org">hsanjuan@opennebula.org</a>><br>
</div></div>>     > <mailto:<a href="mailto:hsanjuan@opennebula.org">hsanjuan@opennebula.org</a> <mailto:<a href="mailto:hsanjuan@opennebula.org">hsanjuan@opennebula.org</a>>>><br>
<div><div></div><div class="h5">>     ><br>
>     >     Hi,<br>
>     ><br>
>     >     this is a bit weird. Any messages in sunstone.log? Are you using a<br>
>     >     compatible browser? Are the /usr/lib/one/sunstone/public/<br>
>     readable?<br>
>     ><br>
>     >     Hector<br>
>     ><br>
>     >     El 07/10/11 17:54, Bruno Ferreira escribió:<br>
>     >     > Hello there again!<br>
>     >     ><br>
>     >     > I already finish my basic cloud and would like to start<br>
>     using the<br>
>     >     sun stone.<br>
>     >     > I follow this model :<br>
>     >     > <a href="http://opennebula.org/documentation:archives:rel2.2:sunstone" target="_blank">http://opennebula.org/documentation:archives:rel2.2:sunstone</a><br>
>     >     ><br>
>     >     > The sunstone server is ok, but when a acess via<br>
>     localhost:4567 the<br>
>     >     page<br>
>     >     > just load the basic html(without images and css) and dont<br>
>     recognize my<br>
>     >     > Opennebula server.<br>
>     >     > It says thet my opennebula is not running.<br>
>     >     > I didnt found any information about it and i dont know how<br>
>     organize it<br>
>     >     > manually.<br>
>     >     > If you guys could give me some help i will appreciate.<br>
>     >     > My installation is system wide.<br>
>     >     > Thank you in advance,<br>
>     >     > Bruno Ferreira<br>
>     >     ><br>
>     >     > *Here is my sun stone structure:*<br>
>     >     > /usr/bin/sunstone-server<br>
>     >     > /usr/lib/one/sunstone<br>
>     >     > /usr/lib/one/sunstone/<a href="http://config.ru" target="_blank">config.ru</a> <<a href="http://config.ru" target="_blank">http://config.ru</a>><br>
>     <<a href="http://config.ru" target="_blank">http://config.ru</a>> <<a href="http://config.ru" target="_blank">http://config.ru</a>><br>
>     >     > /usr/lib/one/sunstone/models<br>
>     >     > /usr/lib/one/sunstone/public<br>
>     >     > /usr/lib/one/sunstone/sunstone-server.rb<br>
>     >     > /usr/lib/one/sunstone/templates<br>
>     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON<br>
>     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON.rb<br>
>     >     > /usr/lib/one/sunstone/models/SunstoneServer.rb<br>
>     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/ClusterJSON.rb<br>
>     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/HostJSON.rb<br>
>     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/ImageJSON.rb<br>
>     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/JSONUtils.rb<br>
>     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/PoolJSON.rb<br>
>     >     > /usr/lib/one/sunstone/models/OpenNebulaJSON/UserJSON.rb<br>
>     >     ><br>
>     /usr/lib/one/sunstone/models/OpenNebulaJSON/VirtualMachineJSON.rb<br>
>     >     ><br>
>     /usr/lib/one/sunstone/models/OpenNebulaJSON/VirtualNetworkJSON.rb<br>
>     >     > /usr/lib/one/sunstone/public/css<br>
>     >     > /usr/lib/one/sunstone/public/images<br>
>     >     > /usr/lib/one/sunstone/public/js<br>
>     >     > /usr/lib/one/sunstone/public/vendor<br>
>     >     > /usr/lib/one/sunstone/public/css/application.css<br>
>     >     > /usr/lib/one/sunstone/public/css/layout.css<br>
>     >     > /usr/lib/one/sunstone/public/css/login.css<br>
>     >     > /usr/lib/one/sunstone/public/images/Refresh-icon.png<br>
>     >     > /usr/lib/one/sunstone/public/images/ajax-loader.gif<br>
>     >     > /usr/lib/one/sunstone/public/images/login.png<br>
>     >     > /usr/lib/one/sunstone/public/images/login_over.png<br>
>     >     > /usr/lib/one/sunstone/public/images/opennebula-sunstone-big.png<br>
>     >     ><br>
>     /usr/lib/one/sunstone/public/images/opennebula-sunstone-small.png<br>
>     >     > /usr/lib/one/sunstone/public/images/panel.png<br>
>     >     > /usr/lib/one/sunstone/public/images/pbar.gif<br>
>     >     > /usr/lib/one/sunstone/public/js/layout.js<br>
>     >     > /usr/lib/one/sunstone/public/js/login.js<br>
>     >     > /usr/lib/one/sunstone/public/js/one-ui_views.js<br>
>     >     > /usr/lib/one/sunstone/public/js/one-ui_views.templates.js<br>
>     >     > /usr/lib/one/sunstone/public/js/opennebula.js<br>
>     >     > /usr/lib/one/sunstone/public/vendor/dataTables<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jGrowl<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jQuery<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jQueryLayout<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jQueryUI<br>
>     >     > /usr/lib/one/sunstone/public/vendor/dataTables/BSD-LICENSE.txt<br>
>     >     > /usr/lib/one/sunstone/public/vendor/dataTables/NOTICE<br>
>     >     ><br>
>     /usr/lib/one/sunstone/public/vendor/dataTables/demo_table_jui.css<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/dataTables/jquery.dataTables.min.js<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jGrowl/NOTICE<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jGrowl/jquery.jgrowl.css<br>
>     >     ><br>
>     /usr/lib/one/sunstone/public/vendor/jGrowl/jquery.jgrowl_minimized.js<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jQuery/MIT-LICENSE.txt<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jQuery/NOTICE<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jQuery/jquery-1.4.4.min.js<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jQueryLayout/NOTICE<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryLayout/jquery.layout.min-1.2.0.js<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryLayout/layout-default-latest.css<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jQueryUI/MIT-LICENSE.txt<br>
>     >     > /usr/lib/one/sunstone/public/vendor/jQueryUI/NOTICE<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/jquery-ui-1.8.7.custom.css<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/jquery-ui-1.8.7.custom.min.js<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_flat_0_575c5b_40x100.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_flat_0_8f9392_40x100.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_flat_0_aaaaaa_40x100.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_flat_75_ffffff_40x100.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_55_fbf9ee_1x400.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_65_ffffff_1x400.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_75_dadada_1x400.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_75_e6e6e6_1x400.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_glass_95_fef1ec_1x400.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-bg_highlight-soft_75_cccccc_1x100.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_222222_256x240.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_2e83ff_256x240.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_454545_256x240.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_888888_256x240.png<br>
>     >     ><br>
>     ><br>
>     /usr/lib/one/sunstone/public/vendor/jQueryUI/ui-icons_cd0a0a_256x240.png<br>
>     >     > /usr/lib/one/sunstone/templates/index.html<br>
>     >     > /usr/lib/one/sunstone/templates/login.html<br>
>     >     > /var/log/one/sunstone.log<br>
>     >     ><br>
>     >     ><br>
>     >     > _______________________________________________<br>
>     >     > Users mailing list<br>
>     >     > <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>     <mailto:<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>><br>
</div></div>>     <mailto:<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a> <mailto:<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>>><br>
<div><div></div><div class="h5">>     >     > <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>     ><br>
>     ><br>
>     >     --<br>
>     >     Héctor Sanjuán<br>
>     >     OpenNebula Sunstone Developer<br>
>     ><br>
>     ><br>
>     ><br>
>     ><br>
>     > --<br>
>     > Atenciosamente,<br>
>     > Bruno Ferreira.<br>
>     ><br>
><br>
><br>
>     --<br>
>     Héctor Sanjuán<br>
>     OpenNebula Sunstone Developer<br>
><br>
><br>
><br>
><br>
> --<br>
> Atenciosamente,<br>
> Bruno Ferreira.<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Atenciosamente,<br>Bruno Ferreira.<br><br>