tried to upgrade mariadb 10.2 to 10.3 with the following command
cd /usr/local/directadmin/custombuild
./build clean
./build update
./build set mysql_backup yes
./build set mariadb 10.3
./build set mysql_inst mariadb
./build mariadb
But after the execution of these commands mariadb is down or cant restart. its throwing some error.
systemctl status mariadb
● mariadb.service - MariaDB database server
Loaded: loaded (/etc/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf, tokudb.conf
Active: failed (Result: exit-code) since Sun 2021-07-11 22:57:54 IST; 4min 45s ago
Process: 2305339 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Process: 2305314 ExecStartPre=/bin/sh -c [ -x /usr/bin/galera_recovery ] || exit 0; VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 2305312 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 2305339 (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"
CGroup: /system.slice/mariadb.service
└─1405 /usr/sbin/mysqld
Jul 11 22:55:42 linda1.xserver.com systemd[1]: Stopping MariaDB database server...
Jul 11 22:55:42 linda1.xserver.com systemd[1]: Starting MariaDB database server...
Jul 11 22:57:12 linda1.xserver.com systemd[1]: mariadb.service start operation timed out. Terminating.
Jul 11 22:57:54 linda1.xserver.com systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE
Jul 11 22:57:54 linda1.xserver.com systemd[1]: Failed to start MariaDB database server.
Jul 11 22:57:54 linda1.xserver.com systemd[1]: Unit mariadb.service entered failed state.
Jul 11 22:57:54 linda1.xserver.com systemd[1]: mariadb.service failed.
cd /usr/local/directadmin/custombuild
./build clean
./build update
./build set mysql_backup yes
./build set mariadb 10.3
./build set mysql_inst mariadb
./build mariadb
But after the execution of these commands mariadb is down or cant restart. its throwing some error.
systemctl status mariadb
● mariadb.service - MariaDB database server
Loaded: loaded (/etc/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf, tokudb.conf
Active: failed (Result: exit-code) since Sun 2021-07-11 22:57:54 IST; 4min 45s ago
Process: 2305339 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Process: 2305314 ExecStartPre=/bin/sh -c [ -x /usr/bin/galera_recovery ] || exit 0; VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 2305312 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 2305339 (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"
CGroup: /system.slice/mariadb.service
└─1405 /usr/sbin/mysqld
Jul 11 22:55:42 linda1.xserver.com systemd[1]: Stopping MariaDB database server...
Jul 11 22:55:42 linda1.xserver.com systemd[1]: Starting MariaDB database server...
Jul 11 22:57:12 linda1.xserver.com systemd[1]: mariadb.service start operation timed out. Terminating.
Jul 11 22:57:54 linda1.xserver.com systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE
Jul 11 22:57:54 linda1.xserver.com systemd[1]: Failed to start MariaDB database server.
Jul 11 22:57:54 linda1.xserver.com systemd[1]: Unit mariadb.service entered failed state.
Jul 11 22:57:54 linda1.xserver.com systemd[1]: mariadb.service failed.
Last edited: