LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-20-2003, 07:55 AM   #1
hrasmus
LQ Newbie
 
Registered: Jul 2003
Location: Denmark
Posts: 3

Rep: Reputation: 0
Angry NFS "request from unauthorized host" and Program not registred


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 , 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
 
Old 10-20-2003, 06:49 PM   #2
wyohman
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Mandrake 2006
Posts: 66

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

Cheers.
 
Old 10-22-2003, 05:41 AM   #3
hrasmus
LQ Newbie
 
Registered: Jul 2003
Location: Denmark
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 10-22-2003, 06:42 PM   #4
wyohman
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Mandrake 2006
Posts: 66

Rep: Reputation: 16
What about rpc.nfsd? You can also use the showmount command.

Cheers.
 
Old 10-23-2003, 02:11 AM   #5
hrasmus
LQ Newbie
 
Registered: Jul 2003
Location: Denmark
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 10-25-2003, 02:07 AM   #6
wyohman
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Mandrake 2006
Posts: 66

Rep: Reputation: 16
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Comments request for "O'Reilly's Linux iptables Pocket Reference" carboncopy General 3 03-03-2005 09:24 PM
Getting error: "ALSA device "default" is already in use by another program." brynjarh Debian 7 02-04-2005 11:45 AM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? munkey Linux - Newbie 3 05-03-2004 04:30 PM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? help munkey Fedora 6 04-30-2004 06:04 PM
"host" ok, but "ping" can't find ip address hardigunawan Linux - Networking 2 05-16-2002 05:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration