Tried navigating to my server today and noticed that NONE of my hosted websites are loading...even if I enter the ip and try to hit the default page I get nothing. I hadn't touched the server since it was working properly so I'm not sure what has happened. I made a couple little changes and tried to restart apache and whenever I try I get this:
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!
Any ideas would be greatly appreciated!
Do you have still space left in the mount that holds
/var/log
? Are the log file/dir permissions OK? Too many times everything else has been fine for me, but something related to logging has bugged Apache.