Install tlinux2.4 System on VMware, and systemctl restart network fails

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.

journalctl -xe

Sep 22 17:36:40 TENCENT64.site systemd[1]: Starting LSB: Bring up/down networking...
-- Subject: Unit network.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit network.service has begun starting up.
Sep 22 17:36:40 TENCENT64.site network[8520]: Bringing up loopback interface:  [  OK  ]
Sep 22 17:36:40 TENCENT64.site network[8520]: Bringing up interface eth0:  RTNETLINK answers: File exists
Sep 22 17:36:40 TENCENT64.site network[8520]: [  OK  ]
Sep 22 17:37:01 TENCENT64.site network[8520]: Bringing up interface eth1:  ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Device eth1 does not s
Sep 22 17:37:01 TENCENT64.site /etc/sysconfig/network-scripts/ifup-eth[8786]: Device eth1 does not seem to be present, delaying initialization.
Sep 22 17:37:01 TENCENT64.site network[8520]: [FAILED]
Sep 22 17:37:01 TENCENT64.site network[8520]: RTNETLINK answers: File exists
Sep 22 17:37:01 TENCENT64.site network[8520]: RTNETLINK answers: File exists
Sep 22 17:37:01 TENCENT64.site network[8520]: RTNETLINK answers: File exists
Sep 22 17:37:01 TENCENT64.site network[8520]: RTNETLINK answers: File exists
Sep 22 17:37:01 TENCENT64.site network[8520]: RTNETLINK answers: File exists
Sep 22 17:37:01 TENCENT64.site network[8520]: RTNETLINK answers: File exists
Sep 22 17:37:01 TENCENT64.site network[8520]: RTNETLINK answers: File exists
Sep 22 17:37:01 TENCENT64.site network[8520]: RTNETLINK answers: File exists
Sep 22 17:37:01 TENCENT64.site network[8520]: RTNETLINK answers: File exists
Sep 22 17:37:01 TENCENT64.site systemd[1]: network.service: control process exited, code=exited status=1
Sep 22 17:37:01 TENCENT64.site 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.
Sep 22 17:37:01 TENCENT64.site systemd[1]: Unit network.service entered failed state.
Sep 22 17:37:01 TENCENT64.site polkitd[12330]: Unregistered Authentication Agent for unix-process:8513:131000987 (system bus name :1.5167, object path 
Sep 22 17:37:01 TENCENT64.site systemd[1]: network.service failed.

resolved:

Find the /etc/sysconfig/network-scripts/ifcfg-eth1

mv /etc/sysconfig/network-scripts/ifcfg-eth1 /tmp

systemctl restart network
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值