boot-time rpcbind/rpc.statd issues -- can't open file ..., can't save any reg ..., etc ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i've an nfs v4 server (nfs-kernel-server), with

	rpm -qa | egrep -i "^rpc|^nfs"
		nfs-client-2.1.1-lp151.7.3.1.x86_64
		nfsidmap-0.26-lp151.3.2.x86_64
		rpcbind-1.2.5-lp151.118.1.x86_64
		nfs-kernel-server-2.1.1-lp151.7.3.1.x86_64

on

	uname -rm
		5.5.2-25.g994cf1f-default x86_64


after boot,

	ps ax | egrep "nfs|rpc"
	  263 ?        I<     0:00 [rpciod]
	  273 ?        I<     0:00 [nfsiod]
	 1379 ?        Ss     0:00 /sbin/rpcbind -w -f
	 1383 ?        Ss     0:00 /usr/sbin/rpc.idmapd
	 2348 ?        Ss     0:00 /usr/sbin/rpc.mountd
	 2365 ?        Ss     0:00 /usr/sbin/rpc.statd -p 4000
	 2432 ?        S      0:00 [nfsd]
	 2433 ?        S      0:00 [nfsd]
	 2434 ?        S      0:00 [nfsd]
	 2435 ?        S      0:00 [nfsd]
	 2436 ?        S      0:00 [nfsd]
	 2437 ?        S      0:00 [nfsd]
	 2438 ?        S      0:00 [nfsd]
	 2439 ?        S      0:00 [nfsd]

and nfs et al _seem_ to be functioning.

but boot logs show p3 errors,

	journalctl -xb0 -p3
		-- Logs begin at Sat 2020-02-08 13:27:39 PST, end at Sun 2020-02-09 11:39:21 PST. --
		Feb 09 11:38:39 sharesvr011 rpc.statd[406]: Failed to open directory sm: No such file or directory
		Feb 09 11:38:39 sharesvr011 rpc.statd[406]: Failed to stat /var/lib/nfs/sm: No such file or directory
		Feb 09 11:38:50 sharesvr011 rpcbind[402]: cannot open file = /run/rpcbind/rpcbind.xdr for writing
		Feb 09 11:38:50 sharesvr011 rpcbind[402]: cannot save any registration
		Feb 09 11:38:50 sharesvr011 rpcbind[402]: cannot open file = /run/rpcbind/portmap.xdr for writing
		Feb 09 11:38:50 sharesvr011 rpcbind[402]: cannot save any registration

in more detail,

	journalctl -xb0 | egrep -i "rpc|nfs"
		Feb 09 11:38:39 sharesvr011 kernel: RPC: Registered named UNIX socket transport module.
		Feb 09 11:38:39 sharesvr011 kernel: RPC: Registered udp transport module.
		Feb 09 11:38:39 sharesvr011 kernel: RPC: Registered tcp transport module.
		Feb 09 11:38:39 sharesvr011 kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
		Feb 09 11:38:39 sharesvr011 kernel: FS-Cache: Netfs 'nfs' registered for caching
		Feb 09 11:38:39 sharesvr011 systemd-modules-load[254]: Inserted module 'nfs'
		Feb 09 11:38:39 sharesvr011 systemd-modules-load[254]: Inserted module 'nfs_acl'
		Feb 09 11:38:39 sharesvr011 kernel: Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
		Feb 09 11:38:39 sharesvr011 systemd-modules-load[254]: Inserted module 'nfsd'
		Feb 09 11:38:39 sharesvr011 rpc.statd[406]: Version 2.1.1 starting
		Feb 09 11:38:39 sharesvr011 rpc.statd[406]: Failed to open directory sm: No such file or directory
		Feb 09 11:38:39 sharesvr011 rpc.statd[406]: Initializing NSM state
		Feb 09 11:38:39 sharesvr011 rpc.statd[406]: Failed to stat /var/lib/nfs/sm: No such file or directory
		Feb 09 11:38:39 sharesvr011 dracut-pre-udev[385]: rpc.idmapd: Could not find group "nfsnobody"
		Feb 09 11:38:50 sharesvr011 rpcbind[402]: cannot open file = /run/rpcbind/rpcbind.xdr for writing
		Feb 09 11:38:50 sharesvr011 rpcbind[402]: cannot save any registration
		Feb 09 11:38:50 sharesvr011 rpcbind[402]: cannot open file = /run/rpcbind/portmap.xdr for writing
		Feb 09 11:38:50 sharesvr011 rpcbind[402]: cannot save any registration
		Feb 09 11:38:52 sharesvr011 systemd[1]: Mounting NFSD configuration filesystem...
		Feb 09 11:38:52 sharesvr011 systemd[1]: Listening on RPCbind Server Activation Socket.
		Feb 09 11:38:52 sharesvr011 systemd[1]: Reached target RPC Port Mapper.
		Feb 09 11:38:52 sharesvr011 systemd[1]: Mounted NFSD configuration filesystem.
		Feb 09 11:38:58 sharesvr011 systemd[1]: Mounting /NFS4/SHARE01...
		Feb 09 11:38:58 sharesvr011 systemd[1]: Mounted /NFS4/SHARE01.
		Feb 09 11:39:01 sharesvr011 systemd[1]: Mounting RPC Pipe File System...
		Feb 09 11:39:01 sharesvr011 systemd[1]: Mounted RPC Pipe File System.
		Feb 09 11:39:01 sharesvr011 systemd[1]: Starting NFSv4 ID-name mapping service...
		Feb 09 11:39:01 sharesvr011 systemd[1]: Starting RPC Bind...
		Feb 09 11:39:02 sharesvr011 systemd[1]: Starting Alias for NFS client...
		Feb 09 11:39:02 sharesvr011 systemd[1]: Started RPC Bind.
		Feb 09 11:39:02 sharesvr011 systemd[1]: Started NFSv4 ID-name mapping service.
		Feb 09 11:39:02 sharesvr011 systemd[1]: Started Alias for NFS client.
		Feb 09 11:39:02 sharesvr011 systemd[1]: Reached target NFS client services.
		Feb 09 11:39:17 sharesvr011 systemd[1]: Starting NFS Mount Daemon...
		Feb 09 11:39:17 sharesvr011 rpc.mountd[2348]: Version 2.1.1 starting
		Feb 09 11:39:17 sharesvr011 systemd[1]: Starting NFS status monitor for NFSv2/3 locking....
		Feb 09 11:39:17 sharesvr011 systemd[1]: Starting Alias for NFS server...
		Feb 09 11:39:17 sharesvr011 systemd[1]: Started NFS Mount Daemon.
		Feb 09 11:39:17 sharesvr011 systemd[1]: Started Alias for NFS server.
		Feb 09 11:39:17 sharesvr011 rpc.statd[2365]: Version 2.1.1 starting
		Feb 09 11:39:17 sharesvr011 rpc.statd[2365]: Flags: TI-RPC
		Feb 09 11:39:17 sharesvr011 systemd[1]: Started NFS status monitor for NFSv2/3 locking..
		Feb 09 11:39:17 sharesvr011 systemd[1]: Starting NFS server and services...

The errors,

		rpc.statd[406]: Failed to open directory sm: No such file or directory
		rpc.statd[406]: Failed to stat /var/lib/nfs/sm: No such file or directory
		dracut-pre-udev[385]: rpc.idmapd: Could not find group "nfsnobody"
		rpcbind[402]: cannot open file = /run/rpcbind/rpcbind.xdr for writing
		rpcbind[402]: cannot save any registration

appear non-fatal.

I suspect systemd dependencies ... 

Are these known/recognized issues? 

Any guidance as to how to troubleshoot/resolve?




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux