Failed to start LSB: Bring up/down networking

2219 단어 인터넷
k8s를 설치한 후 다음날 기계는putty를 할 수 없습니다. 가상 컴퓨터에 로그인합니다.ping www.baidu.검색
[sysadmin@mycentos01 sysconfig]$ ping www.baidu.com
ping: www.baidu.com:  

네트워크 서버 보기 오류 확인 Failed to start LSB: Bring up/down networking
[root@mycentos01 ~]# systemctl status network
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since   2019-06-06 20:49:56 CST; 43s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2845 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS)
  Process: 3981 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

6  06 20:49:56 mycentos01 network[3981]: RTNETLINK answers: File exists
6  06 20:49:56 mycentos01 network[3981]: RTNETLINK answers: File exists
6  06 20:49:56 mycentos01 network[3981]: RTNETLINK answers: File exists
6  06 20:49:56 mycentos01 network[3981]: RTNETLINK answers: File exists
6  06 20:49:56 mycentos01 network[3981]: RTNETLINK answers: File exists
6  06 20:49:56 mycentos01 network[3981]: RTNETLINK answers: File exists
6  06 20:49:56 mycentos01 systemd[1]: network.service: control process exited, code=exited status=1
6  06 20:49:56 mycentos01 systemd[1]: Failed to start LSB: Bring up/down networking.
6  06 20:49:56 mycentos01 systemd[1]: Unit network.service entered failed state.
6  06 20:49:56 mycentos01 systemd[1]: network.service failed.


해결 방법: 시스템이 자체적으로 가지고 있는 Network Manager라는 관리 세트와 관계가 있기 때문에 끄면 해결할 수 있다.
systemctl stop NetworkManager systemctl disable NetworkManager
[root@mycentos01 network-scripts]# systemctl stop NetworkManager
[root@mycentos01 network-scripts]# systemctl disable NetworkManager
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager-wait-online.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.

네트워크 재부팅:
systemctl start network.service

유효성 검사

좋은 웹페이지 즐겨찾기