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
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to