nfs shares not mounting / rpcbind issue

Kernels & Hardware, configuring network, installing services

nfs shares not mounting / rpcbind issue

Postby maximus1978 » 2020-07-01 12:30

The issue was with rpcbind.service

Failed to preset unit: Unit file /etc/systemd/system/rpcbind.service is

I am not sure why it became masked. I sort of remember it was after I updated packages in the system.

This really helped. ... n-systemd/

My nfs shared stopped mapping.

Code: Select all
Failed to preset unit: Unit file /etc/systemd/system/rpcbind.service is
/usr/bin/deb-systemd-helper: error: systemctl preset failed on
rpcbind.service: No such file or directory
rpcbind.service is a disabled or a static unit, not starting it.
Job for rpcbind.socket failed.
See "systemctl status rpcbind.socket" and "journalctl -xe" for details.

Fixed it with this.....

Code: Select all
sudo rm /lib/systemd/system/rpcbind.service

sudo aptitude reinstall rpcbind

I re-installed nfs-kernel-server and everything is working now.

systemctl status rpcbind
● rpcbind.service - RPC bind portmap service
   Loaded: loaded (/lib/systemd/system/rpcbind.service; enabled; vendor
preset: enabled)
   Active: active (running) since Wed 2020-07-01 08:26:04 EDT; 48min
     Docs: man:rpcbind(8)
 Main PID: 2958 (rpcbind)
    Tasks: 1 (limit: 4915)
   Memory: 1008.0K
   CGroup: /system.slice/rpcbind.service
           └─2958 /sbin/rpcbind -f -w

I found this helpful.
Last edited by maximus1978 on 2020-07-06 01:06, edited 2 times in total.
Posts: 92
Joined: 2015-03-19 12:49

Re: nfs shares not mounting / rpcbind issue

Postby milomak » 2020-07-04 23:45

i think what would be helpful with all your posts, is if you also described what the problem was that led you to post these solutions you have been posting

it seems you had some problems, searched the internet, and found solutions

the errors you were getting and that type of information will probably make these really useful
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10
Laptop: Lenovo ideapad Y700-15ISK [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Posts: 2073
Joined: 2009-06-09 22:20

Re: nfs shares not mounting / rpcbind issue

Postby zenlord » 2020-07-15 14:39

rpcbind is not required if you're using NFSv4 - that is probably why it was masked. I would not recommend using anything else unless it's for a personal home network, protected from the outside world.
Posts: 77
Joined: 2009-06-17 15:23

Return to System configuration

Who is online

Users browsing this forum: John123 and 10 guests