Using CentOS 7 this problem arose after a reboot and NFS shares would not mount. Trying to start the rpcbind service:
1 |
systemctl start rpcbind |
gave the following error message via jounralctl -xe :
1 |
rpcbind.socket failed to listen on sockets: Address family not supported by protocol |
So it looks like
1 |
net.ipv6.conf.all.disable_ipv6 = 1 |
was set in /etc/sysctl.conf But this wasn’t yet incorporated into the initramfs.
Solution
Rebuild the initramfs with:
1 |
dracut -v -f |
Then reboot.