LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-19-2008, 10:48 PM   #1
kustomjs
Member
 
Registered: Apr 2007
Posts: 37

Rep: Reputation: 15
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
 
Old 05-19-2008, 11:49 PM   #2
bipinkdas
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat,Trustix,Fedora
Posts: 52

Rep: Reputation: 15
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
 
Old 05-20-2008, 12:37 AM   #3
kustomjs
Member
 
Registered: Apr 2007
Posts: 37

Original Poster
Rep: Reputation: 15
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.
 
Old 05-20-2008, 01:48 AM   #4
kustomjs
Member
 
Registered: Apr 2007
Posts: 37

Original Poster
Rep: Reputation: 15
~bump~~~~~~~~~~
 
Old 05-20-2008, 01:16 PM   #5
kustomjs
Member
 
Registered: Apr 2007
Posts: 37

Original Poster
Rep: Reputation: 15
~~~bump again~~~
 
Old 11-16-2008, 06:22 PM   #6
TopNob
LQ Newbie
 
Registered: Nov 2008
Location: Melbourne
Distribution: Ubuntu, Xubuntu and Centos
Posts: 1

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
Webmin httpd.conf get 403 error craig_panama Linux - Server 4 02-23-2008 04:57 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
httpd.conf Syntax error tommytomato Linux - Newbie 2 05-25-2004 05:10 AM
httpd.conf error hrc Linux - Software 4 07-07-2003 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration