我也用webmin在旧电脑上设置了ubuntu服务器。我不确定发生了什么,但是我重新启动了服务器,当它启动时,现在可以在Apache尝试启动时得到它。
* Starting web server apache2
apache2: Syntax error on line 237 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory
Action 'start' failed.
The Apache error log may have more information.
我已经在此行检查了此文件,它看起来像这样:
# Include the virtual host configurations:
Include sites-enabled/
我已经删除了Apache并重新安装了它,但不确定为什么它仍然会失败。
正如Qben回答的那样,问题是启用了sites的文件夹中的符号链接无效。删除损坏的符号链接并添加有效的符号链接将解决此问题。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句