<div><br></div><div>In acctd.conf I made following changes to make mysql as my database.</div><div><br></div><div><div># Database URI</div><div>:DB: mysql://oneadmin:oneadmin@localhost/opennebula</div></div><div><br></div>
<div>oneacctd start shows the following error.</div><div><br></div><div>/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': LoadError: no such file to load -- mysql (Sequel::AdapterNotFound)</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/adapters/mysql.rb:4</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `k_require'</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:250:in `tsk_require'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:72:in `check_requiring_thread'</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:69:in `synchronize'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:69:in `check_requiring_thread'</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:250:in `tsk_require'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/database/connecting.rb:25:in `adapter_class'</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/database/connecting.rb:54:in `connect'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /var/lib/gems/1.8/gems/sequel-3.28.0/lib/sequel/core.rb:119:in `connect'</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>from /srv/cloud/one/lib/ruby/acct/watch_helper.rb:37</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>from /srv/cloud/one/lib/ruby/acct/acctd.rb:35</div>
<div><br></div><div><br></div><div>Please tell me where I am wrong.</div><div><br></div><div>Regards</div><div><br></div><div>Susmita</div>