Solve the Problem of connecting CentOS5.5 to the Ubuntu10.10NFS Server

Source: Internet
Author: User
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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.