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 |
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. |
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. Code:
cat .config | grep SUNRPC Code:
SELinux: initialized (dev nfsd, type nfsd), uses genfs_contexts Code:
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0 Thanks MoreCoffeee |
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 |
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 ] |
All times are GMT -5. The time now is 12:38 AM. |