停止NetworkManager:
systemctl stop NetworkManager
systemctl disable NetworkManager
显示:
Removed symlink /e。tc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /e。tc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.
Removed symlink /e。tc/systemd/system/multi-user.target.wants/NetworkManager.service.
或
/e。tc/sysconfig/network
NM_CONTROLLED=no
生效:
service network restart 或
/e。tc/init.d/network restart
参考:
http://blog.51cto.com/addam/1839518
https://unix.stackexchange.com/questions/396096/centos-7-network-service-failed-to-start-because-systemd-starts-the-daemon-too
http://www.mustbegeek.com/configure-static-ip-address-in-centos/
========
错误信息:
systemctl -l status network.service
5月 29 08:48:41 localhost systemd[1]: network.service: control process exited, code=exited status=1
5月 29 08:48:41 localhost systemd[1]: Failed to start LSB: Bring up/down networking.
5月 29 08:48:41 localhost systemd[1]: Unit network.service entered failed state.
5月 29 08:48:41 localhost systemd[1]: network.service failed.
[
本帖最后由 linda 于 2018-5-29 17:56 编辑 ]