[one-users] Sunstone server Failed to Start
Tobias Honacker
t.honacker at googlemail.com
Fri Mar 8 00:10:23 PST 2013
Hi Preetham,
Nice to hear that it works now. The first step is to create a datastore to
store the images we will create later.
Maybe that page [1] will guide you and help to understand how it works.
Which datastore are you using?
FYI: Please CC to the users list of OpenNebula so people are able to see
your questions and may help you, too
Best regards,
Tobias
[1] http://opennebula.org/documentation:rel3.8:sm
Von: Preetham Nagaraju <preetham.nagaraju at gmail.com>
Datum: Freitag, 8. März 2013 08:58
An: Tobias Honacker <t.honacker at googlemail.com>
Betreff: Re: [one-users] Sunstone server Failed to Start
Hi Sir,
I could successfully login into Opennebula sunstone now....
As i am using single machine, i added the same machine host to opennebula
and also the host is running properly i.e. it is in monitored state...
Now i need to create Centos or any OS virtual machine using Opennebula
sunstone....
Could you please guide me how to create vm in opennebula sunstone, whether i
need to create vm using dvd or iso image .....
Please send me the steps to create vm in opennebula sunstone....
On Wed, Feb 27, 2013 at 4:08 PM, Preetham Nagaraju
<preetham.nagaraju at gmail.com> wrote:
> 1. oned.conf
>
> Please find the attachment.....
>
> 2. vi /etc/hosts
>
> 127.0.0.1 localhost
> #127.0.1.1 opennebula
>
> # The following lines are desirable for IPv6 capable hosts
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> 192.168.150.206 opennebula
>
> 3. Mysql is running.....
>
>
> On Wed, Feb 27, 2013 at 3:48 PM, Tobias Honacker <t.honacker at googlemail.com>
> wrote:
>> Hi,
>>
>> First of all, OpenNebula 3.8.3 is out, are there any reasons why installing
>> 3.4.1?
>> Anyways, there seems to be a mysql error. Check your /etc/one/oned.conf.
>> Is mysql daemon running? Did you set the hostname correctly in oned.conf ?
>> Host must be resolving the hostname you typed in oned.conf, check /etc/hosts,
>> too.
>>
>>
>> Best regards,
>> Tobias
>>
>> Von: Preetham Nagaraju <preetham.nagaraju at gmail.com>
>> Datum: Wed, 27 Feb 2013 15:39:46 +0530
>> An: <users at lists.opennebula.org>
>> Betreff: [one-users] Sunstone server Failed to Start
>>
>> Hi,
>>
>> I have installed Opennebula 3.4.1 on Ubuntu 12.04 machine with KVM
>> hypervisor (all in Single machine).
>>
>> I am able to start One :-
>>
>> oneadmin at opennebula:~$ one start
>> oneadmin at opennebula:~$
>>
>> After that i am not able to start oneacctd and sunstone-server. It shows as:-
>>
>> oneadmin at opennebula:~$ oneacctd start
>> Error executing oneacctd.
>> Check /var/lib/one/var/oneacctd.log for more information
>>
>> oneadmin at opennebula:~$ sunstone-server start
>> Stale .lock detected. Erasing it.
>> Error executing /var/lib/one/lib/sunstone/sunstone-server.rb, please check
>> the log /var/lib/one/var/sunstone.log
>>
>>
>> The logs are as follows:-
>>
>> 1. /var/lib/one/var/oneacctd.log
>> /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)
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:107:in
>> `connect'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool.rb:94:in
>> `make_new'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 64:in `make_new'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 37:in `available'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 27:in `acquire'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 95:in `sync'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 95:in `synchronize'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 95:in `sync'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 26:in `acquire'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:9
>> 4:in `hold'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/connecting.rb:236:in
>> `synchronize'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/shared/mysql_prepare
>> d_statements.rb:34:in `execute'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:162:in
>> `execute_dui'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/query.rb:72:in
>> `execute_ddl'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:55
>> 6:in `create_table_from_generator'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:16
>> 9:in `create_table'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:19
>> 3:in `create_table?'
>> from /var/lib/one/lib/ruby/acct/watch_helper.rb:137:in `bootstrap'
>> from /var/lib/one/lib/ruby/acct/watch_helper.rb:221
>> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
>> `gem_original_require'
>> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
>> `require'
>> from /var/lib/one/lib/ruby/acct/acctd.rb:35
>>
>> 2. /var/lib/one/var/sunstone.error (sunstone.log is empty)
>> /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)
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:107:in
>> `connect'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool.rb:94:in
>> `make_new'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 64:in `make_new'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 37:in `available'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 27:in `acquire'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 95:in `sync'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 95:in `synchronize'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 95:in `sync'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:1
>> 26:in `acquire'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/connection_pool/threaded.rb:9
>> 4:in `hold'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/connecting.rb:236:in
>> `synchronize'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/shared/mysql_prepare
>> d_statements.rb:34:in `execute'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/adapters/mysql.rb:162:in
>> `execute_dui'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/query.rb:72:in
>> `execute_ddl'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:55
>> 6:in `create_table_from_generator'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:16
>> 9:in `create_table'
>> from
>> /var/lib/gems/1.8/gems/sequel-3.44.0/lib/sequel/database/schema_methods.rb:19
>> 3:in `create_table?'
>> from /var/lib/one/lib/ruby/acct/watch_helper.rb:137:in `bootstrap'
>> from /var/lib/one/lib/ruby/acct/watch_helper.rb:221
>> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
>> `gem_original_require'
>> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
>> `require'
>> from /var/lib/one/lib/ruby/acct/watch_client.rb:18
>> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
>> `gem_original_require'
>> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
>> `require'
>> from /var/lib/one/lib/sunstone/models/SunstoneServer.rb:22
>> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
>> `gem_original_require'
>> from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
>> `require'
>> from /var/lib/one/lib/sunstone/sunstone-server.rb:56
>>
>> I have installed all the necessary packages..
>>
>> oneadmin at opennebula:~$ gem list
>>
>> *** LOCAL GEMS ***
>>
>> daemons (1.1.9)
>> eventmachine (1.0.0)
>> json (1.7.7)
>> mysql (2.9.1)
>> nokogiri (1.5.6)
>> rack (1.5.2)
>> rack-protection (1.3.2)
>> rake (10.0.3)
>> sequel (3.44.0)
>> sinatra (1.3.5)
>> sqlite3 (1.3.7)
>> thin (1.5.0)
>> tilt (1.3.3)
>> xmlparser (0.7.2.1)
>>
>> Please get me out of these errors.......
>>
>> Regards,
>> Preetham.N
>>
>>
>>
>> _______________________________________________ Users mailing list
>> Users at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-open
>> nebula.org
>
>
>
> --
> ? Regards,
>
> Preetham. N
>
> 9945072638
>
>
>
>
--
? Regards,
Preetham. N
9945072638
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130308/6941ea93/attachment-0001.htm>
More information about the Users
mailing list