After modifying the network card parameter configuration on the Linux host, the network card often restarts. Sometimes the network card restarts and an error RTNETLINK answers: File exists, what is the reason? Please see the introduction below for details.
Under Linux, use the service network restart command to restart the network card , and a restart failure error will appear as shown.
Use the systemctl status network.service command to view error details.
This kind of error is usually caused by a conflict with the NetworkManager service. Just close the NetworkManger service directly, service NetworkManager stop,and disable starting systemctl disable NetworkManager at boot.
Restart network service
service network restart
Check the network card status, active is normal
systemctl status network.service
Precautions:
Use the command systemctl disable NetworkManager on Centos7 to turn off auto-start
The above is the detailed content of Handling Linux network card startup error: RTNETLINK answers: File exists. For more information, please follow other related articles on the PHP Chinese website!