<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi,</div><div><br></div><div>First of all, OpenNebula 3.8.3 is out, are there any reasons why installing 3.4.1?</div><div>Anyways, there seems to be a mysql error. Check your /etc/one/oned.conf.</div><div>Is mysql daemon running? Did you set the hostname correctly in oned.conf ?</div><div>Host must be resolving the hostname you typed in oned.conf, check /etc/hosts, too.</div><div><br></div><div><br></div><div>Best regards,</div><div>Tobias</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">Von: </span> Preetham Nagaraju <<a href="mailto:preetham.nagaraju@gmail.com">preetham.nagaraju@gmail.com</a>><br><span style="font-weight:bold">Datum: </span> Wed, 27 Feb 2013 15:39:46 +0530<br><span style="font-weight:bold">An: </span> <<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>><br><span style="font-weight:bold">Betreff: </span> [one-users] Sunstone server Failed to Start<br></div><div><br></div>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>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</span></body></html>