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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.