LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   NFS "request from unauthorized host" and Program not registred (https://www.linuxquestions.org/questions/mandriva-30/nfs-request-from-unauthorized-host-and-program-not-registred-106252/)

hrasmus 10-20-2003 07:55 AM

NFS "request from unauthorized host" and Program not registred
 
:newbie: I have three mandrake servers, one (NFS client) running 2.4.18-6mdk and the two other (NFS servers) 2.4.3-20mdksmp. The client has mounted one disk of each server.

After a powerfail in the building, where both servers resides, NFS mounting is impossible.

At first, both NFS servers slowed down it's services (mail and web)to do almost nothing, while trying to NFS-mount from the client. That seemed to be a DNS problem :confused:, and is solved by entering the host-names to /etc/hosts on both servers and client.

After this, mounting returns immediately with an error "mount: PRC: Program not registred" (in danish) on the client and the /var/log/messages on the NFS-servers displays "portmap [xxxx] connect from xxx.xxx.xxx.xxx to getport(mountd
): request from unauthorized host".

As far as I can see /etc/hosts.allow on the NFS-server allows the client to mount.

Any clues?

Henrik

wyohman 10-20-2003 06:49 PM

It appears the proper services aren't started. Check to make sure everything is started properly.

Cheers.

hrasmus 10-22-2003 05:41 AM

Thanks.

What are the proper services. Both rpc.mountd and rpc.statd is started on the servers and nfsd on the client. Anything else?

Can you tell me if the problem is on the servers or on the client?

Henrik

wyohman 10-22-2003 06:42 PM

What about rpc.nfsd? You can also use the showmount command.

Cheers.

hrasmus 10-23-2003 02:11 AM

No rpc.nfsd, but there is 8 threads of [nfsd] processes.
root 12782 1 0 Oct22 ? 00:00:00 [nfsd]

showmount -a [server] displays
mount clntudp_create: RPC: Program not registered

Henrik

wyohman 10-25-2003 02:07 AM

It appears that either your configuration files or the startup scripts are damaged. "Program not registered" is what one would expect to see if nfs is not running correctly. I would take a look at the config files and startup scripts.

Cheers.


All times are GMT -5. The time now is 03:15 PM.