kinit: error while loading shared libraries: libkdb5.so.9: cannot open shared object file: No such file or directory
时间: 2023-10-20 13:06:07 浏览: 238
libstdc++.so.6: 无法打开共享对象文件: 没有那个文件或目录
5星 · 资源好评率100%
这个错误提示"kinit: error while loading shared libraries: libkdb5.so.9: cannot open shared object file: No such file or directory"通常是因为缺少所需的共享库文件libkdb5.so.9。
解决这个问题的方法是安装或更新Kerberos软件包。你可以尝试运行以下命令来安装所需的库文件:
sudo apt-get install krb5-user
如果你已经安装了Kerberos软件包,但仍然遇到这个错误,你可以尝试重新安装Kerberos软件包,以确保所有的依赖关系都被正确安装。
另外,如果你在创建keytab文件时使用了不同的用户,即使密码相同,也不可以共用同一个keytab文件,这是因为每个用户的keytab文件都是根据其特定的身份和凭证生成的,所以不同用户之间的keytab文件是不可互相共享的。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [【kerberos】kinit: Credential cache directory “/run/user/0/krb5cc“ does not exist while getting](https://blog.csdn.net/Mrerlou/article/details/129045352)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [kinit: Keytab contains no suitable keys for xxxx@HADOOP.COM while getting initial credentials](https://blog.csdn.net/weixin_44904163/article/details/122825185)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文