I just installed Wordops on a fresh VPS but are not able to get MariaDB up and running.
The stacks were installed like this
wo stack install --web --fail2ban --ngxblocker --nanorc --ufw
Checking the status for MariaDB yields the following:
# systemctl status mariadb.service
× mariadb.service - MariaDB 10.6.11 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─limits.conf, migrated-from-my.cnf-settings.conf
Active: failed (Result: exit-code) since Thu 2023-01-26 11:05:43 CET; 18min ago
Docs: man:mariadbd(8)
https://mariadb.com/kb/en/library/systemd/
Process: 627 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 677 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 698 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited>
Process: 915 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Main PID: 915 (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"
CPU: 253ms
Jan 26 11:05:43 wordops-testing mariadbd[915]: 2023-01-26 11:05:43 0 [Note] Server socket created on IP: '::1'.
Jan 26 11:05:43 wordops-testing mariadbd[915]: 2023-01-26 11:05:43 0 [Note] Server socket created on IP: '127.0.0.1'.
Jan 26 11:05:43 wordops-testing mariadbd[915]: 2023-01-26 11:05:43 0 [Note] Server socket created on IP: '127.0.0.1'.
Jan 26 11:05:43 wordops-testing mariadbd[915]: 2023-01-26 11:05:43 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 98: Address already in use
Jan 26 11:05:43 wordops-testing mariadbd[915]: 2023-01-26 11:05:43 0 [ERROR] Do you already have another server running on port: 3306 ?
Jan 26 11:05:43 wordops-testing mariadbd[915]: 2023-01-26 11:05:43 0 [ERROR] Aborting
Jan 26 11:05:43 wordops-testing mariadbd[915]: Warning: Memory not freed: 280
Jan 26 11:05:43 wordops-testing systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Jan 26 11:05:43 wordops-testing systemd[1]: mariadb.service: Failed with result 'exit-code'.
Jan 26 11:05:43 wordops-testing systemd[1]: Failed to start MariaDB 10.6.11 database server.
As far as I can see there are no other services running on port 3306. lsof -i TCP:3306 does not return anything, neither does netstat -lp | grep 3306.
Any ideas what's going on here?