<div dir="ltr">Thanks a lot, we will fix it for the final release:<div><a href="http://dev.opennebula.org/issues/3120">http://dev.opennebula.org/issues/3120</a><br></div><div><br></div><div>Cheers.</div></div><div class="gmail_extra">
<br clear="all"><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div>
<br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 3:14 AM, Anandharaj Subramaniam <span dir="ltr"><<a href="mailto:anandharaj.maniam@mimos.my" target="_blank">anandharaj.maniam@mimos.my</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Below is the output from debug.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">[oneadmin@opennebula ~]$ ruby -d /usr/bin/onedb fsck -f -S localhost -u oneadmin -p ****** -d opennebula</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/cli/command_parser.rb:434: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/cli/command_parser.rb:496: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/cli/command_parser.rb:507: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/cli/command_parser.rb:524: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/cli/command_parser.rb:543: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/cli/command_parser.rb:572: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/onedb/onedb.rb:30: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/onedb/onedb.rb:40: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/onedb/onedb_backend.rb:24: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1113 - no such file to load -- rubygems/defaults/operating_system</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:50 - no such file to load -- Win32API</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- sequel</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `NoMethodError' at /usr/lib/ruby/1.8/rational.rb:78 - undefined method `gcd' for Rational(1, 2):Rational</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/opennebula/xml_pool.rb:25: warning: method redefined; discarding old initialize</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/opennebula/xml_pool.rb:31: warning: method redefined; discarding old each_element</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- nokogiri</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- ox</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- xmlparser</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38 - no such file to load -- xmlparser</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/one/ruby/opennebula/host.rb:124: warning: ambiguous first argument; put parentheses or even spaces</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31 - no such file to load -- mysqlplus</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `LoadError' at /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38 - no such file to load -- mysqlplus</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `Errno::ECONNREFUSED' at /usr/lib/ruby/1.8/net/http.rb:560 - Connection refused - connect(2)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<div class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Use 'onedb restore' or restore the DB using the mysql command:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">mysql -u user -h server -P port db_name < backup_file</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
</div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/query.rb:80: warning: instance variable @columns not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/usr/lib/ruby/gems/1.8/gems/sequel-4.1.1/lib/sequel/dataset/actions.rb:141: warning: instance variable @row_proc not initialized</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `NoMethodError' at /usr/lib/one/ruby/onedb/fsck.rb:623 - undefined method `[]' for nil:NilClass</span></p>
<div class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">undefined method `[]' for nil:NilClass</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Error running fsck version 4.6.0</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The database will be restored</span></p>
</div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Exception `Errno::ECONNREFUSED' at /usr/lib/ruby/1.8/net/http.rb:560 - Connection refused - connect(2)</span></p>
<div class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">MySQL DB opennebula at localhost restored.</span></p>
</div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">[oneadmin@opennebula ~]$</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">--</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Anandharaj</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Carlos Martín Sánchez [mailto:<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>]
<br>
<b>Sent:</b> Friday, July 25, 2014 4:54 PM<br>
<b>To:</b> Anandharaj Subramaniam<br>
<b>Cc:</b> <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
<b>Subject:</b> Re: [one-users] Upgrade 4.6 to 4.8 (beta) - onedb fsck report an error</span></p><div><div class="h5">
<p class="MsoNormal"> </p>
<div>
<div>
<div>
<p class="MsoNormal">Hi Anandharaj,</p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Can you please try the onedb command again, with the debug flag?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">ruby -d `which onedb` fsck ....</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thank you.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
</p>
<div>
<div>
<p class="MsoNormal">--</p>
<div>
<p class="MsoNormal">Carlos Martín, MSc<br>
Project Engineer</p>
</div>
<div>
<p class="MsoNormal">OpenNebula - Flexible Enterprise Cloud Made Simple</p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> |
<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> |
<a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> </p>
<div>
<p class="MsoNormal">On Fri, Jul 25, 2014 at 4:47 AM, Anandharaj Subramaniam <<a href="mailto:anandharaj.maniam@mimos.my" target="_blank">anandharaj.maniam@mimos.my</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have followed the documentation to upgrade my test OpenNebula from 4.6.2 to the 4.8 (beta 1). When I run the onedb fsck, I got an error.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[oneadmin@opennebula ~]$ onedb upgrade -v -u oneadmin -d opennebula</p>
<p class="MsoNormal">MySQL Password:</p>
<p class="MsoNormal">Version read:</p>
<p class="MsoNormal">Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap</p>
<p class="MsoNormal">Local tables 4.5.80 : OpenNebula 4.6.2 daemon bootstrap</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql</p>
<p class="MsoNormal">Use 'onedb restore' or restore the DB using the mysql command:</p>
<p class="MsoNormal">mysql -u user -h server -P port db_name < backup_file</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">>>> Running migrators for shared tables</p>
<p class="MsoNormal">Database already uses version 4.6.0</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">>>> Running migrators for local tables</p>
<p class="MsoNormal"> > Running migrator /usr/lib/one/ruby/onedb/local/4.5.80_to_4.7.80.rb</p>
<p class="MsoNormal"> > Done in 0.27s</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Database migrated from 4.5.80 to 4.7.80 (OpenNebula 4.7.80) by onedb command.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Total time: 0.27s</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[oneadmin@opennebula ~]$ onedb fsck -S localhost -u oneadmin -d opennebula</p>
<p class="MsoNormal">MySQL dump stored in /var/lib/one/mysql_localhost_opennebula.sql</p>
<p class="MsoNormal">Use 'onedb restore' or restore the DB using the mysql command:</p>
<p class="MsoNormal">mysql -u user -h server -P port db_name < backup_file</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span style="color:red">undefined method `[]' for nil:NilClass</span></b></p>
<p class="MsoNormal">Error running fsck version 4.6.0</p>
<p class="MsoNormal">The database will be restored</p>
<p class="MsoNormal">MySQL DB opennebula at localhost restored. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">--</p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal">Anandharaj</p>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"> </p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<div>
<p class="MsoNormal"><b><span style="font-family:"Cambria","serif";color:red">DISCLAIMER:</span></b><span style="font-family:"Cambria","serif";color:red"></span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p style="line-height:10.0pt"><span style="font-size:8.0pt;font-family:"Cambria","serif"">This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient,
please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments).</span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p style="line-height:10.0pt"><span style="font-size:8.0pt;font-family:"Cambria","serif"">MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other
information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility
for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law.</span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a></p>
</div>
<p class="MsoNormal"> </p>
</div>
</div></div></div><div><div class="h5">
<br>
<hr>
<div style="font-size:12pt;font-family:'Cambria','times new roman','garamond',serif;color:#ff0000">
<b>DISCLAIMER:</b></div>
<br>
<div>
<p style="font-size:8pt;line-height:10pt;font-family:'Cambria','times new roman',serif">
This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail
is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments).</p>
</div>
<br>
<div>
<p style="font-size:8pt;line-height:10pt;font-family:'Cambria','times new roman',serif">
MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses
and/or corrupted e-mails is excluded to the fullest extent permitted by law.</p>
</div>
</div></div></div>
------------------------------------------------------------------
-
-
DISCLAIMER:
This e-mail (including any attachments) is for the addressee(s)
only and may contain confidential information. If you are not the
intended recipient, please note that any dealing, review,
distribution, printing, copying or use of this e-mail is strictly
prohibited. If you have received this email in error, please notify
the sender immediately and delete the original message.
MIMOS Berhad is a research and development institution under
the purview of the Malaysian Ministry of Science, Technology and
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad
and/or its subsidiaries shall be understood as neither given nor
endorsed by MIMOS Berhad and/or its subsidiaries and neither
MIMOS Berhad nor its subsidiaries accepts responsibility for the
same. All liability arising from or in connection with computer
viruses and/or corrupted e-mails is excluded to the fullest extent
permitted by law.
</blockquote></div><br></div>