LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NFS mount: error program not registered (https://www.linuxquestions.org/questions/linux-server-73/nfs-mount-error-program-not-registered-735571/)

thllgo 06-25-2009 10:08 AM

NFS mount: error program not registered
 
I'm trying to NFS mount a partition from SERVER to CLIENT. When I run the following command from CLIENT

"mount SERVER:/partition3 /partition3"

I get the error

"mount to NFS server 'SERVER' failed: RPC Error: Program not registerd"

I've seen this error before and it usually means NFS has not been started on SERVER. The twist here is that I already have two other partitions mounted from SERVER. I'm so confused. :confused:

The SERVER has its /etc/exports file filled out and I did both a "exportfs -a" and "exportfs -r" to refresh all the exports. Still no luck
On SERVER the /etc/exports file looks like

/partition1 CLIENT(rw,sync,no_root_squash)
/partition2 CLIENT(rw,sync,no_root_squash)
/partition3 CLIENT(rw,sync,no_root_squash)

/partition1 and /partition2 are mounted.

Fantasio 06-26-2009 01:57 PM

portmap is not launched on the server and/or nfsserver is not running

thllgo 06-29-2009 07:56 AM

I found the problem. I ran a security script and one of the things it did was chmod 600 on hosts.deny and hosts.allow. I changed it back to 644 and all is well.


All times are GMT -5. The time now is 08:23 AM.