SystemD 重新启动 DHCPD 错误:[email protected] 作业失败,因为服务未采取其单元配置所需的步骤

SystemD 重新启动 DHCPD 错误:[email protected] 作业失败,因为服务未采取其单元配置所需的步骤

我在 Lenovo thinkpad 上安装了 Arch linux。我有Linux 5.13.13-arch1-1。最近,我的无线网络在启动一段时间后就停止工作。使其再次工作的唯一解决方案是重新启动。当我跑步时我得到:sudo systemctl restart [email protected]

Job for [email protected] failed because the service did not take the steps required by its unit configuration.
See "systemctl status [email protected]" and "journalctl -xeu [email protected]" for details.

输出:systemctl status [email protected]

× [email protected] - dhcpcd on wlan0
     Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled; vendor preset: disabled)
     Active: failed (Result: protocol) since Sat 2021-08-28 01:45:52 CEST; 18s ago
    Process: 19655 ExecStart=/usr/bin/dhcpcd -q -w wlan0 (code=exited, status=0/SUCCESS)
        CPU: 7ms

输出:sudo journalctl -xeu [email protected]

░░ The unit [email protected] has entered the 'failed' state with result 'protocol'.
srp 28 01:24:08 arch-thinkpad systemd[1]: Failed to start dhcpcd on wlan0.
░░ Subject: A start job for unit [email protected] has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit [email protected] has finished with a failure.
░░
░░ The job identifier is 83 and the job result is failed.
srp 28 01:45:52 arch-thinkpad systemd[1]: Starting dhcpcd on wlan0...
░░ Subject: A start job for unit [email protected] has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit [email protected] has begun execution.
░░
░░ The job identifier is 1353.
srp 28 01:45:52 arch-thinkpad systemd[1]: [email protected]: Can't open PID file /run/dhcpcd/wlan0.pid (yet?) after start: >
srp 28 01:45:52 arch-thinkpad systemd[1]: [email protected]: Failed with result 'protocol'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit [email protected] has entered the 'failed' state with result 'protocol'.
srp 28 01:45:52 arch-thinkpad systemd[1]: Failed to start dhcpcd on wlan0.
░░ Subject: A start job for unit [email protected] has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit [email protected] has finished with a failure.
░░
░░ The job identifier is 1353 and the job result is failed.

我应该怎么做才能防止这种情况发生?
谢谢你的帮助

相关内容