You are not logged in.

#1 2008-08-05 11:04:49

artiom
Member
From: France
Registered: 2008-07-29
Posts: 108

nfsd startup problem

I've tried to set up a NFS server. When I start nfsd it fails whit "nfslock not started". When I start nfslock it fails silently. Readind the forum I've figured out that I must start portmapper for nfslock works. So portmap->nfslock->nfsd and it works.
The question is why the start of nfsd doesn't start this chain like the other scripts does?

Offline

#2 2008-08-05 16:32:02

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,181
Website

Re: nfsd startup problem

I'm not able to give you an explanation why, but reading the wiki should have given away the answer: http://wiki.archlinux.org/index.php/Nfs#Daemons

Zl.

Offline

#3 2008-08-07 14:37:46

artiom
Member
From: France
Registered: 2008-07-29
Posts: 108

Re: nfsd startup problem

Yes, they give the sequence which works. But I think it must be automatic. dbus, for exemple, is started automatically then it's needed.

Offline

#4 2008-08-07 15:02:57

FreakGuard
Member
Registered: 2008-04-27
Posts: 83

Re: nfsd startup problem

For the lazy ones:

/etc/rc.d/nfs

#!/bin/sh
/etc/rc.d/portmap $1
/etc/rc.d/nfslock $1
/etc/rc.d/nfsd $1

Last edited by FreakGuard (2008-08-07 15:03:18)


In each heart, as pure it may be, there is a place of deepest and darkest abyss.
(by Apollo from archlinux.de, translated by a friend of mine who writes http://www.drunkduck.com/Captain_Communism/ )

Offline

Board footer

Powered by FluxBB