[one-users] oneacct doesn't work (bug)

Javier Fontan jfontan at opennebula.org
Wed Jan 18 07:03:51 PST 2012


Thanks for reporting. I've created a ticket to track this problem
http://dev.opennebula.org/issues/1063

We will provide a fix for this as soon as possible.

On Wed, Jan 18, 2012 at 1:31 PM, Rolandas Naujikas
<rolandas.naujikas at mif.vu.lt> wrote:
> Hi,
>
> Opennebula is installed from package (in Debian 6.0.3).
>
> $ oneacct
> /usr/bin/oneacct:27: undefined method `+' for nil:NilClass (NoMethodError)
>
> By looking into /usr/bin/oneacct I see:
>
> ONE_LOCATION=ENV['ONE_LOCATION']
>
> $: << ONE_LOCATION+'/lib/ruby'
> $: << ONE_LOCATION+'/lib/ruby/cli'
>
> What will not work if ONE_LOCATION is not set.
> Setting it to ONE_LOCATION=/usr
>
> $ ONE_LOCATION=/usr oneacct
> /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- acct/oneacct (LoadError)
>        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
>        from /usr/bin/oneacct:32
>
> So it looks like support for system wide installation in oneacct command
> doesn't exists.
>
> Regards, Rolandas
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula



More information about the Users mailing list