Monday, September 6, 2010

How to fix apache the problem i faced!!!!!!!!

While trying ti install moinmoin a python based wiki engine i faced a weird problem with apache server after installtion when i tried to restart apaches it displayed a n error like this.....

* 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 ServerName


This is how i solved the problem.....


ganesh@linux:~$ sudo kate /etc/apache2/httpd.conf

am now using kubuntu so i used kate as text editor instead of kate u can use gedit,vi etc

By default httpd.conf file will be blank. Now, simply add the following line to the file.
ServerName localhost
Save and exit the text editor
Now restart the apache using the command

sudo /etc/init.d/apache2 restart

my screenshots are given below discard the errors shown while opening the file with kate k....







Happy Hacking.............

No comments:

Post a Comment