Hi,
I am running several Zato instances on the same server. That worked OK with zato 2.0.x (needs manual configuration or ports). However, with Zato 3, I am getting ports conflicts for ZeroMQ.
Traceback (most recent call last):
File "/opt/APPS/batches/tst/zato-batches/3.0/code/lib/python2.7/site-packages/gunicorn/arbiter.py", line 495, in spawn_worker
self.cfg.post_fork(self, worker)
File "/opt/APPS/batches/tst/zato-batches/3.0/code/zato-server/src/zato/server/base/parallel/__init__.py", line 781, in post_fork
ParallelServer.start_server(worker.app.zato_wsgi_app, arbiter.zato_deployment_key)
File "/opt/APPS/batches/tst/zato-batches/3.0/code/zato-server/src/zato/server/base/parallel/__init__.py", line 491, in start_server
spawn_greenlet(self.ipc_forwarder.run)
File "/opt/APPS/batches/tst/zato-batches/3.0/code/lib/python2.7/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/opt/APPS/batches/tst/zato-batches/3.0/code/zato-common/src/zato/common/ipc/api.py", line 62, in run
spawn_greenlet(Forwarder, self.name, self.pid)
File "/opt/APPS/batches/tst/zato-batches/3.0/code/lib/python2.7/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/opt/APPS/batches/tst/zato-batches/3.0/code/zato-common/src/zato/common/ipc/forwarder.py", line 28, in __init__
super(Forwarder, self).__init__(base_address, pid)
File "/opt/APPS/batches/tst/zato-batches/3.0/code/zato-common/src/zato/common/ipc/__init__.py", line 62, in __init__
spawn_greenlet(self.set_up_sockets)
File "/opt/APPS/batches/tst/zato-batches/3.0/code/lib/python2.7/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/opt/APPS/batches/tst/zato-batches/3.0/code/zato-common/src/zato/common/ipc/forwarder.py", line 36, in set_up_sockets
self.socket_for_publishers.bind(self.socket_for_publishers_address)
File "zmq/backend/cython/socket.pyx", line 547, in zmq.backend.cython.socket.Socket.bind
File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc
raise ZMQError(errno)
ZMQError: Address already in use
However, in the config files I cannot find entries to configure ZMQ ports.
Regards, Jan