Sunday, August 27, 2023

 

Failed to restart network.service: Unit network.service not found” in CENT OS 9

Network scripts are deprecated from Cent OS/Red Hat Enterprise Linux 8 and onward, no longer available by default. The new installation provides ifup and ifdown scripts which call "NetworkManager " service and use nmcli interface to control network manager.

Version:  Linux localhost.localdomain 5.14.0-354.el9.x86_64

 

 

So, you can use network manager instead and nmcli interface.

 

 You may use ifdown/ifup commands. If these commands are not working, Please Install package 'NetworkManager-initscripts-updown' and then try again.

 

 

  Failed to restart network.service: Unit network.service not found” in CENT OS 9 Network scripts are deprecated from Cent OS/Red Hat Ente...