Somehow, (my mistake) I left <all updates> listed for software and updates.
On 8/13/2021, i began getting : "ZoneMinder Error Unable to connect to ZM db using dsn mysql:host=localhost;dbname=zm SQLSTATE[HY000] [2002] No such file or directory" when connecting to ZM.
In the history log:
Commandline: /usr/bin/unattended-upgrade
Upgrade: mariadb-common:amd64 (1:10.3.30-0ubuntu0.20.04.1, 1:10.3.31-0ubuntu0.20.04.1), mariadb-server-core-10.3:amd64 (1:10.3.30-0ubuntu0.20.04.1, 1:10.3.31-0ubuntu0.20.04.1), mariadb-server-10.3:amd64 (1:10.3.30-0ubuntu0.20.04.1, 1:10.3.31-0ubuntu0.20.04.1), mariadb-client-10.3:amd64 (1:10.3.30-0ubuntu0.20.04.1, 1:10.3.31-0ubuntu0.20.04.1), mariadb-server:amd64 (1:10.3.30-0ubuntu0.20.04.1, 1:10.3.31-0ubuntu0.20.04.1), mariadb-client-core-10.3:amd64 (1:10.3.30-0ubuntu0.20.04.1, 1:10.3.31-0ubuntu0.20.04.1)
End-Date: 2021-08-13 06:53:07
Bear in mind that mysql will not start as a service. Looking for some insight.
Code: Select all
mariadb.service - MariaDB 10.3.31 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2021-08-17 15:12:28 EDT; 18s ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 755555 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 755556 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 755558 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, status=0/SUCCESS)
Process: 755605 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Main PID: 755605 (code=exited, status=1/FAILURE)
Status: "Starting final batch to recover 107 pages from redo log"
Aug 17 15:12:27 10-10-0-103 systemd[1]: Starting MariaDB 10.3.31 database server...
Aug 17 15:12:27 10-10-0-103 mysqld[755605]: 2021-08-17 15:12:27 0 [Note] /usr/sbin/mysqld (mysqld 10.3.31-MariaDB-0ubuntu0.20.04.1) starting as process 755605 ...
Aug 17 15:12:28 10-10-0-103 systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Aug 17 15:12:28 10-10-0-103 systemd[1]: mariadb.service: Failed with result 'exit-code'.
Aug 17 15:12:28 10-10-0-103 systemd[1]: Failed to start MariaDB 10.3.31 database server.
Been running 1.36.5 flawlessly since May and been using ZM for about the last 2.5 years using the ppa from iconnor on ubuntu focal
Thanks for your help.