如何禁用GSSAPI插件?我不需要通过服务器上的Kerberos进行身份验证。
这是我的环境:
在我的日志文件/var/ log /mariadb/maradb.log中,我看到了下一个错误:
[Warning] GSSAPI plugin : default principal 'mariadb/locahost.local@' not found in keytab
[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.
[ERROR] Plugin 'gssapi' init function returned error.我在配置:enter code here中找不到与该插件相关的任何内容。
> SELECT PLUGIN_NAME FROM information_schema.PLUGINS WHERE PLUGIN_TYPE = 'AUTHENTICATION';
+-----------------------+
| PLUGIN_NAME |
+-----------------------+
| mysql_native_password |
| mysql_old_password |
+-----------------------+
> SELECT * FROM mysql.plugin;
Empty set (0.00 sec)我只找到了这个配置文件:
发布于 2017-01-05 22:55:44
文件/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_64https://dba.stackexchange.com/questions/160099
复制相似问题