LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-04-2005, 02:39 AM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
lockdsvc: Function not implemented


Hi all,

When booting Slackware 10.2 with kernel 2.6.13.2 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...

Thanks!

-Y1
 
Old 10-05-2005, 12:27 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,325

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
You did compile nfs server and client feature in kernel right ?

When you start the pc, does it show lockd process running with :
Code:
ps aux | grep lockd
 
Old 10-05-2005, 12:34 PM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
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...

-Y1
 
Old 10-05-2005, 12:35 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,325

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Yes, you could comment the relevant line in rc.inet2

Or much better solution :
Code:
chmod -x  /usr/sbin/rpc.lockd
This way you won't have to edit rc.inet2

Last edited by keefaz; 10-05-2005 at 12:38 PM.
 
Old 10-05-2005, 12:48 PM   #5
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
hmm - maybe the rc.inet2 could have a test ammended:

if [ `uname -r | grep -q '^2\.4' ]; then
/usr/sbin/rpc.lockd
fi

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.

-Y1
 
  


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
QM_MODULES function not implemented pike Linux - General 4 12-22-2005 06:03 AM
Kernel 2.6.0 <=> QM_MODULES: Function not implemented Musikolo Linux - General 14 10-04-2004 09:51 AM
Suse 9.1 QM_MODULE : function not implemented TJiDDY Linux - Distributions 0 06-07-2004 02:03 PM
2.6.3 swapon - function not implemented Sammy2ooo Linux - General 3 03-10-2004 07:08 AM
nfssvc: Function not implemented SiliconBadger Linux - Networking 5 05-14-2002 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:13 PM.

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