1833877 Members
2373 Online
110063 Solutions
New Discussion

RPC llockmgr service

 
SOLVED
Go to solution
Peter Gillis
Super Advisor

RPC llockmgr service

Hi,
ux11.00 op sys. Would someone please advise on the best way to disable this RPC llockmgr service? I am thinking of editing the /etc/rpc file - comment out the llockmgr line. Is there some other file I should be editing?
Thanks
Maria
3 REPLIES 3
Michael Tully
Honored Contributor

Re: RPC llockmgr service

Hi Maria,

Apparently your supposed to add a 'deny' entry to the inetd.sec file. I've seen one post before on this and I remember that is what it indicated. The syntax could prove a challenge. I don't think just editing the /etc/rpc file is going to work. This file more or less works like /etc/services.

Cheers
Michael
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: RPC llockmgr service

Hi Maria,

Using the /var/adm/inetd.sec file and the man page for 'inetd.sec' as an example to deny a service. The entries in the examples should help. Hopefully this should work.

llockmgr deny

Cheers
Michael
Anyone for a Mutiny ?
Brian Hackley
Honored Contributor
Solution

Re: RPC llockmgr service

Maria,

The NFS File Locking daemon rpc.lockd is what registers that port with the rpcbind. rpc.lockd is used by an NFS client and by the NFS Server. Further details can be found in the book "NFS Illustrated" by Brent Callaghan, the O'Reilly "Managing NFS and NIS" book, or "Optimizing NFS Performance" by HP Press.

If you are NOT using NFS, then stop the NFS Services from running. Use SAM or /sbin/init.d/nfs.server stop and /sbin/init.d/nfs.client stop, then edit disable it in /etc/rc.config.d/nfsconf by setting the NFS_SERVER=0 NFS_CLIENT=0

The earlier posts regarding /var/adm/inetd.sec do not apply to rpc.lockd since the NFS lock manager is not managed by inetd.

Hope that helps,

-> Brian Hackley
Ask me about telecommuting!