Today, we use CentOS5.5 to connect to the NFS server of Ubuntu10.10. the following error occurs: # mount172.25.18.27:/stgb/mntmount: 172.25.18.27:/stgbfailed, reasongivenbyserver: permissiondenied but it is normal to connect to this NFS server with another Ubuntu10.10 and check that everything is normal.
The following error occurs when you use CentOS 5.5 to connect to the NFS server of Ubuntu 10.10:
# Mount 172.25.18.27:/stgb/mnt
Mount: 172.25.18.27:/stgb failed, reason given by server: Permission denied
However, it is normal to connect to this NFS server with another Ubuntu 10.10 instance and check that everything is normal. At the same time, CentOS5.5 can also connect to its own NFS service.
Later, I checked a record and found the problem in the log of/var/log on the server.
Cat/var/log/daemon. log | grep mount
Finally, I found a problem:
Wsjobs02 mountd [21330]: refused mount request from 172.25.18.27 for/stgb (/stgb): illegal port 54775
Google again, and finally found that there was no insecure parameter. After adding the parameter (as shown below), restart the NFS Server and everything will be normal.
/Stgb * (ro, sync, no_subtree_check, insecure)