пятница, 2 августа 2019 г.

Linux mariadb doesn't start after upgrading to Debian 10

Mariadb version is 10.3. After upgrading there were errors within service starting:

status
Process: 1232 ExecStartPost=/etc/mysql/debian-start (code=exited, status=203/EXEC)

journal -xe
mariadb.service: Failed at step EXEC spawning /etc/mysql/debian-start: No such file or directory

resolving
https://stackoverflow.com/questions/51317209/mariadb-10-3-8-installation-from-mariadb-repo-missing-files

apt install --reinstall -o Dpkg::Options::="--force-confmiss" mariadb-server-10.3

Configuration file '/etc/mysql/debian-start', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf', does not exist on system.
Installing new config file as you requested.

Configuration file '/etc/mysql/mariadb.conf.d/50-server.cnf', does not exist on system.
Installing new config file as you requested.

apt install --reinstall -o Dpkg::Options::="--force-confmiss" mysql-common
Configuration file '/etc/mysql/my.cnf', does not exist on system.
Installing new config file as you requested.

Afterwards, there were added requested files.

226 error in LXC container

lxc config set container1 security.nesting true

Комментариев нет:

Отправить комментарий