FYI<br><br>
<br><br><div class="gmail_quote">On Tue, Nov 15, 2011 at 4:34 PM, Tino Vazquez <span dir="ltr"><<a href="mailto:tinova@opennebula.org">tinova@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>This is probably a permissions issue<br><div><br></div><div>You should run the server as an unprivileged user (like oneadmin). It should have write permissions in VAR_LOCATION, which is:</div><div>
<br>
</div><div> * If ONE_LOCATION is defined, $ONE_LOCATION/var</div><div> * otherwise, /var/lib/one</div><div><br></div><div>Regards,</div><div><br></div><div>-Tino</div><div><br clear="all"><div>--</div><div>Constantino Vázquez Blanco, MSc <div class="im">
<br>
Project Engineer<br>OpenNebula - The Open Source Toolkit for Data Center Virtualization<br></div><div><span style="color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><a href="http://www.opennebula.org/" style="color:rgb(28, 81, 168)" target="_blank">www.OpenNebula.org</a></span> | @tinova79 | @OpenNebula </div>
</div><br>
<br><br><div class="gmail_quote"><div><div class="h5">On Tue, Nov 15, 2011 at 2:21 PM, Humberto N. Castejon Martinez <span dir="ltr"><<a href="mailto:humcasma@gmail.com" target="_blank">humcasma@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 class="h5">
<div>Hi,<br></div><div><br></div><div>I am trying to run the oZones sever, but have problems accessing the database. With both, MySQL and SQLite, when I run "ozones-server start" as root, I get the following error message:</div>
<div><br></div><div>/usr/lib/ruby/gems/1.8/gems/data_objects-0.10.7/lib/data_objects/connection.rb:79:in `initialize': unable to open database file (DataObjects::Connection$<br> ...</div><div>from /usr/lib/ruby/gems/1.8/gems/rack-1.3.5/lib/rack/builder.rb:51:in `initialize'<br>
from /usr/lib/one/ozones/config.ru:1:in `new'<br> from /usr/lib/one/ozones/<a href="http://config.ru:1" target="_blank">config.ru:1</a><br> ~ unable to open database file (code: 14, sql state: , query: , uri: )<br>
</div>
<div><br></div><div>Would like to know if I have to configure the database in some specific way, or if I am doing something wrong. Thanks!</div><div><br></div><div>Cheers,</div><div>Humberto</div>
<br></div></div><div class="im">_______________________________________________<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></div></blockquote></div><br></div></div>
</blockquote></div><br>