Hi,<br><br> I have installed Opennebula 3.4.1 on Ubuntu 12.04 machine with KVM hypervisor (all in Single machine).<br><br><b>I am able to start One :-<br></b><br>oneadmin@opennebula:~$ one start<br>oneadmin@opennebula:~$ <br>
<br clear="all"><b>After that i am not able to start oneacctd and sunstone-server. It shows as:-</b><br><br>oneadmin@opennebula:~$ oneacctd start<br>Error executing oneacctd.<br>Check /var/lib/one/var/oneacctd.log for more information<br>
<br>oneadmin@opennebula:~$ sunstone-server start<br>Stale .lock detected. Erasing it.<br>Error executing /var/lib/one/lib/sunstone/sunstone-server.rb, please check the log /var/lib/one/var/sunstone.log<br><br><br>The logs are as follows:-<br>
<br>1. <b>/var/lib/one/var/oneacctd.log</b><br>/var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:107:in `real_connect': Mysql::Error: Unknown MySQL server host 'host' (2) (Sequel::DatabaseConnectionError)<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:107:in `connect'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool.rb:94:in `make_new'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:164:in `make_new'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:137:in `available'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:127:in `acquire'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:195:in `sync'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:195:in `synchronize'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:195:in `sync'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:126:in `acquire'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:94:in `hold'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/connecting.rb:236:in `synchronize'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/shared/mysql_prepared_statements.rb:34:in `execute'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:162:in `execute_dui'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/query.rb:72:in `execute_ddl'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:556:in `create_table_from_generator'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:169:in `create_table'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:193:in `create_table?'<br>
from /var/lib/one/lib/ruby/acct/watch_helper.rb:137:in `bootstrap'<br> from /var/lib/one/lib/ruby/acct/watch_helper.rb:221<br> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'<br>
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'<br> from /var/lib/one/lib/ruby/acct/acctd.rb:35<br><br>2. <b>/var/lib/one/var/sunstone.error</b> (sunstone.log is empty)<br>/var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:107:in `real_connect': Mysql::Error: Unknown MySQL server host 'host' (2) (Sequel::DatabaseConnectionError)<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:107:in `connect'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool.rb:94:in `make_new'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:164:in `make_new'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:137:in `available'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:127:in `acquire'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:195:in `sync'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:195:in `synchronize'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:195:in `sync'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:126:in `acquire'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:94:in `hold'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/connecting.rb:236:in `synchronize'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/shared/mysql_prepared_statements.rb:34:in `execute'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:162:in `execute_dui'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/query.rb:72:in `execute_ddl'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:556:in `create_table_from_generator'<br>
from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:169:in `create_table'<br> from /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:193:in `create_table?'<br>
from /var/lib/one/lib/ruby/acct/watch_helper.rb:137:in `bootstrap'<br> from /var/lib/one/lib/ruby/acct/watch_helper.rb:221<br> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'<br>
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'<br> from /var/lib/one/lib/ruby/acct/watch_client.rb:18<br> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'<br>
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'<br> from /var/lib/one/lib/sunstone/models/SunstoneServer.rb:22<br> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'<br>
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'<br> from /var/lib/one/lib/sunstone/sunstone-server.rb:56<br><br><b>I have installed all the necessary packages..</b><br><br>oneadmin@opennebula:~$ gem list<br>
<br>*** LOCAL GEMS ***<br><br>daemons (1.1.9)<br>eventmachine (1.0.0)<br>json (1.7.7)<br>mysql (2.9.1)<br>nokogiri (1.5.6)<br>rack (1.5.2)<br>rack-protection (1.3.2)<br>rake (10.0.3)<br>sequel (3.44.0)<br>sinatra (1.3.5)<br>
sqlite3 (1.3.7)<br>thin (1.5.0)<br>tilt (1.3.3)<br>xmlparser (0.7.2.1)<br><br>Please get me out of these errors.......<br><div><i><b><br>Regards,<br>Preetham.N<br></b></i></div><b><div><b><br></b></div><div><b><br></b></div>
<br></b>