由于升级我的Ubuntu机器,所有我的NFS挂载挂起。 我检查了系统日志,现在我看到了这个:
Sep 29 04:29:10 ip-10-10-10-10 kernel: [ 9589.594814] RPC: AUTH_GSS upcall failed. Please check user daemon is running.
所有其他debuggingNFS的方法仍然显示并运行(telnet,rpcinfo等)。 什么是AUTH_GSS服务,为什么需要运行? 我一直在谷歌上运行,但是我看不出有什么理由不能进行。
**更新**
除此之外,我现在在服务器上看到以下内容:
Sep 29 05:55:12 ip-10-10-10-10 rpc.gssd[860]: ERROR: can't open /run/rpc_pipefs/gssd/clntXX/info: No such file or directory Sep 29 05:55:12 ip-10-10-10-10 rpc.gssd[860]: ERROR: failed to read service info
**进一步debugging**
要清楚的是,它绝对在运行,并且接受来自客户端机器的连接。 我可以从客户机远程login到111和2049,没有问题。
当使用Kerberos进行身份validation和encryption时, GSSAPI或通用安全服务应用程序编程接口由NFS(版本3和4)使用。
ubuntuconfiguration文件/etc/default/nfs-common有几行:
# Do you want to start the gssd daemon? It is required for Kerberos mounts. NEED_GSSD=
要么configurationKerberos和GSS,要么确保不使用它们。
在启动NEED_GSSD=yes有一个相关的错误报告 ,build议设置NEED_GSSD=yes或者通过将rpcsec_gss_krb5模块列入黑名单(在/etc/modprobe.d/blacklist.conf ,之后需要重新启动)来禁用GSS。