Re: [one-users] How to set environment variable?

2012-08-17 Thread Tuan Le Doan
Hi, Thank you for your help, i have fixed it with unset command :) Thank you, Hector. 2012/8/17 Hector Sanjuan > 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

Re: [one-users] How to set environment variable?

2012-08-17 Thread Hector Sanjuan
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 shoul

Re: [one-users] How to set environment variable?

2012-08-17 Thread Shrey Mehrotra
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/

[one-users] How to set environment variable?

2012-08-16 Thread Tuan Le Doan
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 dir