Linux 我的rPi灯箱上的Apache无缘无故停止工作
我正在编辑/etc/crontab,这时事情变得越来越糟。我不知道为什么,我回滚了对/etc/crontab文件的更改,但apache仍然混乱不堪,我无法访问托管在这台机器上的本地开发网站。当我运行Linux 我的rPi灯箱上的Apache无缘无故停止工作,linux,apache,cron,lamp,raspberry-pi4,Linux,Apache,Cron,Lamp,Raspberry Pi4,我正在编辑/etc/crontab,这时事情变得越来越糟。我不知道为什么,我回滚了对/etc/crontab文件的更改,但apache仍然混乱不堪,我无法访问托管在这台机器上的本地开发网站。当我运行systemctl status apache2.service时,我得到的是: apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vend
systemctl status apache2.service
时,我得到的是:
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-10-04 11:27:33 MDT; 6min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 2413 ExecStart=/usr/sbin/apachectl start (code=exited, status=203/EXEC)
Oct 04 11:27:33 pidev.local systemd[1]: Starting The Apache HTTP Server...
Oct 04 11:27:33 pidev.local systemd[2413]: apache2.service: Failed to execute command: No such file or directory
Oct 04 11:27:33 pidev.local systemd[2413]: apache2.service: Failed at step EXEC spawning /usr/sbin/apachectl: No such file or directory
Oct 04 11:27:33 pidev.local systemd[1]: apache2.service: Control process exited, code=exited, status=203/EXEC
Oct 04 11:27:33 pidev.local systemd[1]: apache2.service: Failed with result 'exit-code'.
Oct 04 11:27:33 pidev.local systemd[1]: Failed to start The Apache HTTP Server.
有什么想法吗?我似乎无法跟踪此处的错误。在回滚更改后,您确实重新启动了系统,是吗?(无需回复)。祝你好运是的,我重新启动了很多次-(