Hello,<div><br></div><div>I forgot to mention that you need to set the ONE_AUTH environment variable:</div><div><a href="http://opennebula.org/documentation:rel2.2:cg#opennebula_users">http://opennebula.org/documentation:rel2.2:cg#opennebula_users</a></div>

<div><br></div><div>Regards,</div><div>Jaime<br><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 10:44 AM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org">jmelis@opennebula.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div><br></div><div>It seems that you don't have write permissions in /var/log/one, could you try the following?</div>

<div>touch /var/log/one/test</div><div>If that's the problem try to fix it with chown or chmod.</div>
<div><br></div><div>However, you shouldn't be having that problem, how have you installed OpenNebula? what package and what distro?</div><div><br></div><div>Regards,</div><div>Jaime</div><div><br><div class="gmail_quote">

<div><div></div><div class="h5">
On Wed, Apr 6, 2011 at 7:12 AM, KING LABS <span dir="ltr"><<a href="http://kinglabs.in" target="_blank">kinglabs.in</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div></div><div class="h5">
Hi ,<br><br>I have been trying to install and configure 2.2 with Sunstone. I unable to login into the sunstone . The details of the error are as follows when I log in as a normal user on the frontend.<br><br>Also when i try while logged in as oneadmin I get <br>



<br>oneadmin@frontend:~$ sunstone-server start<br>/usr/bin/sunstone-server: line 70: /var/log/one/sunstone.log: Permission denied<br>sunstone-server started<br>oneadmin@frontend:~$ <br><br><br>Please correct me if I am missing anything.<br>



<br><br><br><br><br><br><br>-------------------------------------------------------------------------------------------------------------------------------------------------------------<br><br><br><br>RuntimeError - ONE_AUTH file not present:<br>



 /usr/lib/one/ruby/OpenNebula.rb:93:in `initialize'<br> /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `new'<br> /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `authorize'<br> /usr/lib/one/sunstone/sunstone-server.rb:48:in `build_session'<br>



 /usr/lib/one/sunstone/sunstone-server.rb:120:in `POST /login'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in `call'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in `compile!'<br>



 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in `instance_eval'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in `route_eval'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:693:in `route!'<br>



 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:741:in `process_route'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in `catch'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in `process_route'<br>



 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:692:in `route!'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `each'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `route!'<br>



 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:826:in `dispatch!'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `instance_eval'<br>



 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `catch'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke'<br>



 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:604:in `call'<br> /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:63:in `context'<br>



 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:58:in `call'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/showexceptions.rb:21:in `call'<br> /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/methodoverride.rb:24:in `call'<br>



 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call'<br> /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1276:in `synchronize'<br>



 /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call'<br> /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:48:in `_call'<br> /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:36:in `call'<br>



 /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/showexceptions.rb:24:in `call'<br> /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `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 - - [06/Apr/2011 01:07:05] "POST /login HTTP/1.1" 500 138892 0.0876<br>127.0.0.1 - - [06/Apr/2011 01:07:05] "POST /login HTTP/1.1" 500 138892 0.0885<br>



^C<br>king@frontend:~$ <br>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>



<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<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></blockquote></div><br></div><br clear="all"><br>-- <br>Jaime Melis, Cloud Technology Engineer/Researcher<br>Major Contributor<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>



</blockquote></div><br><br clear="all"><br>-- <br>Jaime Melis, Cloud Technology Engineer/Researcher<br>Major Contributor<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>


</div>