mount: RPC: Unable to receive; errno = Connection refused
Hi,
I would like to ask for some advice on how to solve this. I need to mount a directory from a remote machine to another machine in linux environment. The NFS server is set up and running. However, I couldn't mount the directory from the client machine. Both machines' /etc/hosts has each others addresses. I am also able to ping the server machine. But when i try to mount the directory, it gives this error: [root@sit36 /root]# mount 172.20.134.37:/usr/local/blast /mnt/blast mount: RPC: Unable to receive; errno = Connection refused I really don't know what did i miss out. Can you give me some advice on this. And when i try to FTP the NFS server machine, the connection is also refused. Could this be the problem? Though i've set the NFS server machine to a FTP server also. Thanks alot for your attention. I really need help asap. Thanks :D |
You need to be running the rpc.portmap program, as well as nfsd,
and mountd on the server. You also need to have the disk you want to export in the /etc/exports file (before you start mountd or nfsd) on the server. man exports man nfsd man mountd man portmap The NFS connection refused problem may be related, but only indirectly. You'll need to check that there either 1) there is nothing in the /etc/hosts.deny file that excludes your client, or, if there is an exclusion in /etc/hosts.deny, 2) there is something in /etc/hosts.allow file that includes your client. If this is all fine, you need to be sure your ftpd program is up, by either editing /etc/(x)inetd and uncommenting the ftp line, or by making sure ftpd is started before you try to connect. man ftpd man inted man xinted man hosts.allow man hosts.deny |
All times are GMT -5. The time now is 05:06 AM. |