AWS ECS Cluster join

General discussion forum for the Zend Server
Post Reply
Posts: 5
Joined: Fri Aug 20, 2010 6:29 pm

AWS ECS Cluster join

Post by herrick1 » Tue Jun 13, 2017 11:20 pm


we are trying to have Zend Server docker container join the Zend server cluster using AWS ECS and RDS

In ECS, I configured all 5 mysql informations as per the documentation, and I can confirm the values were set correctly by connecting the the docker instance and typing "set"

So all 5 values are stored in the environment variables.

If I try to connect using these settings from the docker container, I can query the database without issue.

But the container instance doesnt join the cluster.

When I navigate to the web page on port 10082, I need to specify how I want to configure, it doesnt join automatically.

Is there a log I can check to try to debug why the cluster joining doesnt work ?

Any help would be appreciated.


Posts: 5
Joined: Fri Aug 20, 2010 6:29 pm

Re: AWS ECS Cluster join

Post by herrick1 » Wed Jun 14, 2017 12:04 am

I've found the logfile /var/log/zs-init.log the first line warns about "Failed parsing user data", I guess that might be the problem ?

Any idea ?

Warning: Failed parsing user data (retval: NULL, error: Syntax error)
Info: Starting prepare step
Info: Finished prepare step
Info: Starting custom pre-start script step
Info: Finished custom pre-start script step
Info: Starting license setup step
Info: Executing /etc/init.d/zend-server stop
Info: Result:
Stopping Zend Server 9.1.0 ..

zsd is not running
jqd is not running
zdd is not running
scd is not running
lighttpd is not running
* Stopping web server apache2
monitor is not running

Zend Server stopped.
Info: Analyzing license file
Info: Loaded license
Info: Deleting license file
Info: Setting license
Info: Finished license setup step
Info: Starting ZSD WebAPI key setup step
Info: Finished ZSD WebAPI key setup step
Info: Starting debug settings step
Info: Cleaning semaphores
Info: Executing /etc/init.d/zend-server start
Info: Result:
Starting Zend Server 9.1.0 ..

Starting Zend Server Monitor node [OK]
[13.06.2017 21:52:24 SYSTEM] watchdog for monitor is running.
[13.06.2017 21:52:24 SYSTEM] monitor is running.
* Starting web server apache2
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
Setting ulimit failed. See README.Debian for more information.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using Set the 'ServerName' directive globally to suppress this message
spawn-fcgi: child spawned successfully: PID: 511
Starting Zend Server GUI [Lighttpd] [OK]
[13.06.2017 21:52:27 SYSTEM] watchdog for lighttpd is running.
[13.06.2017 21:52:27 SYSTEM] lighttpd is running.
Starting Session Clustering daemon [OK]
[13.06.2017 21:52:28 SYSTEM] watchdog for scd is running.
[13.06.2017 21:52:28 SYSTEM] scd is running.
Starting Deployment [OK]
[13.06.2017 21:52:29 SYSTEM] watchdog for zdd is running.
[13.06.2017 21:52:29 SYSTEM] zdd is running.
Starting JobQueue [OK]
[13.06.2017 21:52:30 SYSTEM] watchdog for jqd is running.
[13.06.2017 21:52:30 SYSTEM] jqd is running.
Starting ZendServerDaemon [OK]
[13.06.2017 21:52:31 SYSTEM] watchdog for zsd is running.
[13.06.2017 21:52:31 SYSTEM] zsd is running.

Zend Server started...
Info: Finished debug settings step
Info: Starting cluster join step
Info: Finished cluster join step
Info: Starting deployment step
Info: Downloading composer
Info: No applications to deploy
Info: Finished deployment step
Info: Starting custom script step
Info: Finished custom script step
Info: Starting finish step
Info: Finished finish step
Info: Zend Server initialization result: success.

Post Reply