NFS - Connection Refused.. (Common-Error in Uncommon Form) [message #24234] |
Mon, 03 December 2007 12:01 |
RobinVossen
Messages: 36 Registered: November 2007
|
Member |
|
|
I did setup NFS. And I keep getting Connection refused.
I know this is a Famous error. and I did read:
http://wiki.openvz.org/NFS_server_inside_VE
even the part:
Quote: |
The reason is that these daemons check the major number of the device where the directory to export resides. If major equals 0 then daemons assume that it is NFS and don't want to re-export it. Symptoms are that clients will always get a "permission denied" error. Simfs (the file system on which VE is located) is associated with so called unnamed device, in which major equals 0. So, to prevent daemons from checking for re-exporting — just use this -r option.
|
So I DID do:
# portmap
# rpc.mountd -r
# rpc.nfsd r
I got no output what so ever.
I also did:
(Gentoo Box)
and I got
Exporting NFS subtree_check not set setting to default No_subtree_check [Ok]
Starting NFS mountd [Ok]
Starting NFS Daemon [!!]
Starting NFS smnotify [Ok]
I did check:
- ifconfig
- hosts.allow
- exportfs
But it looks nothing works..
My uname -r output is:
2.6.18-openvz-686
The HN is a Debian and the VN are Gentoo.
I posted the problem also on:
http://forums.gentoo.org/viewtopic-p-4574507.html#4574507
and
http://www.linuxforums.org/forum/linux-networking/109759-nfs -connection-refused.html
But we just cant find the problem..
I hope a OpenVZ person might be able to.
Cheers,
Robin
edit:
the /proc/filesystem has nfs in it.
And the exports file had async,rw,insecure as settings.
And Still I get Connection refused..
I might found the problem...
/etc/init.d/nfs stop
Not yet started
/etc/init.d/nfs start
FATAL: Could not load /lib/modules/2.6.18-openvz-686/modules.dep no such file or directory..
I guess thats my bug.
Since I have CHECKED everything else.
Cheers,
Robin
Edit:
rpc.nfsd seems to be broken.
I cant start it what so ever.
Tryed with the r Argument and with the -U neither work.
What do I need to make this go?
Cheers,
Robin
[Updated on: Mon, 03 December 2007 14:22] Report message to a moderator
|
|
|