Home  >  Article  >  System Tutorial  >  Handling Linux network card startup error: RTNETLINK answers: File exists

Handling Linux network card startup error: RTNETLINK answers: File exists

WBOY
WBOYforward
2024-01-16 10:54:161756browse

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.

Linux网卡无法启动报错RTNETLINK answers: File exists怎么办?

1. Problem description

Under Linux, use the service network restart command to restart the network card , and a restart failure error will appear as shown.

Linux网卡无法启动报错RTNETLINK answers: File exists怎么办?

2. Check the problem details

Use the systemctl status network.service command to view error details.

Linux网卡无法启动报错RTNETLINK answers: File exists怎么办?

3. Cause analysis and solutions

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.

Linux网卡无法启动报错RTNETLINK answers: File exists怎么办?

Restart network service

service network restart

Linux网卡无法启动报错RTNETLINK answers: File exists怎么办?

Check the network card status, active is normal

systemctl status network.service

Linux网卡无法启动报错RTNETLINK answers: File exists怎么办?

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!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete