[one-users] How to set environment variable?
Shrey Mehrotra
shrey.jssian at gmail.com
Fri Aug 17 00:08:44 PDT 2012
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 <tuan.fetk52 at gmail.com> wrote:
> Hi everybody,
>
> I had an error when started one and sunstone, it could not find the
> location of one and sunstone:
> [oneadmin at localhost root]$ one start
> Can not find /var/lib/one/bin/oned
>
> [oneadmin at 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 at 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
> 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/20120817/8c4ca0a4/attachment-0003.htm>
More information about the Users
mailing list