LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Getting Error On Ubuntu Server 7.10 about HTTPD.conf (https://www.linuxquestions.org/questions/linux-server-73/getting-error-on-ubuntu-server-7-10-about-httpd-conf-643406/)

kustomjs 05-19-2008 10:48 PM

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

bipinkdas 05-19-2008 11:49 PM

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

kustomjs 05-20-2008 12:37 AM

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.

kustomjs 05-20-2008 01:48 AM

~bump~~~~~~~~~~

kustomjs 05-20-2008 01:16 PM

~~~bump again~~~

TopNob 11-16-2008 06:22 PM

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.