修的了电脑 敲得了代码
     写得了前端 稳得住后端

MariaDB:禁用 GSSAPI 插件([ERROR] mysqld: Server GSSAPI error (major 851968, minor 2529639093))

在我的日志文件/var/log/mariadb/mariadb.log中,我看到了下一个错误:

2023-01-16 23:32:10 0 [Warning] mysqld: GSSAPI plugin : default principal 'mariadb/xxxxxxxx@' not found in keytab
2023-01-16 23:32:10 0 [ERROR] mysqld: Server GSSAPI error (major 851968, minor 2529639093) : gss_acquire_cred failed -Unspecified GSS failure.  Minor code may provide more information. Keytab FILE:/etc/krb5.keytab is nonexistent or empty. 
2023-01-16 23:32:10 0 [ERROR] Plugin 'gssapi' init function returned error.

解决办法:

文件/etc/my.cnf.d/auth_gssapi.cnf包含行

plugin-load-add=auth_gssapi.so

将其注释掉并重新启动服务。服务器应该停止加载插件,这样错误就会消失。

如果你根本不需要插件,你也可以卸载MariaDB-gssapi

MariaDB-gssapi-server-10.1.19-1.el7.centos.x86_64
MariaDB-gssapi-client-10.1.19-1.el7.centos.x86_64
赞(6)
未经允许不得转载:流云溪|码农 » MariaDB:禁用 GSSAPI 插件([ERROR] mysqld: Server GSSAPI error (major 851968, minor 2529639093))