[one-users] Database problem with oZones server

Tino Vazquez tinova at opennebula.org
Thu Nov 17 07:44:02 PST 2011


FYI



On Tue, Nov 15, 2011 at 4:34 PM, Tino Vazquez <tinova at opennebula.org> wrote:

> Hi,
>
> This is probably a permissions issue
>
> You should run the server as an unprivileged user (like oneadmin). It
> should have write permissions in VAR_LOCATION, which is:
>
>  * If ONE_LOCATION is defined, $ONE_LOCATION/var
>  * otherwise, /var/lib/one
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco, MSc
>
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org <http://www.opennebula.org/> | @tinova79 | @OpenNebula
>
>
>
> On Tue, Nov 15, 2011 at 2:21 PM, Humberto N. Castejon Martinez <
> humcasma at gmail.com> wrote:
>
>> Hi,
>>
>> 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:
>>
>> /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$
>>     ...
>> from /usr/lib/ruby/gems/1.8/gems/rack-1.3.5/lib/rack/builder.rb:51:in
>> `initialize'
>> from /usr/lib/one/ozones/config.ru:1:in `new'
>> from /usr/lib/one/ozones/config.ru:1
>> ~ unable to open database file (code: 14, sql state: , query: , uri: )
>>
>> Would like to know if I have to configure the database in some specific
>> way, or if I am doing something wrong. Thanks!
>>
>> Cheers,
>> Humberto
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111117/f71f51ce/attachment-0003.htm>


More information about the Users mailing list