问题描述
[ root@master1 admin] # systemctl restart network. service
Job for network. service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[ root@master1 admin] # journalctl - xe
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : 正在打开接口 ens33: 错误:连接激活失败:
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : [ 失败]
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : RTNETLINK answers: File exists
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : RTNETLINK answers: File exists
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : RTNETLINK answers: File exists
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : RTNETLINK answers: File exists
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : RTNETLINK answers: File exists
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : RTNETLINK answers: File exists
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : RTNETLINK answers: File exists
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : RTNETLINK answers: File exists
4 月 10 00 : 19 : 28 master1 network[ 3470 ] : RTNETLINK answers: File exists
4 月 10 00 : 19 : 28 master1 systemd[ 1 ] : network. service: control process exited, cod
4 月 10 00 : 19 : 28 master1 systemd[ 1 ] : Failed to start LSB: Bring up/ down networkin
-- Subject : Unit network. service has failed
-- Defined - By : systemd
-- Support : http: / / lists. freedesktop. org/ mailman/ listinfo/ systemd- devel
--
-- Unit network. service has failed.
--
-- The result is failed.
4 月 10 00 : 19 : 28 master1 systemd[ 1 ] : Unit network. service entered failed state.
4 月 10 00 : 19 : 28 master1 systemd[ 1 ] : network. service failed.
4 月 10 00 : 19 : 28 master1 polkitd[ 631 ] : Unregistered Authentication Agent for unix
解决方法
[ root@master1 admin] # service NetworkManager stop
Redirecting to / bin/ systemctl stop NetworkManager . service
[ root@master1 admin] # systemctl restart network. service