Hello, if you have a system-wide install (as you mentioned in the other thread), ONE_LOCATION should NOT be set. You can unset it with:

oneadmin $> unset ONE_LOCATION

Make sure is not set in .basrc or you would have to re-unset everytime. Also, unless your not using the defaults, there should be no need to set ONE_AUTH, ONE_XMLRPC, modify PATH either.

Hector

PS. ONE_LOCATION indicates the folder for self-contained installations. This install mode can only be done compiling the sources and installing manually.

En Fri, 17 Aug 2012 09:08:44 +0200, Shrey Mehrotra <[email protected]> escribió:

Try this

Create a file[~/.bash_profile] to set ENVIRONMENT VARIABLES to start and
use services rendered by "one" and "sunstone"

nano ~/.bash_profile
export ONE_LOCATION=/var/lib/one
export ONE_AUTH=$ONE_LOCATION/.one/one_auth
export ONE_XMLRPC=http://localhost:2633/RPC2
export
PATH=$ONE_LOCATION/bin:/usr/local/bin:/var/lib/gems/1.8/bin/:/var/lib/gems/1.8/:$PATH

source ~/.bash_profile

warm regards..
Shrey Mehrotra.
Impetus Infotech India Pvt. Ltd
9953241734



On Fri, Aug 17, 2012 at 9:47 AM, Tuan Le Doan <[email protected]> wrote:

Hi everybody,

I had an error when started one and sunstone, it could not find the
location of one and sunstone:
[oneadmin@localhost root]$ one start
Can not find /var/lib/one/bin/oned

[oneadmin@localhost root]$ sunstone-server start
grep: /var/lib/one/etc/sunstone-server.conf: No such file or directory
Cannot find /var/lib/one/lib/sunstone/sunstone-server.rb

I think I had something wrong about environment variable:
[oneadmin@localhost root]$ echo $ONE_LOCATION
/var/lib/one

It should be "$HOME/one", right?
But i don't know how can i change it. Can anyone help me?

Thank you.

--
*Le Doan Tuan-----------------------------------------------------*
Undergraduate Student of School of Electronics & Telecommunications.
Hanoi University of Science & Technology
Tel    : +84 987 248 215
Yahoo: ledoantuan1
Skype: ledoantuan1


_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




--
Hector Sanjuan
OpenNebula Developer
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to