Click to See Complete Forum and Search --> : Setting up NFS server errors.


Usulsuspct
12-29-2001, 12:12 PM
I am trying to setup a NFS server on a Mandrake 8.0 box. I installed the nfs & nfs-utils rpm's from the installation CD, and made my changes to /etc/exports, even ran exportfs -ra successfully.

However when I attemp to run /etc/rc.d/init.d/nfs start
I get the following error messages:

Starting NFS services: [ OK ]
Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused
[FAILED]
Starting NFS mountd: Cannot register service: RPC: Unable to receive; errno = Connection refused
[FAILED]
Starting NFS daemon:

It then just hangs on Starting NFS daemon until I get a message:

nfssvc: Address already in use
[FAILED]


What's up with that? Anyone got anyideas?

[ 29 December 2001: Message edited by: Usulsuspct ]

Bernd
01-04-2002, 01:21 PM
Hi,

first I think you should look into your /var/log/messages what it says about your problem.

Then it sounds to me as if you are trying to use quotas and nfs -- well this also should work, but at first starting a pure nfs server should be enough. So manually starting "portmap", "rpc.mountd" and then "rpc.nfsd" should do it (in this order, hope I remembered correctly).

Bernd

Morph
01-11-2002, 10:32 AM
connection refused:

I have received this error when i forgot to update the /etc/exports file on the server. This file should contain what dirs you want to export and to what IP addresses:

/home 123.123.123.123(rw) 123.123.123.124(rw)

etc.

Do this and then on ther server do

exportfs -ra

so that it will reread the /etc/exports file. :)