Getting Error On Ubuntu Server 7.10 about HTTPD.conf
hi guys
I am getting this error:im getting a error of apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName httpd (no pid file) not running apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName |
Getting Error On Ubuntu Server 7.10 about HTTPD.conf
Hi
This means you should have a FQDN (A valid domain name ) for the server and it should be specified in the httpd.conf file. And this is not an error its just a warning to show that you need this. The server will be already up. Try the following netstat -ntlp | grep 80 Check out whether 80 Port is listening |
now I am getting this [error] (EAI 2) Name or Service Not known: Failed to resolve name for 192.168.1.X (check DNS)
and also [Warn] NameVirtualHost at 192.168.1.X has no virtual host. |
~bump~~~~~~~~~~
|
~~~bump again~~~
|
This is an easy fix, all you have to do is add one of the following lines into the /etc/apache2/httpd.conf file:
ServerName localhost or ServerName nameofserver |
All times are GMT -5. The time now is 07:17 PM. |