The following error while restarting the Apache server on Ubuntu Oneiric.
$ sudo /etc/init.d/apache2 restart* Restarting web server apache2 apache2: Could not reliably determine the servers fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the servers fully qualified domain name, using 127.0.1.1 for ServerName
Solution: add ServerName directive to /etc/apache2/httpd.conf
$ sudo vi /etc/apache2/httpd.confBy default httpd.conf file will be blank. Now, simply add the following line to the file.
ServerName localhost
Save the file and exit vi (or gedit).
Finally restart the server.
$ sudo service apache2 restart
0 komentar:
Posting Komentar