我在“Ubuntu 22.04.2 LTS”上有以下降级的服务:
Jun 21 10:39:14 server rpc.svcgssd[1301170]: ERROR: GSS-API: error in gss_acquire_cred(): GSS_S_NO_CRED (No credentials were supplied, or the credentials were unavailable or inaccessible) - No >
Jun 21 10:39:14 server rpc.svcgssd[1301170]: unable to obtain root (machine) credentials
Jun 21 10:39:14 server rpc.svcgssd[1301170]: do you have a keytab entry for nfs/<your.host>@<YOUR.REALM> in/etc/krb5.keytab?
Jun 21 10:39:14 server systemd[1]: rpc-svcgssd.service: Control process exited, code=exited, status=1/FAILURE
Jun 21 10:39:14 server systemd[1]: rpc-svcgssd.service: Failed with result 'exit-code'.
我在密钥表中没有任何条目,并且无法设置任何东西。
libnfs-utils/jammy,now 4.0.0-1build2 amd64 [installed]
libnfs13/jammy,now 4.0.0-1build2 amd64 [installed,automatic]
libnfsidmap1/jammy-updates,now 1:2.6.1-1ubuntu1.2 amd64 [installed,automatic]
nfs-common/jammy-updates,now 1:2.6.1-1ubuntu1.2 amd64 [installed]
我没有什么主意,你能帮助我吗?
问候 HB
答案1
我进行了更多搜索,看起来对我来说只有一个解决方案。
https://forge.univention.org/bugzilla/show_bug.cgi?id=46587
https://help.univention.com/t/failed-rpc-security-service-for-nfs-server-after-4-3-upgrade/8196/8
systemctl 停止 rpc-svcgssd.service
systemctl 禁用 rpc-svcgssd.service
systemctl 掩码 rpc-svcgssd.service