|
Just want to make that I got it right.
1. SUNRPC was built-in to the Kernel
[root at RHFC3-1PAG01 linux-2.6.12]# cat .config | grep SUNRPC
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
2. Update /etc/init.d/rpcidmapd script to avoid check for SUNRPC module.
I modified /etc/inint.d/rpcidmapd file so it does not do exit 1 if no sunrpc
was found
# 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
}
3. Now message that I'm getting looks different (I added some extra
commets):
Make sure the daemon is not already running.
Starting NFS4 idmapd:
Load sunrpc which mounts the rpc_pipes fs.
FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc
Make sure the mount worked.
Error: RPC MTAB does not exist.
Note:
There is /etc/mtab file, but I'm not sure if it is related to this process
or not.
4. idmapd demon is not working:
[root at RHFC3-1PAG01 init.d]# ./rpcidmapd status
rpc.idmapd is stopped
[root at RHFC3-1PAG01 init.d]# ps -ef | grep idmap
root 3519 3124 0 11:47 pts/3 00:00:00 grep idmap
5. Here are the questions that I have:
A) In the stage where I have just my Kernel and did not configured any thing
else. Can someone give the definite answer if both "SUNRPC" and "RPC MTAB"
type error messages can be ignored?
B) If this messages can be ignored, then problems arise because rpc.idmapd
demon does not start because of these errors. What should be done then?
Your comments and help will be appreciated greatly.
Best regards,
Rinat
-----Original Message-----
From: J. Bruce Fields [mailto:bfields at fieldses.org]
Sent: Friday, July 01, 2005 3:01 PM
To: yangurazov, rinat
Cc: nfsv4 at linux-nfs.org
Subject: Re: "Starting NFSv4 idmapd: FATAL: Module sunrpc not found." mes
sage at boot time - follow-up
On Fri, Jul 01, 2005 at 02:58:16PM -0400, yangurazov, rinat wrote:
> Does it mean that message: "Starting NFSv4 idmapd: FATAL: Module sunrpc
not
> found." can be totally ignored?
You do need to make sure that idmapd is run. So you probably to edit
the rpcidmapd initscript to disable the check for the sunrpc module.
> Should I delete /etc/rc.d/rc5.d/S19rpcidmapd -> ../init.d/rpcidmapd link
to
> avoid this message at boot time?
No, don't do that. |
|