繁体   English   中英

无法打开配置文件 /etc/apache2/apache2.conf: No such file or directory

[英]Could not open configuration file /etc/apache2/apache2.conf: No such file or directory

我刚刚安装了 Ubuntu 并从 LAMP 开始。

我安装了它并且它运行良好,直到我安装了 uTorrent。 然后在本地主机没有打开之后我尝试停止 apache 并再次重新启动它。

我用过 - sudo service apache2 restart

现在这个错误来了 - 无法打开配置文件 /etc/apache2/apache2.conf: No such file or directory

我查了一下,没有这个名字的文件。

已安装的 uTorrent 正在 8080 端口上运行...会不会有问题?

我真的不知道该怎么办。

是否有 /etc/apache2/httpd.conf ?

如果有,请查看其中的内容,查看其中包含的内容,即查找以下内容:

Include /etc/apache2/apache2.conf

基本上,由于 conf 文件中的Include指令中的路径名不正确,会引发错误

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM