Scalarizer failed to start

74 views
Skip to first unread message

Senthil

unread,
Sep 6, 2012, 8:59:44 PM9/6/12
to scalr-...@googlegroups.com
Hi,

Installed Scalr from github and followed the tutorial http://wiki.scalr.net/display/docs/Install+a+Wordpress+Blog+with+Scalr

Scalr is able to provision VM for loadbalancer, apache and mysql. However the scalr dashboard continued to show that server is pending  . AWS console showed that VM are created and running. I logged into the apache VM and found that monitoring tool scalarizer service failed to start. 

 I created the  VM as shown in the tutorial (Ubuntu 10.4) type is t1.micro in AWS EC2. The console log of the VM is at http://pastebin.com/PGswAjnG

Any help to troubleshoot this issue will be greatly appreciated. 

Regards,

Senthil

Srinivasan S

unread,
Sep 6, 2012, 9:10:26 PM9/6/12
to scalr-...@googlegroups.com
Scalarizr agent on VM is unable to communicate with you Scalr instance. On the VM check /var/log/scalarizr.log. Make sure you have set the correct IP address in Scalr settings and reqd ports are open.

Srini
Sent on my BlackBerry® from Vodafone

From: Senthil <sent...@gmail.com>
Date: Thu, 6 Sep 2012 17:59:44 -0700 (PDT)
Subject: Scalarizer failed to start
--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/30rkKOnkJTUJ.
To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en.

Senthil

unread,
Sep 7, 2012, 1:18:38 AM9/7/12
to scalr-...@googlegroups.com

Thanks. Further probing, it appears that scalarizr is not starting due to parse error . Stack trace (/var/log/scalarizr.log) is here.  http://pastebin.com/vQNLbxnT 

Any help from Scalr team is greatly appreciated. 

-Senthil

Igor Savchenko

unread,
Sep 7, 2012, 1:21:34 AM9/7/12
to scalr-...@googlegroups.com
Can you please provide contents of /var/log/scalarizr_debug.log

Thanks,
Igor
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalr-discuss/-/nbkICx3-318J.

Nick Toursky

unread,
Sep 7, 2012, 1:39:16 AM9/7/12
to scalr-...@googlegroups.com
I would recommend to do this privately, as it may contain personal information.

Senthil

unread,
Sep 7, 2012, 2:09:55 AM9/7/12
to scalr-...@googlegroups.com
Hi Igor, 

Thanks for quick response. /var/log/scalarizr_debug.log contents are posted in ,

Appreciate any insights. 

-Senthil

On Friday, 7 September 2012 09:59:44 UTC+9, Senthil wrote:

Senthil

unread,
Sep 10, 2012, 9:58:12 PM9/10/12
to scalr-...@googlegroups.com

Senthil

unread,
Sep 17, 2012, 9:27:01 AM9/17/12
to scalr-...@googlegroups.com
Hi,

I traced the problem to be not able to communicate with Scalr server. When the VM is created in AWS, the scalrizer is configured to look up http://example.com/query-env to load parameters.
As a hack, i changed  /etc/hosts file to resolve example.com to scalr server, pushed new virtual host "example.com" , copied environment.php (at the www directory) into query-env/index.php. 

It started working. Does anyone know, how to pass the actual scalr server hostname instead of example.com

Regards,

Senthil

Srinivasan S

unread,
Sep 17, 2012, 9:37:26 AM9/17/12
to scalr-...@googlegroups.com
In the Scalr settings on the portal. Login as admin.
Sent on my BlackBerry® from Vodafone

From: Senthil <sent...@gmail.com>
Date: Mon, 17 Sep 2012 06:27:01 -0700 (PDT)
Subject: Re: Scalarizer failed to start
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/MRUdn5ioX2kJ.

Sebastian Stadil

unread,
Sep 17, 2012, 1:54:31 PM9/17/12
to scalr-...@googlegroups.com
Thanks for helping, Srini.


Follow us: Twitter - Facebook - Blog

Senthil

unread,
Sep 18, 2012, 1:52:36 AM9/18/12
to scalr-...@googlegroups.com
Thanks Srini. 

-Senthil
Reply all
Reply to author
Forward
0 new messages