1、检查NFS的状态无法启动了
NFS -服务器. service-NFS服务and服务
多功能一体机:/run/systemd/generator/NFS-server.service.d
(order-with-mounts.conf
活动:故障指示灯(结果:退出代码(since tue 2019-12-1020336048336042 CST; 10s ago
process :11817 execstart=/usr/sbin/RPC.nfsd $ rpcnfsdargs (代码=exited,状态=1/故障) ) ) )
process :11815 execstartpre=/usr/sbin/exportfs-r (代码=exited,status=0/SUCCESS ) () ) ) ) )。
主PID :11817 (代码=已退出,状态=1/故障) ) ) ) )。
dec 1020336048336042 NFS.ss.comsystemd [1] : startingnfsserverandservices .
dec 1020336048336042 NFS.ss.com RPC.nfsd [ 11817 ] : RPC.nfsd 3360 writingfdtokernelfailed 3360 errno 111 (连接rno
dec 1020336048336042 NFS.ss.comsystemd [1] : NFS-server.service 3360 mainprocessexited,code=exited,status=
dec 1020336048336042 NFS.ss.com RPC.nfsd [ 11817 ] : RPC.nfsd 3360 unabletosetanysocketsfornfsd
dec 1020336048336042 NFS.ss.comsystemd [1] : failedtostartnfsserverandservices。
dec 1020336048336042 NFS.ss.comsystemd [1] : unit NFS-server.serviceenteredfailedstate。
dec 1020336048336042 NFS.ss.comsystemd [1] : NFS-server.service failed。
2、查看rpcbind (rpcbind与nfs的关系为自行百度)。
adependencyjobforrpcbind.service failed.see ' journal CTL-xe ' for details。
dec 1020336049336047 NFS.host.compolkitd [ 9323 ] : registeredauthenticationagentforunix-process 33601292633604289
dec 1020336049336047 NFS.host.compolkitd [ 9323 ] 336012926336042888,unregisteredauthenticationagentforunix-process 336018
dec 1020336049336051 NFS.host.compolkitd [ 9323 ] : registeredauthenticationagentforunix-process 336012933604730
dec 1020336049336051 NFS.host.comsystemd [1] : rpcbind.socketfailedtolistenonsockets 3360 addressfamilynotsuportedbase
dec 1020336049336051 NFS.host.comsystemd [1] :幽默的裙子failedtolistenonrpcbindserveractivationsocket。
- subject : unit rpcbind.sockethasfailed有趣的裙子
3、尝试禁用ipv6
net.IPv6.conf.all.disable _ IPv6=1
net.IPv6.conf.default.disable _ IPv6=1
4、更改rpcbind服务套接字文件监听的地址
/etc/systemd/system/sockets.target.wants/rpcbind.socket
描述=rpcbindserveractivationsocket
BindIPv6Only=ipv6-only
Listen~gram=0.0.0.0:111
幽默的裙子# listen stream=[ :3360 ] :111 #评论幽默的裙子
幽默的裙子# listen~gram=[ :3360 ] :111 #评论幽默的裙子
5、重载、重启