Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

nfs shares not mounting / rpcbind issue

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
maximus1978
Posts: 93
Joined: 2015-03-19 12:49

nfs shares not mounting / rpcbind issue

#1 Post by maximus1978 »

The issue was with rpcbind.service

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

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

This really helped.

https://blog.ruanbekker.com/blog/2017/1 ... n-systemd/

My nfs shared stopped mapping.

Code: Select all

Failed to preset unit: Unit file /etc/systemd/system/rpcbind.service is
masked.
/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
ago
     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.

http://0pointer.de/blog/projects/three-levels-of-off
Last edited by maximus1978 on 2020-07-06 01:06, edited 2 times in total.

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: nfs shares not mounting / rpcbind issue

#2 Post by milomak »

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, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

zenlord
Posts: 81
Joined: 2009-06-17 15:23

Re: nfs shares not mounting / rpcbind issue

#3 Post by zenlord »

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.

Post Reply