(Migrated) errors after install on ubuntu 12.04

(This message has been automatically imported from the retired mailing list)

The install seems to have worked fine other than it did not find pyyaml and
I had to update the url in buildout.cfg and run install script again.

I am getting the following error when I am trying to follow instructions
from https://zato.io/docs/tutorial/01.html

curl localhost:11223/zato/ping -d ‘{}’

curl: (7) couldn’t connect to host

before running this command the following script ran fine

./zato-qs-start.sh
Starting the Zato quickstart environment
Running sanity checks
[1/6] Redis connection OK
[2/6] SQL ODB connection OK
[3/6] Load-balancer started
[4/6] server1 started
[5/6] server2 started
[6/6] Web admin started
Zato quickstart environment started

What could be going on here?

Navjeet

On 11/27/2013 01:47 AM, Navjeet wrote:

The install seems to have worked fine other than it did not find pyyaml and
I had to update the url in buildout.cfg and run install script again.

Hi Navjeet,

this really shouldn’t be required so thanks for writing about it.

The idea is that when you run ./install.sh everything works out of the
box and you don’t have to tweak anything.

What sort of issue was it exactly? Could it be that a firewall was
dropping connections? What URL is it changed to now?

curl localhost:11223/zato/ping -d ‘{}’

curl: (7) couldn’t connect to host

This means the load balancer is not running. Assuming the environment is
in ~/tmp/qs-1, can you please send:

  • the contents of ~/tmp/qs-1/load-balancer/config/zdaemon/zdaemon-lb.conf

  • output from running this command:

$ zato info ~/tmp/qs-1/load-balancer

many thanks,

On 11/27/2013 01:47 AM, Navjeet wrote:

The install seems to have worked fine other than it did not find pyyaml and
I had to update the url in buildout.cfg and run install script again.

Hi Navjeet,

this really shouldn’t be required so thanks for writing about it.

The idea is that when you run ./install.sh everything works out of the
box and you don’t have to tweak anything.

What sort of issue was it exactly? Could it be that a firewall was
dropping connections? What URL is it changed to now?

curl localhost:11223/zato/ping -d ‘{}’

curl: (7) couldn’t connect to host

This means the load balancer is not running. Assuming the environment is
in ~/tmp/qs-1, can you please send:

  • the contents of ~/tmp/qs-1/load-balancer/config/zdaemon/zdaemon-lb.conf

  • output from running this command:

$ zato info ~/tmp/qs-1/load-balancer

many thanks,