centos7重启网卡报错
centos7重启网卡报Job for network.service failed because the control process exited with error code 错误
[root@mina0 hadoop]# systemctl restart network Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. [root@mina0 hadoop]# journalctl -xe 10月 26 17:15:57 mina0 network[3308]: 正在打开环回接口: [ 确定 ] 10月 26 17:15:57 mina0 NetworkManager[679]: <info> [1509009357.3386] audit: op="connec 10月 26 17:15:57 mina0 network[3308]: 正在打开接口 ens33: 错误:激活连接失败:No suita 10月 26 17:15:57 mina0 network[3308]: [失败] 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 polkitd[680]: Unregistered Authentication Agent for unix-process 10月 26 17:15:57 mina0 systemd[1]: network.service: control process exited, code=exited 10月 26 17:15:57 mina0 systemd[1]: Failed to start LSB: Bring up/down networking. -- 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. 10月 26 17:15:57 mina0 systemd[1]: Unit network.service entered failed state. 10月 26 17:15:57 mina0 systemd[1]: network.service failed.
解决:
# systemctl stop NetworkManager
# systemctl disable NetworkManager
然后:重启网卡:
# systemctl restart network
# ifconfig
原文链接:https://blog.csdn.net/zenmin2015/article/details/86415656
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY