Re: [one-users] Database problem with oZones server

2011-11-18 Thread Humberto N. Castejon Martinez
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 
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  | @tinova79 | @OpenNebula
>
>
>
> On Tue, Nov 15, 2011 at 2:21 PM, Humberto N. Castejon Martinez <
> humca...@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@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/2017/f71f51ce/attachment-0001.htm
>

--

Message: 3
Date: Thu, 17 Nov 2011 18:20:22 +0100
From: Jaime Melis 
To: Erico Augusto Cavalcanti Guedes 
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Doubt about VNet operation
Message-ID:
   
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
 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@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 | jme...@opennebula.org


--

Message: 4
Date: Thu, 17 Nov 2011 18:07:48 -
From: Jo?o Soares 
To: 
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/2017/db476df0/attachment-0001.htm
>

--

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


End of Users Digest, Vol 45, Issue 35
*
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Database problem with oZones server

2011-11-17 Thread Tino Vazquez
FYI



On Tue, Nov 15, 2011 at 4:34 PM, Tino Vazquez  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  | @tinova79 | @OpenNebula
>
>
>
> On Tue, Nov 15, 2011 at 2:21 PM, Humberto N. Castejon Martinez <
> humca...@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@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Database problem with oZones server

2011-11-15 Thread Humberto N. Castejon Martinez
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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org