this is due to cpanel enabled network service and disable the network manager.
TO fix this issue you need to run the below commands ensure you didn't reboot the server after cpanel installation this commands should be run before the server reboot and immediately after cpanel installation :
Code: Select all
systemctl disable network
systemctl enable NetworkManager
Code: Select all
reboot