" mount.nfs: access denied by server while mounting manny:/root/main_storage/repo "
if you come across this with nfs server, first you need to check if the rpc & nfs services are started and running fine with below command to make sure that highligted four services are running on the server. if not start them and make them start at startup default.
Once above thing is done, now it's clients turn, try same on client machine to confirm portmapper(rpcbind) & nfslock are started and running. If not just start them
Note : first rpcbind(portmapper) should be restarted followed by nfslock.
if you come across this with nfs server, first you need to check if the rpc & nfs services are started and running fine with below command to make sure that highligted four services are running on the server. if not start them and make them start at startup default.
[root@nfs ~]# rpcinfo -p localhost
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 39378 status
100024 1 tcp 59742 status
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100021 1 udp 39710 nlockmgr
100021 3 udp 39710 nlockmgr
100021 4 udp 39710 nlockmgr
100021 1 tcp 50170 nlockmgr
100021 3 tcp 50170 nlockmgr
100021 4 tcp 50170 nlockmgr
100005 1 udp 37015 mountd
100005 1 tcp 41361 mountd
100005 2 udp 37015 mountd
100005 2 tcp 41361 mountd
100005 3 udp 37015 mountd
100005 3 tcp 41361 mountd
[root@nfs ~]# /etc/init.d/nfs restart
[root@nfs ~}# chkconfig nfs on # to make start @ startup
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 39378 status
100024 1 tcp 59742 status
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100021 1 udp 39710 nlockmgr
100021 3 udp 39710 nlockmgr
100021 4 udp 39710 nlockmgr
100021 1 tcp 50170 nlockmgr
100021 3 tcp 50170 nlockmgr
100021 4 tcp 50170 nlockmgr
100005 1 udp 37015 mountd
100005 1 tcp 41361 mountd
100005 2 udp 37015 mountd
100005 2 tcp 41361 mountd
100005 3 udp 37015 mountd
100005 3 tcp 41361 mountd
[root@nfs ~]# /etc/init.d/nfs restart
[root@nfs ~}# chkconfig nfs on # to make start @ startup
Once above thing is done, now it's clients turn, try same on client machine to confirm portmapper(rpcbind) & nfslock are started and running. If not just start them
[root@client ~]# rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 41142 status
100024 1 tcp 46713 status
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100021 1 udp 41079 nlockmgr
100021 3 udp 41079 nlockmgr
100021 4 udp 41079 nlockmgr
100021 1 tcp 33367 nlockmgr
100021 3 tcp 33367 nlockmgr
100021 4 tcp 33367 nlockmgr
100005 1 udp 44490 mountd
100005 1 tcp 50476 mountd
100005 2 udp 44490 mountd
100005 2 tcp 50476 mountd
100005 3 udp 44490 mountd
100005 3 tcp 50476 mountd
[root@client ~]# /etc/init.d/rpcbind restart
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 41142 status
100024 1 tcp 46713 status
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100021 1 udp 41079 nlockmgr
100021 3 udp 41079 nlockmgr
100021 4 udp 41079 nlockmgr
100021 1 tcp 33367 nlockmgr
100021 3 tcp 33367 nlockmgr
100021 4 tcp 33367 nlockmgr
100005 1 udp 44490 mountd
100005 1 tcp 50476 mountd
100005 2 udp 44490 mountd
100005 2 tcp 50476 mountd
100005 3 udp 44490 mountd
100005 3 tcp 50476 mountd
[root@client ~]# /etc/init.d/rpcbind restart
[root@client ~]# /etc/init.d/nfslock restart
[root@client ~}# chkconfig nfs on # to make start @ startup
[root@client ~}# chkconfig nfs on # to make start @ startup
Note : first rpcbind(portmapper) should be restarted followed by nfslock.
0 Comments