I encounter a problem with nfs :
I can t mount a share /partage from the nfs server to its clients
the message is the following (translated from French)
mount: RPC: Unable to receive; errno = Connection refused
But when I reload nfs-kernel-server it works two seconds but if I wait and try ... it
I ve tried to verify the presence of rpc services on the server, nfs (OK) and mount (KO) by :
steph:/mnt2# rpcinfo -t serveur_infosud nfs
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
steph:/mnt2# rpcinfo -u serveur_infosud nfs
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
BUT
steph:/mnt2# rpcinfo -u serveur_infosud mount
rpcinfo: RPC: Timed out
program 100005 version 0 is not available
The result is the same on the server so it s not due to network filtering
That phenomenon is obviously confirmed by network sniffing :
the demand mount is followed by a RST from serveur and ICMP port unreachable
/etc/exports file is the following :
------------------------------------------------------------
...
/home @network_IP/24(rw,sync,no_root_squash)
/home2 @network_IP/24(rw,sync,no_root_squash)
/partage @network_IP/24(rw,sync,no_root_squash)
....
on the server, /etc/fstab file :
-------------------------------------------------
....
/dev/rd/c0d0p1 / ext3 defaults,errors=remount-ro 0 1
/dev/rd/c0d0p2 /home ext3 defaults,errors=remount-ro 0 2
/dev/rd/c0d1p1 /home2 ext3 defaults,errors=remount-ro 0 3
...
on the client :
-----------------------
....
serveur_infosud:/partage /partage nfs user,rw,exec,auto 0 0
...
/etc/hosts.allow and /etc/hosts.deny are empty
_________________________________
The worst thing is that it used to work before a kernel compilation (that I don't use) and some modification in /etc/pam.d concerning common-auth
and a CRUCIAL reboot !!
Does somebody has an idea ?
Thanks
Stephane Durieux
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez la version beta.