在我的其中一台服务器上,Mariadb 停止并显示以下状态:
● 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 Sun 2022-05-01 08:43:33 CEST; 9s ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 7287 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=1/FAILURE)
CPU: 4ms
May 01 08:43:33 zabbix systemd[1]: Starting MariaDB 10.3.31 database server...
May 01 08:43:33 zabbix sh[7287]: Failed to set environment: Access denied
May 01 08:43:33 zabbix systemd[1]: mariadb.service: Control process exited, code=exited, status=1/FAILURE
May 01 08:43:33 zabbix systemd[1]: mariadb.service: Failed with result 'exit-code'.
May 01 08:43:33 zabbix systemd[1]: Failed to start MariaDB 10.3.31 database server.
到昨天为止一切都很好。Mysql 错误日志是空的,这是我目前唯一的输出。磁盘空间和 RAM 很多,所以这应该不是问题。有人能帮忙解决这个问题吗?