I got the following error on running
sudo /etc/init.d/apache2 restart* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerNameto fix it you need to edit httpd.conf file. type
sudo gedit /etc/apache2/httpd.conf
this will be a blank file by default. simply add the following line.
ServerName localhostsave the file and exit from gedit.
Finally restart the apche
sudo /etc/init.d/apache2 restartThis will probably fix your problem also.
hope it helps...