Why error "open (/var/lib/nfs/statd/state): Permission denied" displayed when starting nfslock service ?

Solution Unverified - Updated -

Issue

  • When starting the nfslock service, it failed with the following error in /var/log/messages:
# grep nfs /var/log/messages
Dec 16 23:02:19 hostname rpc.statd[30388]: open(/var/lib/nfs/statd/state): Permission denied
Dec 16 23:02:19 hostname nfslock: rpc.statd startup failed

Environment

  • Red Hat Enterprise Linux 4 update 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content