Problem with NFS under Debian-vps [message #15788] |
Mon, 13 August 2007 10:46 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
|
Hi friends.
I have a new problem .
Now I try to make a nfs for my debian svr.
What did i install?
nfs-common
portmap
nfs-user-server
Whatat did i do?
edit /etc/exports
/nfs_pub 172.16.3.51/255.255.255.0(rw)
then i restarted the service. /etc/init.d/nfs-user-server
the result of rpcinfo -p was this.
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 2 tcp 2049 nfs
100005 1 udp 735 mountd
100005 2 udp 735 mountd
100005 1 tcp 738 mountd
100005 2 tcp 738 mountd
100024 1 udp 762 status
100024 1 tcp 765 status
Then when i try to mount on the client i get this error.
vps-cliente:/mnt# mount -t nfs 172.16.3.57:/nfs_pub/ /mnt/nfs
mount: 172.16.3.57:/nfs_pub/ failed, reason given by server: Permission denied
¿any solution?
|
|
|
|
Re: Problem with NFS under Debian-vps [message #15807 is a reply to message #15788] |
Tue, 14 August 2007 09:33 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
|
thx for the reply, but this tip didnt fix my problem.
My temporaly solution is:
rpc.nfsd -r
rpc.mountd -r
portmap
If this don't work
But i'll need this NFS system to make a Remote home for nx users.
And when y mount this as /home. It's unable to loggin in the nxserver :S
|
|
|
|
Re: Problem with NFS under Debian-vps [message #15931 is a reply to message #15807] |
Thu, 16 August 2007 07:33 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
|
generico wrote on Tue, 14 August 2007 05:33 | thx for the reply, but this tip didnt fix my problem.
My temporaly solution is:
rpc.nfsd -r
rpc.mountd -r
portmap
|
sorry
This is my temporaly solution, running this commands, i can mount the NFS directory.
But now i have a "new" problem. When I try to mount "/home" in NFS. I can't loggin in my NXserver.
Server1 -> openLDAP + NFS (openvz)
Server2 -> NXSERVER (xen "i cant run an nxserver on openvz yet") here i mount /home in NFS )
ClientX -> connect to NXserver with users in ldap and /home in NFS.
|
|
|