[one-users] onevdc or onezone CLI of the ozones-server execute perform error?

刘德伟 liudewei at neusoft.com
Wed Nov 2 21:35:14 PDT 2011


 
Hi,
ozones-server start is running in OpenNebula3.0.
Before installation, perform commands are error.
ruby1.9 installed by Ozones-server document  explain.
Wget < http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz >
Decompression and compiles ruby
Tar ZXVF ruby-1.9.2-p290. Tar. Gz
CD ruby-1.9.2-p290
. / configure-prefix = / usr/local/ruby192
make
Make install
In/etc/profile finally add
Export PATH = / usr/local/ruby192 / bin: $PATH
Save, executive
Source/etc/profile
Check ruby version
Ruby-v  is ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] 
Download rubygems1.8.10
Wget < http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz >
Decompression and install rubygems
Tar ZXVF rubygems-1.8.10. TGZ
CD rubygems-1.8.10
Ruby setup. Rb
After installation with gem-v can check version is 1.8.11
The above process installation termination 。

Executive onevdc onezone or command prompts the following error :
opt/nebula/ONE/lib/ruby/OZonesClient.rb:195: warning: parenthesize argument(s) for future version
/opt/nebula/ONE/lib/ruby/OZonesClient.rb:17:in `require': no such file to load -- rubygems (LoadError)
from /opt/nebula/ONE/lib/ruby/OZonesClient.rb:17
from /opt/nebula/ONE/lib/ruby/cli/ozones_helper.rb:1:in `require'
from /opt/nebula/ONE/lib/ruby/cli/ozones_helper.rb:1
from /opt/nebula/ONE/lib/ruby/cli/ozones_helper/zones_helper.rb:1:in `require'
from /opt/nebula/ONE/lib/ruby/cli/ozones_helper/zones_helper.rb:1
from /opt/nebula/ONE/bin/onezone:15:in `require'
from /opt/nebula/ONE/bin/onezone:15

How to solve this problem ? 
Hope to get your reply as soon as possible!

regards!
thanks!


2011-11-03 


yotta
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spacer.gif
Type: image/gif
Size: 43 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tl.jpg
Type: image/jpeg
Size: 2300 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0018.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t_bg.jpg
Type: image/jpeg
Size: 5958 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0019.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t_mr.jpg
Type: image/jpeg
Size: 4230 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0020.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tr.jpg
Type: image/jpeg
Size: 2329 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0021.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_bgl.jpg
Type: image/jpeg
Size: 2952 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0022.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_bgr.jpg
Type: image/jpeg
Size: 3643 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0023.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dl.jpg
Type: image/jpeg
Size: 1481 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0024.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d_bg.jpg
Type: image/jpeg
Size: 4023 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0025.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dr.jpg
Type: image/jpeg
Size: 1842 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111103/4aed0503/attachment-0026.jpg>


More information about the Users mailing list