Network service fails to start with errors "action: command not found" and "apply_sysctl: command not found"

Solution Verified - Updated -

Issue

  • Network service fails to start
# systemctl restart network
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
  • There are errors such as the below:
Nov 22 15:14:58 fastvm-rhel-7-4-179 network[19354]: ./network-functions: line 14: /etc/init.d/functions: No such file or directory
Nov 22 15:14:58 fastvm-rhel-7-4-179 network[19354]: /etc/rc.d/init.d/network: line 62: apply_sysctl: command not found
Nov 22 15:14:58 fastvm-rhel-7-4-179 network[19354]: /etc/rc.d/init.d/network: line 70: action: command not found
Nov 22 15:14:58 fastvm-rhel-7-4-179 network[19354]: /etc/rc.d/init.d/network: line 127: action: command not found
Nov 22 15:14:58 fastvm-rhel-7-4-179 network[19354]: ./network-functions: line 14: /etc/init.d/functions: No such file or directory
Nov 22 15:14:58 fastvm-rhel-7-4-179 network[19354]: /etc/rc.d/init.d/network: line 155: apply_sysctl: command not found

Environment

  • Red Hat Enterprise Linux 7

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