Enable service `nfs-lock` results in error: No such file or directory

Solution Verified - Updated -

Issue

Getting an error message on trying to enable nfs-lock.service in RHEL 7.1 and higher.

[root@rhel-7.1 ~]# systemctl enable nfs-lock.service
Failed to execute operation: No such file or directory

Environment

  • Red Hat Enterprise Linux (RHEL) 7.1+

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