Facing issue while running server 1.7.0

29 views
Skip to first unread message

Ajith P Venugopal

unread,
Jan 9, 2019, 5:52:29 AM1/9/19
to Mender List mender.io
Hi,

I have already tried mender server 1.6.0 in one of the Ubuntu 14.04 PC and is working fine.

Now, I want to try the mender server 1.7.0 on the same PC.
I have cloned 1.7.0 sources but when running the "./up" command, I'm getting the below error!
integration-1.7.0$ ./up
Starting Mender demo environment..
Creating integration-170_mender-client_1_5a3adae9d8fd        ... done
Creating integration-170_mender-gui_1_2ad595c1cee7           ... done
Creating integration-170_mender-elasticsearch_1_3f250264c074 ... done
Creating integration-170_mender-mongo_1_a2637ad3ace9         ... done
Creating integration-170_minio_1_d772d8542fcb                ... done
Creating integration-170_mender-redis_1_2bb4ba933927         ... done
Creating integration-170_mender-device-auth_1_d0d078981e9a   ... done
Creating integration-170_mender-useradm_1_421c9601d950       ... done
Creating integration-170_mender-inventory_1_d552b52ec942     ... done
Creating integration-170_mender-deployments_1_555e5a48100d   ... done
Creating integration-170_mender-conductor_1_7145320a97bf     ... error
Creating integration-170_storage-proxy_1_40b097215a3f        ...
Creating integration-170_mender-api-gateway_1_b860b002da6f   ...

ERROR
: for integration-170_mender-conductor_1_7145320a97bf  Cannot start service mender-conductor: b'driver failed programming external connectCreating integration-170_storage-proxy_1_40b097215a3f        ... done
Creating integration-170_mender-api-gateway_1_b860b002da6f   ... done

ERROR: for mender-conductor  Cannot start service mender-conductor: b'
driver failed programming external connectivity on endpoint integration-170_mender-conductor_1_9c57e790f576 (b488b2c861f1a4a727b5f3418e2b4eaa1f61154db912ef1c754855bc2e95443f): Bind for 0.0.0.0:8080 failed: port is already allocated'
ERROR: Encountered errors while bringing up the project.

Could anyone help me to figure out the root cause for this issue? Whether 1.6.0 and 1.7.0 are conflicting (I'm not intentionally running the 1.6.0 when trying the 1.7.0)?

Thank you in advance,
Ajith P V

kjaskiewicz

unread,
Jan 9, 2019, 3:38:14 PM1/9/19
to Mender List mender.io
Hi,

Are you trying to run 1.6 and 1.7 on one PC at the same time?
If this is the case, it will just not work. Both versions will try to use the same ports on your PC and you will get this error message:

Bind for 0.0.0.0:8080 failed: port is already allocated

Ajith P Venugopal

unread,
Jan 9, 2019, 11:50:40 PM1/9/19
to Mender List mender.io
Hi,

The PC which I'm using have previously installed 1.6 server. But, I'm not running (i.e. with "./up" command) 1.6 when running the 1.7 server.
Is there any way to check whether 1.6 is properly closed? Whether "./stop" is enough for closing the 1.6 server? Also, I would like to know whether 1.6 will close when the PC restarted?

Thank you in advance,
Ajith P V

Message has been deleted

Ajith P Venugopal

unread,
Jan 10, 2019, 2:34:47 AM1/10/19
to Mender List mender.io
Hi,

The issue got fixed.
The 1.6 was running even after restart the PC. I went to the 1.6 folder and given "./stop" and then "./reset".
Then, I went to the 1.7 folder and run "./up" and it run without the issue.

Thank you.

Ajith P V

On Thursday, January 10, 2019 at 2:08:14 AM UTC+5:30, kjaskiewicz wrote:
Reply all
Reply to author
Forward
0 new messages