Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2022, 12:59 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

This is just "one" cause to an issue like that,
Sometimes both the apt and snap version of docker get installed. If so, remove the snap version of docker by running: sudo snap remove docker
Reply With Quote
  #2  
Old 02-12-2022, 02:17 PM
Skream
Fire Beetle
 
Join Date: Feb 2020
Posts: 13
Default

Quote:
Originally Posted by Huppy View Post
This is just "one" cause to an issue like that,
Sometimes both the apt and snap version of docker get installed. If so, remove the snap version of docker by running: sudo snap remove docker
Yep, saw that on another site and have done that. Had to install docker-compose again with apt.
Reply With Quote
  #3  
Old 02-12-2022, 02:53 PM
Skream
Fire Beetle
 
Join Date: Feb 2020
Posts: 13
Default

Is this something to do with the bridge it is trying to use being on 172.21.0 and me telling the make install to use 172.17.0.20?

Quote:
docker network inspect peq-local_backend
[
{
"Name": "peq-local_backend",
"Id": "ef39575d1c736316925d2d73d796dd58371ee92d19fa710c6 72d58e4cfecf8dd",
"Created": "2022-02-12T18:48:58.809770079Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.21.0.0/16",
"Gateway": "172.21.0.1"
}
]
},
"Internal": false,
"Attachable": true,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {},
"Labels": {
"com.docker.compose.network": "backend",
"com.docker.compose.project": "peq-local",
"com.docker.compose.version": "1.25.0"
}
}
]

Creating network "peq-local_backend" with driver "bridge"
Creating peq-local_mariadb_1 ...
Creating peq-local_mariadb_1 ... error
WARNING: Host is already in use by another container

ERROR: for peq-local_mariadb_1 Cannot start service mariadb: driver failed programming external connectivity on endpoint peq-local_mariadb_1 (07d0e593ca4bc19bc69eede98f2fe3009421715f09ddd7499 77ab968a46a47d6): Error starting userland proxy: listen tcp4 172.17.0.60:3306: bind: cannot assign requested address
Creating peq-local_eqemu-server_1 ... error

ERROR: for peq-local_eqemu-server_1 Cannot start service eqemu-server: driver failed programming external connectivity on endpoint peq-local_eqemu-server_1 (e8912ea14189168178aee21d9f87b186ca48cf08f19d23310 86b69b052aba793): Error starting userland proxy: listen tcp4 172.17.0.60:9001: bind: cannot assign requested address

ERROR: for mariadb Cannot start service mariadb: driver failed programming external connectivity on endpoint peq-local_mariadb_1 (07d0e593ca4bc19bc69eede98f2fe3009421715f09ddd7499 77ab968a46a47d6): Error starting userland proxy: listen tcp4 172.17.0.60:3306: bind: cannot assign requested address

ERROR: for eqemu-server Cannot start service eqemu-server: driver failed programming external connectivity on endpoint peq-local_eqemu-server_1 (e8912ea14189168178aee21d9f87b186ca48cf08f19d23310 86b69b052aba793): Error starting userland proxy: listen tcp4 172.17.0.60:9001: bind: cannot assign requested address
ERROR: Encountered errors while bringing up the project.
Because the install doc on github doesn't say you should use any specific ip?

EDIT : Nope.

Quote:
Creating peq-local_eqemu-server_1 ...
Creating peq-local_mariadb_1 ...
Creating peq-local_mariadb_1 ... error

ERROR: for peq-local_mariadb_1 Cannot start service mariadb: driver failed programming external connectivity on endpoint peq-local_mariadb_1 (991384bd2001da053f844577b4b1aeb2bb63069647f3285a6 279adf7cffc7d55): Error starting userland prox
Creating peq-local_eqemu-server_1 ... error
WARNING: Host is already in use by another container

ERROR: for peq-local_eqemu-server_1 Cannot start service eqemu-server: driver failed programming external connectivity on endpoint peq-local_eqemu-server_1 (5dab24ebe68412825c14d895fa191ec22f67014705c713074 db3534922493413): Error starting userland proxy: listen tcp4 172.21.0.60:9001: bind: cannot assign requested address

ERROR: for mariadb Cannot start service mariadb: driver failed programming external connectivity on endpoint peq-local_mariadb_1 (991384bd2001da053f844577b4b1aeb2bb63069647f3285a6 279adf7cffc7d55): Error starting userland proxy: listen tcp4 172.21.0.60:3306: bind: cannot assign requested address

ERROR: for eqemu-server Cannot start service eqemu-server: driver failed programming external connectivity on endpoint peq-local_eqemu-server_1 (5dab24ebe68412825c14d895fa191ec22f67014705c713074 db3534922493413): Error starting userland proxy: listen tcp4 172.21.0.60:9001: bind: cannot assign requested address
ERROR: Encountered errors while bringing up the project.
I have other containers running that can bind ports fine. I even tried the networking tutorial for docker to make sure something fundamental wasn't going wrong. Those containers worked fine and could bind ports.
Reply With Quote
  #4  
Old 02-12-2022, 03:32 PM
Skream
Fire Beetle
 
Join Date: Feb 2020
Posts: 13
Default

Mariadb will install fine and start itself

Quote:
docker run --name mariadbtest -e MYSQL_ROOT_PASSWORD=mypass -p 3306:3306 -d docker.io/library/mariadb:10.3
Unable to find image 'mariadb:10.3' locally
10.3: Pulling from library/mariadb
08c01a0ec47e: Already exists
a2bcb14c13a1: Already exists
29c56760f879: Already exists
a95000a218fc: Already exists
a765d76e68d9: Already exists
c6945738f085: Already exists
62787b7c58c5: Already exists
c14f6657b501: Pull complete
020be96129ba: Pull complete
77a486976bcd: Pull complete
d3911f3f8652: Pull complete
Digest: sha256:a25e7c87fe20c6d035fe81003937a8d732574ecf544 66d0294da3423b64af80c
Status: Downloaded newer image for mariadb:10.3
33a8413efa502c1430fc64215cb453cb55f670dfede9af27ba f0a2c2290036e8
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
33a8413efa50 mariadb:10.3 "docker-entrypoint.s…" 8 minutes ago Up 8 minutes 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp mariadbtest
At this point its really starting to look like an issue between Ubuntu 20.04 and this build.
Reply With Quote
  #5  
Old 02-12-2022, 03:50 PM
Skream
Fire Beetle
 
Join Date: Feb 2020
Posts: 13
Default

Curiously enough, using 0.0.0.0 as the IP means it has worked

I await someone to tell me exactly why this is a bad idea ....
Reply With Quote
  #6  
Old 02-12-2022, 04:38 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Quote:
Originally Posted by Skream View Post
Curiously enough, using 0.0.0.0 as the IP means it has worked

I await someone to tell me exactly why this is a bad idea ....
Using that as a bind address ? yes, it's best to do that, especially in the mysql/maria config.
Reply With Quote
  #7  
Old 02-13-2022, 03:59 AM
Skream
Fire Beetle
 
Join Date: Feb 2020
Posts: 13
Default

Quote:
Originally Posted by Huppy View Post
Using that as a bind address ? yes, it's best to do that, especially in the mysql/maria config.
No, I meant ...

Quote:
make set-vars port-range-high=7030 ip-address=0.0.0.0
From https://github.com/Akkadius/akk-stack#installation


Although I am now starting to think I should run this in a VM on my local server. That way it can have exclusive use of all the ports as it will have its own IP. Altho, its only a 4 Core/32 GB box.
Reply With Quote
Reply

Tags
akk-stack

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:48 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3