LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 12-27-2005, 02:16 PM   #1
MoreCoffee
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora 8 with multiple virtual machines
Posts: 24

Rep: Reputation: 15
NFS fail to load RPC after kernel compile


After compiling a kernel for my FC4 box it will not run a NFS server all seems to start ok except for RPC. Does anyone know what I need to add in xconfig. Any help would be appreciated.

Thanks
 
Old 12-27-2005, 03:07 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
The RPC daemons are not kernelspace. They are installed by the userland NFS package(s). Do you have nfs-utils installed?

If so, then at least posting the errors you are getting will help to diagnose your problem.
 
Old 12-27-2005, 10:02 PM   #3
MoreCoffee
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora 8 with multiple virtual machines
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for the help so far, yes I have nfs-utils, and portmap

here is the error I'm getting upon the start of NFS.

Code:
Starting RPC idmapd: FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc
Code:
cat .config | grep SUNRPC
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
dmesg produces
Code:
SELinux: initialized (dev nfsd, type nfsd), uses genfs_contexts
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: recovery directory /var/lib/nfs/v4recovery doesn't exist
NFSD: starting 90-second grace period
I also tried adding this to my /etc/fstab with no results.
Code:
rpc_pipefs              /var/lib/nfs/rpc_pipefs rpc_pipefs defaults     0 0
Any suggestions would be appreciated
Thanks
MoreCoffeee
 
Old 06-16-2006, 05:23 PM   #4
jtester
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
Starting RPC idmapd: FATAL: Module sunrpc not found

I am have having a simular problem
with uml 2.6.16.18

Starting RPC idmapd: FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc

Did anyone get a solution?

Linux:~/uml/linux-2.6.16.18 # grep SUNRPC .config
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
and
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=y
# CONFIG_NFSD_V3 is not set
CONFIG_NFSD_TCP=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_NCPFS_NFS_NS=y

Thanks
 
Old 06-21-2006, 05:22 PM   #5
jtester
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
If you dont want to rebuild the kernel just
inside the file
/etc/init.d/rpcimapd
Commeted out the lines
> # Load sunrpc which mounts the rpc_pipes fs.
> echo Load sunrpc which mounts the rpc_pipes fs.
> [ -x /sbin/lsmod -a -x /sbin/modprobe ] && {
> if ! /sbin/lsmod | grep sunrpc > /dev/null ; then
> /sbin/modprobe sunrpc # || exit 1
> fi
> }
>

Then I need to add
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0
to the file /etc/fstab
then
mount -a
[root@localhost ~]# service rpcidmapd start
Starting RPC idmapd: [ OK ]
 
  


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



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
NFS (RPC time out)rh 9 rinux Linux - Networking 3 09-24-2003 05:02 PM
Kernel compile fail NightShade737 Linux - Software 3 06-29-2003 05:54 PM
Unmounting NFS filesystems: Cannot MOUNTPROG RPC: RPC ErnstVikenstein Linux - General 4 05-31-2003 12:10 AM
another NFS question (rpc: progra....) lackluster Linux - Networking 5 03-20-2003 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:24 AM.

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