I have just installed this server with Ubuntu server 12.10 and then installed Apache2, however now when I run service apache2 reload or service apache2 restart it claims to have suceeded in updating but actually, it does not update, here is the problem:
root@sbh1:/etc/apache2# a2dissite 000-default
Site default already disabled
root@sbh1:/etc/apache2# a2dissite default-ssl
Site default-ssl disabled.
To activate the new configuration, you need to run:
service apache2 reload
root@sbh1:/etc/apache2# service apache2 reload
* Reloading web server config [Fri Nov 09 17:00:19 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[ OK ]
root@sbh1:/etc/apache2# service apache2 restart
* Restarting web server apache2 [Fri Nov 09 17:00:23 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
... waiting .[Fri Nov 09 17:00:26 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
[ OK ]
root@sbh1:/etc/apache2#
root@sbh1:/etc/apache2# ll sites-enabled
total 8
drwxr-xr-x 2 root root 4096 Nov 9 17:00 ./
drwxr-xr-x 7 root root 4096 Nov 9 16:59 ../
root@sbh1:/etc/apache2# wget localhost
--2012-11-09 17:00:36-- http://localhost/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 177 [text/html]
Saving to: `index.html.1'
100%[===================================================================================================================================================================================================>] 177 --.-K/s in 0s
2012-11-09 17:00:36 (46.2 MB/s) - `index.html.1' saved [177/177]
root@sbh1:/etc/apache2#
Why is the default site still broadcasting? If I enable other sites they do not start broadcasting either.
httpd.confand000-default? – Chris Down Nov 9 '12 at 17:17apachectl -Sandnetstat -tlnp|grep -w 80? Is the shown PID actually a httpd-process? – Nils Nov 9 '12 at 21:28