rpcbind.socket failed to listen on sockets: Address family not supported by protocol

Using CentOS 7 this problem arose after a reboot and NFS shares would not mount. Trying to start the rpcbind service:

systemctl start rpcbind

gave the following error message via jounralctl -xe :

rpcbind.socket failed to listen on sockets: Address family not supported by protocol

So it looks like

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:

dracut -v -f

Then reboot.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>