On Saturday, October 10, 2020, 05:55:27 PM EDT, Mike Perkins <mikep@randomtraveller.org.uk> wrote:> Are you deleting just the link or the file it points to? :) I suspect the package is attempting to
> create the file and then link it. Both file and link need to go before you rerun.
'fraid that wasn't it...good thought though :-)
Creating that file by doing this made it go further:
touch /etc/mysql/conf.d/mythtv.cnf
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
But it's because mariadb didn't start cleanly either :-(
? mariadb.service - MariaDB 10.3.22 database server Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2020-10-10 21:49:05 EDT; 1min 11s ago Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/ Process: 111456 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS) Process: 111460 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS) Process: 111475 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [. > Process: 111523 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1> Main PID: 111523 (code=exited, status=1/FAILURE)
Oct 10 21:49:03 hellbat systemd[1]: Starting MariaDB 10.3.22 database server...Oct 10 21:49:03 hellbat mysqld[111523]: 2020-10-10 21:49:03 0 [Note] /usr/sbin/mysqld (mysqld 10.3.22-MariaDB-1ubuntu1) start>Oct 10 21:49:05 hellbat systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILUREOct 10 21:49:05 hellbat systemd[1]: mariadb.service: Failed with result 'exit-code'.Oct 10 21:49:05 hellbat systemd[1]: Failed to start MariaDB 10.3.22 database server.
kenyee@hellbat:~$ journalctl -xe-- Defined-By: systemd-- Support:
http://www.ubuntu.com/support---- An ExecStart= process belonging to unit mariadb.service has exited.---- The process' exit code is 'exited' and its exit status is 1.Oct 10 21:49:05 hellbat systemd[1]: mariadb.service: Failed with result 'exit-code'.-- Subject: Unit failed-- Defined-By: systemd-- Support:
http://www.ubuntu.com/support---- The unit mariadb.service has entered the 'failed' state with result 'exit-code'.Oct 10 21:49:05 hellbat systemd[1]: Failed to start MariaDB 10.3.22 database server.-- Subject: A start job for unit mariadb.service has failed-- Defined-By: systemd-- Support:
http://www.ubuntu.com/support---- A start job for unit mariadb.service has finished with a failure.---- The job identifier is 130350 and the job result is failed.Oct 10 21:49:05 hellbat sudo[111447]: pam_unix(sudo:session): session closed for user root