[SOLVED] rpc.mountd: Unable to watch /proc/fs/nfsd/clients: No such file or directory
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
rpc.mountd: Unable to watch /proc/fs/nfsd/clients: No such file or directory
I've just upgraded one of my machines to Slackware 15.0. I export NFS files from this host. The new NFS package is nfs-utils-2.5.4-x86_64-1. The previous Slackware 14.2 version was nfs-utils-1.3.3-x86_64-2.
When I try to run nfsd I get the message in syslog shown in this subject:
Code:
rpc.mountd: Unable to watch /proc/fs/nfsd/clients: No such file or directory
showmount on the server gives:
Code:
# showmount -a
rpc mount dump: RPC: Unable to receive; errno = Connection refused
nfsd, rpc.statd and rpcbind are running, rpc.mountd is not. From another host I cannot nfsmount the exported directories.
In syslog of the client trying to do the mount I get:
Any thoughts on this? Surely I can't be the only one upgrading to Slackware 15.0 whose had this issue. I've reverted back to nfs-utils-1.3.3-x86_64-2 and that is working. The fstab entry on my client is:
It's been awhile since I served NFS, and I'm on Current, but I seem to have this in my /etc/fstab:
Code:
nfsd /proc/fs/nfsd nfsd noauto 0 0
Looks like you might not have the filesystems mount. You should see stuff in /proc/fs/nfsd and /proc/fs/nfs. Do you have an /etc/exports filled out? Did you check rpcinfo to see that nfs and friends are gathered 'round the table?
It's been awhile since I served NFS, and I'm on Current, but I seem to have this in my /etc/fstab:
Code:
nfsd /proc/fs/nfsd nfsd noauto 0 0
Looks like you might not have the filesystems mount. You should see stuff in /proc/fs/nfsd and /proc/fs/nfs. Do you have an /etc/exports filled out? Did you check rpcinfo to see that nfs and friends are gathered 'round the table?
I don't know what that fstab entry is supposed to do. I've never seen an fstab mount going to the /proc filesystem. Maybe that's something new? I'll have to look into that.
I did check /proc/1/net/rpc/nfsd and it was there. I'll check the /proc/fs entries after hours so users can work. Yes, I have /etc/exports, It was there from before when this was running before upgrading to Slackware 15.0 (two days ago). I'll also try the rpcinfo command after hours.
Quote:
showmount -e
Export list for server.lan:
/home 192.168.20.0/24
showmount -a
All mount points on server.lan:
192.168.20.5:/home
My showmount gave:
Code:
# showmount -a
rpc mount dump: RPC: Unable to receive; errno = Connection refused
Quote:
My guess is you don't have the filesystem there. I vaguely recall having to (maybe?) manually mount it but it was mounted automatically today.
Well, this all worked fine with nfs-utils-1.3.3-x86_64-2, so there's something different happening.
I have configured Slackware 15.0 systems as NFS servers and have not seen these problems. I have no line in my /etc/fstab for /proc/fs/nfsd, but nevertheless it is mounted.
Some attempts to find what I might have but might be missing on the failing system:
Code:
henca@munin:/tmp> fgrep nfs /etc/fstab
henca@munin:/tmp> /usr/sbin/showmount
Hosts on munin.lkp.se:
192.168.43.40
henca@munin:/tmp> /usr/sbin/showmount -e
Export list for munin.lkp.se:
/myth/recordings *
henca@munin:/tmp> ls /proc/fs/nfsd/
clients/ max_block_size pool_stats threads
export_features max_connections pool_threads unlock_filesystem
export_stats nfsv4gracetime portlist unlock_ip
exports nfsv4leasetime reply_cache_stats v4_end_grace
filehandle nfsv4recoverydir supported_krb5_enctypes versions
henca@munin:/tmp> df /proc/fs/nfsd/
Filesystem 1K-blocks Used Available Use% Mounted on
nfsd 0 0 0 - /proc/fs/nfsd
henca@munin:/tmp> lsmod | grep nfs
henca@munin:/tmp> cat /proc/config.gz | gzip -d - | grep NFS
CONFIG_KERNFS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_SWAP=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_PNFS_FILE_LAYOUT=y
CONFIG_PNFS_BLOCK=y
CONFIG_PNFS_FLEXFILE_LAYOUT=y
CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org"
# CONFIG_NFS_V4_1_MIGRATION is not set
CONFIG_NFS_V4_SECURITY_LABEL=y
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
CONFIG_NFS_DEBUG=y
# CONFIG_NFS_DISABLE_UDP_SUPPORT is not set
# CONFIG_NFS_V4_2_READ_PLUS is not set
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_PNFS=y
CONFIG_NFSD_BLOCKLAYOUT=y
CONFIG_NFSD_SCSILAYOUT=y
CONFIG_NFSD_FLEXFILELAYOUT=y
CONFIG_NFSD_V4_2_INTER_SSC=y
# CONFIG_NFSD_V4_SECURITY_LABEL is not set
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_NFS_V4_2_SSC_HELPER=y
henca@munin:/tmp> cat /etc/slackware-version
Slackware 15.0
henca@munin:/tmp>
For me, nfsd has worked fine on Slackware 15.0 with kernels 5.15.19, 5.15.117 and 5.15.145 (and maybe some more kernels), I have only been running NFS servers on machines with huge kernels. All my installations has been full Slackware installations with some custom additions, but to my knowledge, none of those additions should affect the NFS server capability.
I don't know for sure what mounted /proc/fs/nfsd on my system, but in /etc/rc.d/rc.nfsd I can see that /proc/fs/nfs is mounted.
So that might explain things. After business hours I will remove the "image /boot/vmlinuz-huge-4.14.67" partition and re-lilo, The 'append="rcu_nocbs=0-11"' was put in there many moons ago to fix a crashing problem with the Ryzen processor. One of many references: https://forum.level1techs.com/t/cont...ryzen/130004/5. Since this machine is using this same processor I will put this setting on the "image = /boot/vmlinuz" partition config.
Success! I reinstalled nfs-utils 2.5.4, removed the vmlinuz-huge-4.14.67 from /etc/lilo, re-lilo'ed and rebooted. All is running well now. Thanks LQ experts!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.