LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-22-2010, 05:44 AM   #1
nortonlui
LQ Newbie
 
Registered: Oct 2009
Location: Brazil
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
no rpc.lockd on slackware 13


Hi,

I can't mount nfs directory without option "-o nolock"

NFS server is slackware 11 and client is Slackware 13 (full installation).

I tested with Centos 5.4 and works fine. Using which rpc.lockd print is no rpc.lockd and slackware 11 is /usr/sbin/rpc.lockd.

following services starting on client using rc.rpc ( rpc.statd and rpc.portmap )

Thanks,

Norton Luiz.
 
Old 05-22-2010, 06:22 AM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
rpc.lockd was removed after Slackware 11.
You need to start /etc/rc.d/rc.rpc

Code:
$ mount backend:/mnt/myth/5TB /mnt/tmp/
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
$ rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

$ sh /etc/rc.d/rc.rpc start
Starting RPC portmapper:  /sbin/rpc.portmap
Starting RPC NSM (Network Status Monitor):  /sbin/rpc.statd
$
$ mount backend:/mnt/myth/5TB /mnt/tmp/

$ rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  33807  status
    100024    1   tcp  34357  status
    100021    1   udp  48516  nlockmgr
    100021    3   udp  48516  nlockmgr
    100021    4   udp  48516  nlockmgr
    100021    1   tcp  34679  nlockmgr
    100021    3   tcp  34679  nlockmgr
    100021    4   tcp  34679  nlockmgr
Changelog for Slackware 12
Quote:
n/nfs-utils-1.1.0-i486-1.tgz: Upgraded to nfs-utils-1.1.0. This no longer
tries to use "rpc.lockd" (nor contains it), so be sure to upgrade to the new
versions of the init scripts. Thanks to Jonathan Woithe for the hint about
linking with -lnsl after -lwrap, and for passing along a small patch for a
memory leak in mountd.
 
Old 05-22-2010, 06:25 AM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,682

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
The best way is to make /etc/rc.d/rc.nfsd executable with 'chmod +x /etc/rc.d/rc.nfsd'. All the appropriate NFS daemons will then be started at boot time.
 
  


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 03:14 AM
mountd time out: "mount_nfs: bad MNT RPC: RPC: Timed out" on client brush Debian 1 10-15-2006 03:01 PM
kernel: lockd: couldn't create RPC handle achiko Linux - Networking 1 09-07-2006 10:22 AM
rpc.lockd & rpc.statd twantrd Linux - General 1 05-21-2005 10:24 AM
Unmounting NFS filesystems: Cannot MOUNTPROG RPC: RPC ErnstVikenstein Linux - General 4 05-31-2003 01:10 AM

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

All times are GMT -5. The time now is 06:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration