You are not logged in.

#1 2010-10-08 11:22:56

lymphatik
Member
From: Somewhere else
Registered: 2009-03-07
Posts: 119

[Solved] NFS server fails to start

Out of the blue I received those error when I tried to start nfs-server. I digged into google however the only solution was to reboot the server which did not really helped. I started rpcbind and nfs-common without any problems before nfs-server.

Here is my exports

/backup/TV 10.0.1.11(rw,sync,subtree_check,root_squash)

The errors I receive while starting nfs-server

rpc.nfsd: Setting version failed: errno 16 (Device or resource busy)
rpc.nfsd: writing fd to kernel failed: errno 13 (Permission denied)
rpc.nfsd: unable to set any sockets for nfsd

And dmesg tells me

svc: failed to register lockdv1 RPC service (errno 13).
RPC: server localhost requires stronger authentication.

It is actually the same problem as this topic https://bbs.archlinux.org/viewtopic.php?id=88599

Last edited by lymphatik (2010-11-06 19:50:22)

Offline

#2 2010-11-02 09:00:18

lymphatik
Member
From: Somewhere else
Registered: 2009-03-07
Posts: 119

Re: [Solved] NFS server fails to start

After some research I found this could be linked to a problem with ipv6 or /etc/hosts.allow or hosts.deny.

However those solution do not fix my problem. Any help ?

That's quite boring to transfer files via usb key ;(

Last edited by lymphatik (2010-11-03 08:26:22)

Offline

#3 2010-11-03 08:02:25

HyperBaton
Member
From: Belgium
Registered: 2008-01-18
Posts: 207

Re: [Solved] NFS server fails to start

I'm not familiar with NFS at all so I can't help you there, but maybe you can set up a Samba service while figuring out the issue. Beats usb sticks.

Offline

#4 2010-11-03 08:27:00

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [Solved] NFS server fails to start

try adding vers=3 to your fstab options?

from: http://bugs.gentoo.org/show_bug.cgi?id=295552


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2010-11-06 19:53:04

lymphatik
Member
From: Somewhere else
Registered: 2009-03-07
Posts: 119

Re: [Solved] NFS server fails to start

Thanks for the help but it was actually one mistake I made with iptables ;(. It seems that even flushing iptables and restarting nfs-server was not enough. I had to restart the computer, no idea why. But with a fresh iptables it works fine.

Last edited by lymphatik (2010-11-06 19:53:46)

Offline

#6 2010-11-21 11:56:01

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: [Solved] NFS server fails to start

I was searching though Arch wiki but couldn't find - do I need to install and run "rpcbind"?
In rc.conf I have

syslog-ng network netfs crond dbus hal cups alsa bluetooth ntpd samba sensors gdm

Last edited by Mr. Alex (2010-11-21 11:57:33)

Offline

#7 2010-11-21 15:38:51

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,680

Re: [Solved] NFS server fails to start

Offline

Board footer

Powered by FluxBB