Scalr Installation

193 views
Skip to first unread message

Abi Dewan

unread,
Jul 16, 2015, 7:46:26 PM7/16/15
to scalr-...@googlegroups.com
Hi All,

During scalr installation, upon running /opt/scalr-server/bin/scalr-server-ctl reconfigure i am getting following error:

Running handlers:
[2015-07-16T23:28:57+00:00] ERROR: Running exception handlers
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] Unable to record event with remote Sentry server (Faraday::ConnectionFailed - execution expired)
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/net/http.rb:879:in `initialize'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/net/http.rb:879:in `open'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/timeout.rb:101:in `call'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/timeout.rb:101:in `timeout'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/net/http.rb:878:in `connect'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/net/http.rb:852:in `start'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/2.1.0/net/http.rb:1375:in `request'
[2015-07-16T23:29:12+00:00] ERROR: ** [Raven] /opt/scalr-server/embedded/lib/ruby/gems/2.1.0/gems/faraday-0.9.1/lib/faraday/adapter/net_http.rb:82:in `perform_request'

  - Raven::Chef::SentryHandler
Running handlers complete
[2015-07-16T23:29:12+00:00] ERROR: Exception handlers complete
[2015-07-16T23:29:12+00:00] FATAL: Stacktrace dumped to /opt/scalr-server/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 26 resources updated in 53.771532536 seconds
[2015-07-16T23:29:12+00:00] ERROR: supervisor_service[mysql] (scalr-server::group_mysql_enabled_post line 3) had an error: RuntimeError: Supervisor service mysql was unable to be started


any help would be greatly appreciated 

Daniele Testa

unread,
Jul 17, 2015, 4:59:04 AM7/17/15
to scalr-...@googlegroups.com
Please provide your /etc/scalr-server/scalr-server.rb file and check your log-files for mysq under /opt/scalr-server/var/log/mysql

Are you sure that you are not running any previous installation of mysql on this server?

Regards,
Daniele
Message has been deleted

Abi Dewan

unread,
Jul 17, 2015, 5:47:19 AM7/17/15
to scalr-discuss
Hi Daniele,

Appreciate for your response, please find attached logs

Cheers,

Abi

 



--
You received this message because you are subscribed to a topic in the Google Groups "scalr-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalr-discuss/GCTqcMfxOkc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scalr-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

scalr-server.rb.txt
error.log

Daniele Testa

unread,
Jul 17, 2015, 9:09:04 AM7/17/15
to scalr-...@googlegroups.com
It looks like your server does not have enough RAM to start MySQL.

InnoDB: Cannot allocate memory for the buffer pool

How much RAM does your server have? If you are running this on a cloud, try to increase the "size" of your instance.

Regards,
Daniele

Abi Dewan

unread,
Jul 18, 2015, 9:25:09 PM7/18/15
to scalr-...@googlegroups.com
Thanks Daniele, you suggestion worked upon increasing the memory. 

Full points! to you mate.

Cheers!
Abi
Reply all
Reply to author
Forward
0 new messages