NFS mount woes: illegal port
This afternoon I was getting the following problem:
sudo mount 10.10.30.13:/home/vidibee/vidibee-server/htdocs /srv/htdocs mount.nfs: access denied by server while mounting 10.10.30.13:/home/vidibee/vidibee-server/htdocs
On the server syslog showed (tail /var/log/syslog):
refused mount request from 10.10.30.4 for /home/vidibee/vidibee-server/htdocs (/home/vidibee/vidibee-server/htdocs): illegal port 52895
This was due to /etc/exports on the server not allowing connections on tcp ports > 1024 to mount. fixed this:
sudo vi /etc/exports /home/vidibee/vidibee-server/htdocs 10.10.30.0/24(rw,sync,no_subtree_check,insecure)
Then had to do reload to get the changes to take effect:
sudo /etc/init.d/nfs-kernel-server reload * Re-exporting directories for NFS kernel daemon... ...done.
Problem solved.












