我只是尝试进行一些更改,my.cnf
例如:innodb_buffer_pool_size
,,innodb_log_file_size
= innodb_flush_log_at_trx_commit
0,并添加“ skip-name-resolve
”,从那时起,无法启动 mariadb,即使我撤消了所有更改仍然不起作用......
我很绝望,因为我的商店不工作,清除所有的 mysql,安装新的,仍然无法启动......
当我尝试启动或安装时出现此错误:
Jun 27 12:28:36 server systemd[4311]: mariadb.service: Failed to change ownership of session keyring: Permission denied
Jun 27 12:28:36 server systemd[4311]: mariadb.service: Failed to set up kernel keyring: Permission denied
Jun 27 12:28:36 server systemd[4311]: mariadb.service: Failed at step KEYRING spawning /usr/bin/install: Permission denied
-- Subject: Process /usr/bin/install could not be executed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The process /usr/bin/install could not be executed and failed.
--
-- The error number returned by this process is 13.
Jun 27 12:28:36 server systemd[1]: mariadb.service: Control process exited, code=exited status=237
Jun 27 12:28:36 server systemd[1]: mariadb.service: Failed with result 'exit-code'.
Jun 27 12:28:36 server systemd[1]: Failed to start MariaDB 10.1.33 database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit mariadb.service has failed.
有人能帮帮我吗?真的不知道该怎么办……
尝试执行/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld
并以安全模式启动...但仍然不起作用
答案1
最后编辑:这已被报告为错误编号 865870,请尝试升级您的软件包。
apt-get update && apt-get upgrade
答案2
编辑:(告诉你的提供商)附加
keyctl_chown errno 38
keyctl errno 38
到 /usr/share/lxc/config/common.seccomp 并重新启动容器。