apache 无法重新启动...突然发生 :/

apache 无法重新启动...突然发生 :/

今天尝试导航到我的服务器,发现我托管的网站都没有加载……即使我输入 IP 并尝试访问默认页面,也什么也得不到。我没有碰过服务器,因为它工作正常,所以我不确定发生了什么。我做了一些小改动,并尝试重新启动 apache,每次我尝试时都会得到以下信息:

jcmo:~# /etc/init.d/apache2 restart
Restarting web server: apache2[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:443 has no VirtualHosts
[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:443 has no VirtualHosts
[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Jul 16 21:13:10 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
 failed!

任何想法都将不胜感激!

答案1

您的挂载中是否还有剩余空间/var/log?日志文件/目录权限是否正常?很多时候其他一切都很好,但与日志相关的某些东西却给 Apache 带来了问题。

相关内容