I think using "localhost" is the problem there. $ONE_LOCATION/bin/sunstone-server -H <Hostname where this is installed ( its on the front end) > start <br>worked <br><br>cheers<br><br>Ranjan<br><br><br><div class="gmail_quote">
On Mon, Apr 4, 2011 at 11:44 PM, Madhurranjan Mohaan <span dir="ltr"><<a href="mailto:mohanma@thoughtworks.com">mohanma@thoughtworks.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Experts,<br><br> I installed as per the guidelines and tested a couple of "hello world" scripts with sinatra and its working fine. However, when I start it with open nebula , I am unable to see the screen loading up. I initially hit the error ( running 1.8.6 ruby )<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span style="font-family: monospace;"><pre>
"/usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/utils.rb:138:in `union': <br>> can't convert Array into String (TypeError)"<br><br>Saw the compatibility thread and downgraded rack version to 1.2. However, once I run sunstone, I can see the process up and running along with <br>
2 warnings in sunstoned.log<br>/usr/lib/ruby/gems/1.8/gems/rack-1.2.0/lib/rack/server.rb:228: warning: parenthesize argument(s) for future version<br>/srv/cloud/one/lib/sunstone/models/OpenNebulaJSON.rb:35: warning: parenthesize argument(s) for future version<br>
<br>But I can't connect to <ip>:4567 .Any thoughts as to where I might have gone wrong ?<br><br>thanks<br><br>Ranjan<br><br><br><br></pre></span></span>
</blockquote></div><br>