環境:centos7系統
問題描述:
[root@localhost Desktop]# systemctl start network.service Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
解決方法:
##1、HWADDR錯誤 ,查到正確的HWADDR輸入ip addr,查詢找到HWADDR
cd /etc/sysconfig/network-scripts 目錄編輯對應的
vim ifcfg-ensXX,將HWADDR設定正確,重啟
service network restart
centos使用教學)
2、IP檢查及設定進入主機cmd 指令窗口,輸入ipconfig / all
cd /etc/sysconfig/network-scripts 目錄編輯對應的
vim ifcfg-ensXX
root@localhost Desktop]# service NetworkManager stop Redirecting to /bin/systemctl stop NetworkManager.service
[root@localhost Desktop]# service network restart Restarting network (via systemctl): [ OK ]
以上是centos系統重啟網路失敗怎麼辦的詳細內容。更多資訊請關注PHP中文網其他相關文章!