dhcp服务开启失败

阿阿阿阿晨 5cm2022-04-182099 次点击
错误如下:
● isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
Active: failed (Result: exit-code) since Mon 2022-04-18 18:23:09 CST; 7min ago
Docs: man:systemd-sysv-generator(8)
Process: 4246 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
CPU: 92ms

4月 18 18:23:07 raspberrypi dhcpd[4259]: before submitting a bug. These pages explain the proper
4月 18 18:23:07 raspberrypi dhcpd[4259]: process and the information we find helpful for debugging.
4月 18 18:23:07 raspberrypi dhcpd[4259]:
4月 18 18:23:07 raspberrypi dhcpd[4259]: exiting.
4月 18 18:23:09 raspberrypi isc-dhcp-server[4246]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ...
4月 18 18:23:09 raspberrypi isc-dhcp-server[4261]: failed!
4月 18 18:23:09 raspberrypi isc-dhcp-server[4262]: failed!
4月 18 18:23:09 raspberrypi systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE
4月 18 18:23:09 raspberrypi systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
4月 18 18:23:09 raspberrypi systemd[1]: Failed to start LSB: DHCP server.
应该是/etc/init.d/isc-dhcp-server文件下载下来就是错误的 请问怎么修改这个文件呢?
收藏 ♥ 感谢
Spoony 小组长 2022-04-18 
用这个修改密码的方法类似的,看看能不能进到系统修改文件。
https://shumeipai.nxez.com/2017/02/17/how-to-reset-a-forgotten-raspberry-pi-password.html

登录注册 后可回复。