LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2007, 09:27 AM   #1
adam_blackice
Member
 
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Rep: Reputation: 32
simple apache questions


hello all

i download and install apache2 but there is aproblem when ever i want to start server this message is appers

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

what is really the problem
 
Old 04-27-2007, 09:51 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
what part of
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
do you not understand?

1. could not ... determin = was not able to automatically find something it was looking for
2. fully quallified domain name = fqdn = something like www.example.com
3. using 127.0.1.1 = instead of the fqdn apache will use this ip address
4. 127.0.1.1 = an ip address the computer uses for your loopback interface
5. ServerName = an apache directive located in your config file :-)

putting all that to gether:
looks like you are missing the ServerName directive or have not given it a value, hence apache tries to fill this directive itself, failed, and so decided to use an ip address that is most definatly valid
 
Old 04-27-2007, 10:28 AM   #3
adam_blackice
Member
 
Registered: Apr 2006
Location: /*Egypt */ //cairo
Distribution: Ubuntu 7.04 , SLED 10 , Fedora , RHEL 5
Posts: 312

Original Poster
Rep: Reputation: 32
thanx i have uncommented the directive "server name " in httpd.conf file
 
Old 04-27-2007, 12:40 PM   #4
Fle><
Member
 
Registered: Dec 2003
Location: Vienna | Austria
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
Quote:
Originally Posted by adam_blackice
hello all
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

what is really the problem
Have you entered the servers name into the /etc/hosts file?

What do you got for:
Code:
$ host localhost;
$ host 127.0.0.1;
$ host <servername>;
$ host <ip-address>;
?
 
  


Reply



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
Apache, MySQL, PHP, a couple simple questions. The_Messiah Linux - Software 3 04-09-2005 05:17 PM
Simple Questions...Hopfully Simple Answers. caps_phisto Linux - General 3 12-21-2004 12:40 PM
Some somewhat simple questions Radical Edward Linux - Newbie 6 12-01-2004 07:20 PM
2 Simple Questions jackp Linux - Newbie 2 09-18-2004 03:44 PM
simple questions yenonn Linux - General 4 08-06-2004 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 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