Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

httpd start up

Posted on 2004-03-25
7
Medium Priority
?
5,888 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 375 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
Python: Series & Data Frames With Pandas

Learn the basics of Python’s pandas library of series & data frames and how we can use these tools for data manipulation.

 
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

Not sure which OpenStack Certification to get?

So you’ve realized you might want to get certified in OpenStack, but you’re not sure what the benefits might be or even which one you should take. You know there are several certification courses you can choose from, but how do you know which one is right for you?

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

722 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