Project akk-stack - unable to start mariadb
Quote:
netstat says nothing is using 3306 so I am thinking it's iptables on the host? Or is there something else I am missing? EDIT : Yeah, its not the internal firewall as I allowed all 3306 and its still throwing that error. EDIT : Did some googling and something doesn't look right. Quote:
|
Actually setting the .env to 3386 only makes the internal use 3386. Where it is failing to build is your machine has something using 3306 external to the docker container.
3306:3386 basically the docker container is forwarding 3306 to 3386 into the container. I am betting you have a mariadb/mysql instance running locally on your machine using 3306. run sudo systemctl stop mysql and then try it. If that is the case and your not using the external either remove it or change it's port to 3307 for future endeavors. Also looks like something is using 9001. Did you do the non docker install previous? If so it is running. |
Quote:
There seems to be a fundamental problem in that these containers can't assign ANY port. I have never installed any version of peq on this device before. These are the only docker containers installed. Quote:
Please dont tell me I have to virtualbox up a VM on the host to get docker to work properly ... Also, UFW is disabled on the host. I mean I am seriously lost now. That's what sudo netstat says is in use. Quote:
|
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 |
Quote:
|
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:
EDIT : Nope. Quote:
|
Mariadb will install fine and start itself
Quote:
|
Curiously enough, using 0.0.0.0 as the IP means it has worked :shock:
I await someone to tell me exactly why this is a bad idea .... |
Quote:
|
Quote:
Quote:
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. |
Quote:
This could also be causing your bind issues. Even if you turned it off I have had the experience of it still blocking ports and had to remove it to be able to use said ports on the IP. |
Quote:
The thing about using a VM is that there are a lot of services running on this box that want different ports, running on VM isolates the PEQ server. Also I can start akk-stack up under Debian. Reading this forum it seems people have had a more stable experience with Debian than Ubuntu 20.04. |
Quote:
Also switching versions of Linux that are built on each other is not really the answer, solving the issue is the answer. I have been using Linux for over 20 years and every version has a distinct purpose and way of doing things. Ubuntu is based on Debian, I use Linux Mint which is based on both. Inside my network I do not run iptables or UFW because it is all behind a pfsense firewall. Doing double duty is only necessary if I am trying to isolate a box due to it containing sensitive information. A game server in my network is not that box. Linux is designed for you to use what is more comfortable for you. So switching flavors/versions is your choice. It does mean learning another way of doing things. Debian may work better for some people, I again am using Linux Mint and have been for 6 years successfully on all my servers from games to data. I have used every major distro and have found issues with all, it comes down to what do you need and how comfortable are you working in it. Also each distro has a lag in updating to the newest drivers and other updates like wine which also if you need the newest for some things a rolling distro maybe required. Also if you have a dekstop on that server you may want to install GUFW so you have a GUI for UFW. Setting your IP to 0.0.0.0 for bind allows it to bind to any IP which means more than likely UFW was blocking the IP of the box ports but not localhost/127.0.0.1. Just some thoughts to give you some more info to ponder. |
All times are GMT -4. The time now is 12:48 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.