-   Slackware (
-   -   lockdsvc: Function not implemented (

Yalla-One 10-04-2005 02:39 AM

lockdsvc: Function not implemented
Hi all,

When booting Slackware 10.2 with kernel I get the following error returned by /usr/sbin/rpc.lockd :

lockdsvc: Function not implemented

This is called from /etc/rc.d/rc.inet2, just before the NSM is loaded.

When trying to manually load /usr/sbin/rpc.lockd I get the same error.

Is this due to a bug in rpc.lockd, or can it be caused by me forgetting a setting when compiling my kernel?

The PC on which this happens mounts its user home directories and program directory from an NFS server. NFS functions even though rpc.lockd won't start, but these error messages tend to be bad omens, so I appreciate any insight as to how to fix this.

All other services load perfectly at boot...



keefaz 10-05-2005 12:27 PM

You did compile nfs server and client feature in kernel right ?

When you start the pc, does it show lockd process running with :

ps aux | grep lockd

Yalla-One 10-05-2005 12:34 PM

Thanks for your reply keefaz,

my "ps -ef | grep -i lock" shows :

root 113 5 0 Oct04 ? 00:00:00 [kblockd/0]
root 2969 1 0 Oct04 ? 00:00:00 [lockd]

So what I assume is that lockd is loaded automagically by the kernel, thus rendering rpc.lockd obsolete. Reading the man-page confirms this, as I'm in 2.6 kernel...


keefaz 10-05-2005 12:35 PM

Yes, you could comment the relevant line in rc.inet2

Or much better solution :

chmod -x  /usr/sbin/rpc.lockd
This way you won't have to edit rc.inet2

Yalla-One 10-05-2005 12:48 PM

hmm - maybe the rc.inet2 could have a test ammended:

if [ `uname -r | grep -q '^2\.4' ]; then

That way it still works in 2.4 kernels, and doesn't give a bogus error report in 2.6
Thanks to Larhzu for the grep statement.


All times are GMT -5. The time now is 01:47 AM.