Solved

httpd start up

Posted on 2004-03-25
7
5,885 Views
Last Modified: 2013-12-16
Folks,
     Please be patient with the newbie. When I start httpd I get a message " Could not determine server's fully qualified domain name, using 127.0.0.1  for ServerName".  The OS in question is Redhat 9. Can anyone tell me whats happening here and how to correct it?
Thanks in advance......
0
Comment
Question by:Kranston
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 9

Expert Comment

by:Alf666
ID: 10682029
Your box's config does not allow Apache to find your server's FQDN (Fully Qualified Domain Name).

The simplest way here is to edit your httpd.conf (usually in /etc/httpd or /etc/apache) and set the following :

ServerName <your_server_name_or_ip_addr>
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10684568
Also have a check on the /etc/hosts

ensure there are 2 entry

127.0.0.1                 localhost.localdomain             localhost
192.168.0.1             yourserver.yourdomain.com     yourserver               <-- the ip is your internal ip and which assigned into your linux box, unless you use the DHCP



0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 125 total points
ID: 10695578
in httpd.conf you either have a
  ServerName
and/or
  <VirtualHost >
directives  where you use FQDN

As said before: either add the this FQDN in your /etc/hosts (don't forget to use "hosts files dns" in /etc/nsswitch.conf), or use a working name server
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Expert Comment

by:Roach
ID: 10709338
Set the following, substituting your values for what I have entered...

ServerName www.myserver.com
BindAddress 192.168.1.1
port 80

Also, try...

Listen 192.168.1.1:80

take care!
0
 
LVL 1

Expert Comment

by:Roach
ID: 10709339
btw: those go in your httpd.conf file
sorry forgot to mention that.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 10711482
either BindAddress or Listen, but please not both
BTW, Listen is depricated since years ..
0
 

Author Comment

by:Kranston
ID: 10742978
I appreciate all thos e who have replied. I haven't been in a position to touch the box since the 26th and won't be  until about the 7th. I will follow up on your advice and let you know how it goes then
Again....Thanks to all!!
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question