Daniel Ling wrote:

Hello all,
I am working on sharing files and folders between two Linux machines (Red Hat Linux 8.0) thru NFS. But I am experiencing a problem with the port mapper. Just wonder if anyone can help me to resolve this problem.

For each Linux machine, both *nfs *and *portmap* services were started. I opened the /etc/exports file and added a line like " /Shared *.mydomain.com(rw)", where /Shared is the shared directory that I would like to export to other machines in the same domain with Read/Write permission. Then I ran the command below to export all the files and folder:
/usr/sbin/exportfs -r

Then I created a local mount point /home/myusername/nfsshared on each machine, and mounted the exported nfs files or folders manually as follow:
mount machine1.mydomain.com:/Shared /home/myusername/nfsshared

If I do this within the same machine (i.e. mahcine1), then I am okay- no problem! But if I do this from the other machine (machine2), then I'll get an error message as follow:

"mount : RPC : Port mapper failure - RPC: Unable to receive"

It sounds like the server is exporting files properly, but the client is not able to receive them for some reason. Am I missing something? Anyone has any idea how to fix this? Your help will be deeply appreciated!

Check to see if you are running iptables. If you are try this "/etc/init.d/iptables stop".




--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list


Reply via email to