You are not logged in.

#1 2012-11-02 20:50:19

snufkin
Member
From: Sweden
Registered: 2008-11-08
Posts: 71

[SOLVED] Can't start NFS server

I've read the wiki page and I've been changing my config files accordingly. When I try to start it I get the following error (from journalctl):

Nov 02 21:41:47 arch sudo[11201]: dennis : TTY=pts/0 ; PWD=/home/dennis ; USER=root ; COMMAND=/usr/bin/systemctl start nfsd.
service rpc-idmapd.service rpc-mountd.service rpcbind.service
Nov 02 21:41:47 arch sudo[11201]: pam_unix(sudo:session): session opened for user root by dennis(uid=0)
Nov 02 21:41:47 arch systemd[1]: Starting NFS server...
Nov 02 21:41:47 arch systemd[1]: Mounting RPC pipe filesystem...
[b]Nov 02 21:41:47 arch rpc.nfsd[11204]: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Nov 02 21:41:47 arch rpc.nfsd[11204]: Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem[/b]
Nov 02 21:41:47 arch rpc.nfsd[11204]: error starting threads: errno 38 (Function not implemented)
Nov 02 21:41:47 arch systemd[1]: Started RPC Bind.
Nov 02 21:41:47 arch systemd[1]: nfsd.service: main process exited, code=exited, status=1/FAILURE
Nov 02 21:41:47 arch mount[11205]: mount: unknown filesystem type 'rpc_pipefs'
Nov 02 21:41:47 arch systemd[1]: Failed to start NFS server.
Nov 02 21:41:47 arch systemd[1]: Dependency failed for NFS Mount Daemon.
Nov 02 21:41:47 arch systemd[1]: Job rpc-mountd.service/start failed with result 'dependency'.
Nov 02 21:41:47 arch systemd[1]: Unit nfsd.service entered failed state
Nov 02 21:41:47 arch systemd[1]: var-lib-nfs-rpc_pipefs.mount mount process exited, code=exited status=32
Nov 02 21:41:47 arch systemd[1]: Failed to mount RPC pipe filesystem.
Nov 02 21:41:47 arch systemd[1]: Dependency failed for NFSv4 ID-name mapping daemon.
Nov 02 21:41:47 arch systemd[1]: Job rpc-idmapd.service/start failed with result 'dependency'.
Nov 02 21:41:47 arch systemd[1]: Unit var-lib-nfs-rpc_pipefs.mount entered failed state
Nov 02 21:41:47 arch sudo[11201]: pam_unix(sudo:session): session closed for user root

When I run mount -t nfsd nfsd /proc/fs/nfsd it says:

[dennis@arch ~]$ sudo mount -t nfsd nfsd /proc/fs/nfsd
mount: unknown filesystem type 'nfsd'

What to do? I've no idea how to solve this.

edit : changed quote tags to code --Inxsible

Last edited by snufkin (2012-11-03 07:50:52)

Offline

#2 2012-11-02 21:48:05

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,807

Re: [SOLVED] Can't start NFS server

What happens if you just run systemctl start nfsd.service ?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2012-11-03 07:50:34

snufkin
Member
From: Sweden
Registered: 2008-11-08
Posts: 71

Re: [SOLVED] Can't start NFS server

alphaniner wrote:

What happens if you just run systemctl start nfsd.service ?

Then I got another error message.

I found out what was wrong though. I had suspended the computer, which caused GNOME or whatever to mess with my session data. A reboot fixed the problem, although I'm sure a relog would've done the same.

Last edited by snufkin (2012-11-03 07:51:13)

Offline

#4 2014-11-09 16:09:29

tetris11
Member
Registered: 2014-11-09
Posts: 18

Re: [SOLVED] Can't start NFS server

Just want to say that I had the exact same problem and the suggested reboot fixed it -- cheers

Last edited by tetris11 (2014-11-09 16:09:50)

Offline

#5 2014-11-09 16:57:13

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,224

Re: [SOLVED] Can't start NFS server

tetris11
Welcome to Arch Linux.  I am glad your problem is solved, but please watch the dates on threads -- This one had been dormant for two years.
https://wiki.archlinux.org/index.php/Fo … Bumping.22

I think this thread has run its course.  Closing.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

Board footer

Powered by FluxBB