LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-28-2007, 04:01 PM   #1
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
Having issues with nfs/rpc/portmap...


I've a CentOS box that is supposed to be serving up a couple NFS shares. I believe it is set up properly.

On a non-CentOS client I'm unable to mount the directories... I have /etc/exports on the host and /etc/hosts set up on both machines. Here's the error I'm getting:
Code:
[root@milan ~]# mount -t nfs4 venice:/home/media /home/media/
Warning: rpc.idmapd appears not to be running.
         All uids will be mapped to the nobody uid.
mount: block device venice:/home/media is write-protected, mounting read-only
Warning: rpc.idmapd appears not to be running.
         All uids will be mapped to the nobody uid.
mount: cannot mount block device venice:/home/media read-only
[root@milan ~]#
The only errors I can find on the server are in /var/log/messages, and I'm not sure they're related:
Code:
Apr 28 15:55:37 venice restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) Invalid argument
Apr 28 15:57:38 venice restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory
resolv.conf just has a 'nameserver' line with my router's address.
 
Old 04-28-2007, 08:02 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: At home: Arch, OpenBSD, Solaris. At work: CentOS, Debian, Ubuntu
Posts: 3,625

Rep: Reputation: 101Reputation: 101
Do you have rpc.idmapd running on the client (it will show up in ps)? If not you can do a "service rpcidmapd start" and turn it on for future reboots with chkconfig,
 
Old 04-28-2007, 08:08 PM   #3
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by btmiller
Do you have rpc.idmapd running on the client (it will show up in ps)? If not you can do a "service rpcidmapd start" and turn it on for future reboots with chkconfig,
No, I didn't realize it needed to be running on the client. ps shows that rpc.statd is running. When I run rpc.idmapd nothing happens, that is it appears to run and exit cleanly. I do have a 'portmap' service, and that is running, but no seperate rpc* services.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS RPC: Port mapper failure - RPC: Unable to receive KEJP Linux - Networking 6 12-18-2006 02:14 AM
How can I configure iptables to allow portmap (rpc services) dirtgod Linux - General 1 12-16-2006 03:51 AM
RPC: failed to contact portmap (errno -5). .... NFS hedpe Linux - Networking 4 12-14-2006 11:17 AM
Portmap and RPC in RHL8 Gabriel2010 Linux - Newbie 3 08-19-2004 01:06 PM
NFS Portmap: RPC: Program not registered fibbi Linux - Software 2 08-12-2004 12:40 AM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration