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 |
It appears the proper services aren't started. Check to make sure everything is started properly.
Cheers. |
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 |
What about rpc.nfsd? You can also use the showmount command.
Cheers. |
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 |
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. |