You are not logged in.

#1 2015-10-22 03:37:18

msalerno
Member
Registered: 2014-08-15
Posts: 32

NFS Not starting with ipv6 disabled.

nfs-utils (1.3.3-1)


I update my system every 1 or 2 months with little to no issues.   Today I updated all my packages and suddenly my nfs exports weren't working.  I did some digging through the logs and saw quite a few errors related to ipv6.

rpc.nfsd[1461]: rpc.nfsd: address family AF_INET6 not supported by protocol TCP
rpc.nfsd[1461]: rpc.nfsd: unable to set any sockets for nfsd
systemd[1]: nfs-server.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start NFS server and services.
systemd[1]: nfs-server.service: Unit entered failed state.
systemd[1]: nfs-server.service: Failed with result 'exit-code'.

and

rpcbind[1350]: cannot create socket for udp6
rpcbind[1350]: cannot create socket for tcp6

I had ipv6 disabled in my kernel via grub.  I tried commenting out all ipv6 entries in /etc/netconfig as well as removing any ipv6 host info in my /etc/hosts file, neither allowed me to start up the nfs service.   Once I removed "ipv6.disable=1" from my kernel cmdline everything started working.

Offline

#2 2015-10-22 04:29:02

crondog
Member
Registered: 2011-04-21
Posts: 130

Re: NFS Not starting with ipv6 disabled.

I got snagged by this too. I downgraded nfs-util but there is a fix on the way inside Testing (see nfs-utils 1.3.3-2)

Offline

#3 2015-10-23 07:03:42

Dheeraj
Member
Registered: 2015-10-23
Posts: 1

Re: NFS Not starting with ipv6 disabled.

how to revert to older armv6 package..mistakenly cleared my old archive package on my pi. 

should i wait for testing package ?

Offline

#4 2015-10-23 08:09:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: NFS Not starting with ipv6 disabled.

Dheeraj wrote:

how to revert to older armv6 package..mistakenly cleared my old archive package on my pi. 

should i wait for testing package ?


No, you should ask on the ARM boards. We only support Arch: https://wiki.archlinux.org/index.php/Fo … pport_ONLY


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB