root@FeistySmurf:~# netstat -lnp | grep '0.0.0.0:80'
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2137/httpd
root@FeistySmurf:~# ps
PID TTY TIME CMD
2420 pts/0 00:00:00 bash
2705 pts/0 00:00:00 ps
root@FeistySmurf:~# /etc/init.d/apache2 start
* Starting web server (apache2)...
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
...fail!
root@FeistySmurf:~# /etc/init.d/apache2 restart
* Forcing reload of web server (apache2)...
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd (no pid file) not running
...