[one-users] Database problem with oZones server

Humberto N. Castejon Martinez humcasma at gmail.com
Fri Nov 18 02:06:53 PST 2011


That's right. It was a permissions problem. I had tried to run the ozones
server as oneadmin before asking for help, but it did not work. The actual
problem was that I had run the server the very first time as root, and so
root became the owner of the log file, giving problems when running the
server as oneadmin later on. I remove the log file, started the server as
oneadmin and everything worked. Thanks!

Cheers,
Humberto

 >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-0001.htm
>

------------------------------

Message: 3
Date: Thu, 17 Nov 2011 18:20:22 +0100
From: Jaime Melis <jmelis at opennebula.org>
To: Erico Augusto Cavalcanti Guedes <eacg at cin.ufpe.br>
Cc: users at lists.opennebula.org
Subject: Re: [one-users] Doubt about VNet operation
Message-ID:
       <CA+HrgRqjwfdf-jMRsm5Vx+RSi+RcOtdaFo4EgbfVaPpLJdq=Ug at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello Erico,

take a look at this thread which is currently under discussion:
http://www.mail-archive.com/users@lists.opennebula.org/msg04582.html

regards,
Jaime

On Wed, Nov 16, 2011 at 2:15 AM, Erico Augusto Cavalcanti Guedes
<eacg at cin.ufpe.br> wrote:
> Dears,
>
> when two VMs are running on same Physical Machine under one unique VNet,
> communication between then are performed without an external device, like
a
> switch, or it is unpredictable that traffic pass through the switch?
>
> I read [1], but It was inconclusive.
>
> Thanks in advance,
>
> Erico.
>
> [1]
>
http://www.opennebula.org/_detail/documentation:rel1.4:network-02.png?id=documentation%3Arel3.0%3Avgg
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org


------------------------------

Message: 4
Date: Thu, 17 Nov 2011 18:07:48 -0000
From: Jo?o Soares <joaosoares at ua.pt>
To: <users at lists.opennebula.org>
Subject: [one-users] Opennebula 3.0 & OpenVSwitch
Message-ID: <002301cca553$d0d06a50$72713ef0$@pt>
Content-Type: text/plain; charset="iso-8859-1"

Hello,



There are two ways of installing OpenVSwitch: with kernel modification; and
without it (userspace mode). I was thinking about installing the userspace
mode?is there any problem? Is there any difference in terms of Opennebula?s
interaction with OVS?



Cheers,

Jo?o

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111117/db476df0/attachment-0001.htm
>

------------------------------

_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


End of Users Digest, Vol 45, Issue 35
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111118/d79a5699/attachment-0002.htm>


More information about the Users mailing list