FreeRoot123 2022-02-28 10:14 采纳率: 50%
浏览 121
已结题

centos网卡无法启动

 ###### 问题遇到的现象和发生背景

[root@aurora ~]# service network restart
Restarting network (via systemctl):  Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
                                                           [FAILED]
[root@aurora ~]# systemctl status network.service
● 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 Mon 2022-02-28 08:50:43 CST; 1min 8s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 21301 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
    Tasks: 0
   Memory: 0B

Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop systemd[1]: network.service: control process exited, code=exited status=1
Feb 28 08:50:43 aurora.laptop systemd[1]: Failed to start LSB: Bring up/down networking.
Feb 28 08:50:43 aurora.laptop systemd[1]: Unit network.service entered failed state.
Feb 28 08:50:43 aurora.laptop systemd[1]: network.service failed.
[root@aurora ~]# journalctl -xe
Feb 28 08:50:27 aurora.laptop NetworkManager[2876]: <info>  [1646009427.3094] keyfile: update /var/run/NetworkManager/system-connections/br-4e59e455d4cc.nmconnecti
Feb 28 08:50:27 aurora.laptop avahi-daemon[2787]: Withdrawing address record for fe80::42:fff:fe98:91e2 on br-4e59e455d4cc.
Feb 28 08:50:27 aurora.laptop NetworkManager[2876]: <info>  [1646009427.3130] keyfile: update /etc/NetworkManager/system-connections/Ehe (67cf7b5d-bcbd-4f9b-b007-6
Feb 28 08:50:27 aurora.laptop NetworkManager[2876]: <info>  [1646009427.3159] keyfile: update /var/run/NetworkManager/system-connections/eth0.nmconnection (6f3b3fd
Feb 28 08:50:27 aurora.laptop NetworkManager[2876]: <info>  [1646009427.3190] keyfile: update /etc/NetworkManager/system-connections/HUAWEI-8C22 (0fccf24e-41dd-461
Feb 28 08:50:27 aurora.laptop network[21301]: Bringing up loopback interface:  [  OK  ]
Feb 28 08:50:27 aurora.laptop network[21301]: Bringing up interface HUAWEI-8C22:  ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Device name does not seem t
Feb 28 08:50:27 aurora.laptop /etc/sysconfig/network-scripts/ifup-eth[21477]: Device name does not seem to be present.
Feb 28 08:50:27 aurora.laptop network[21301]: [FAILED]
Feb 28 08:50:27 aurora.laptop network[21301]: Bringing up interface Ling:  ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Device name does not seem to be pr
Feb 28 08:50:27 aurora.laptop /etc/sysconfig/network-scripts/ifup-eth[21503]: Device name does not seem to be present.
Feb 28 08:50:27 aurora.laptop network[21301]: [FAILED]
Feb 28 08:50:29 aurora.laptop network[21301]: Bringing up interface MI_6:  wlan0 (phy #0): failed to connect, status: 1: Unspecified failure
Feb 28 08:50:35 aurora.laptop network[21301]: Determining IP information for wlan0... failed; no link present.  Check cable?
Feb 28 08:50:35 aurora.laptop network[21301]: [FAILED]
Feb 28 08:50:37 aurora.laptop network[21301]: Bringing up interface Welcome:  wlan0 (phy #0): failed to connect, status: 1: Unspecified failure
Feb 28 08:50:42 aurora.laptop network[21301]: Determining IP information for wlan0... failed; no link present.  Check cable?
Feb 28 08:50:42 aurora.laptop network[21301]: [FAILED]
Feb 28 08:50:42 aurora.laptop NetworkManager[2876]: <info>  [1646009442.8860] policy: set 'eth0' (eth0) as default for IPv4 routing and DNS
Feb 28 08:50:42 aurora.laptop network[21301]: Bringing up interface eth0:  [  OK  ]
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop network[21301]: RTNETLINK answers: File exists
Feb 28 08:50:43 aurora.laptop systemd[1]: network.service: control process exited, code=exited status=1
Feb 28 08:50:43 aurora.laptop 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.
Feb 28 08:50:43 aurora.laptop systemd[1]: Unit network.service entered failed state.
Feb 28 08:50:43 aurora.laptop systemd[1]: network.service failed.
Feb 28 08:50:43 aurora.laptop polkitd[2795]: Unregistered Authentication Agent for unix-process:21293:58322678 (system bus name :1.3568, object path /org/freedeskt
Feb 28 08:51:08 aurora.laptop dhclient[6521]: XMT: Solicit on wlan0, interval 118360ms.

请问这是什么问题呢

  • 写回答

3条回答 默认 最新

  • IT民工金鱼哥 运维领域新星创作者 2022-02-28 10:26
    关注

    查日志,最好还是去看/var/log/messages 下的。
    然后我看你的命令日志,有个报错 /etc/sysconfig/network-scripts/ifup-eth Device name does not seem to be present.
    你的配置文件连接,是不是有问题?? 配置文件是 ifup-eth ?
    看看你的配置文件名是否正确,还有你里面的配置。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 3月9日
  • 已采纳回答 3月1日
  • 创建了问题 2月28日

悬赏问题

  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法