[one-users] Problem in oneacctd start

Susmita Horrow hsusmita4 at gmail.com
Wed Oct 5 12:30:51 PDT 2011


In acctd.conf I made following changes to make mysql as my database.

# Database URI
:DB: mysql://oneadmin:oneadmin@localhost/opennebula

oneacctd start shows the following error.

/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require':
LoadError: no such file to load -- mysql (Sequel::AdapterNotFound)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/adapters/mysql.rb:4
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `k_require'
from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:250:in
`tsk_require'
from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:72:in
`check_requiring_thread'
from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:69:in
`synchronize'
from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:69:in
`check_requiring_thread'
from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:250:in
`tsk_require'
from
/var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/database/connecting.rb:25:in
`adapter_class'
from
/var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/database/connecting.rb:54:in
`connect'
from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:119:in
`connect'
from /srv/cloud/one/lib/ruby/acct/watch_helper.rb:37
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /srv/cloud/one/lib/ruby/acct/acctd.rb:35


Please tell me where I am wrong.

Regards

Susmita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111006/88b9d06b/attachment-0002.htm>


More information about the Users mailing list