httpd: Could not determine the server's fully qualified domain name

O'Neill, Donald (US - Deerfield) dooneill at deloitte.com
Fri Dec 3 14:07:24 UTC 2004


Diego, 

Since Fedora Core 3 comes with Apache 2.0, I assume you installed/compiled 1.3.33 on this machine. Most likely, the httpd daemon in /etc/init.d is pointing to the wrong configuration file. vi this file to verify..   

Otherwise, I can't replicate the problem. In the past, this has been my experience in fixing this. 


1) In the /etc/hosts file, put your FQDN. (You won't have to define a ServerName in httpd.conf)

10.0.0.1	linuxserver.internal.embraer.com.br


2) In /etc/httpd/conf/httpd.conf, change the ServerName ( no changes to /etc/hosts needed)

ServerName linuxserver

   
Hope this helps... 

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of diego.veiga at embraer.com.br
Sent: Thursday, December 02, 2004 1:08 PM
To: redhat-list at redhat.com
Subject: httpd: Could not determine the server's fully qualified domain name






Could please someone help me.
I don't know more where to look for...
OS: Fedora 3


# httpd -v
Server version: Apache/1.3.33 (Unix)
Server built:   Dec  2 2004 15:14:09

# httpd -t
[Thu Dec  2 17:06:41 2004] [alert] httpd: Could not determine the server's
fully qualified domain name, using SERVER_IP for ServerName
Syntax OK

# grep ServerName httpd.conf
ServerName XXXX

# grep XXXX /etc/host
SERVER_IP           XXXX

# more /etc/resolv.conf
; generated by /sbin/dhclient-script
search com.br
nameserver DNS_IP_1
nameserver DNS_IP_2

# nslookup XXXX
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:        XXXX
Address:        XXXX #53

Name:   XXXX .com.br
Address: SERVER_IP


I need the server_name be only the host name without the .com.br for my
intranet.
why does the httpd don't accept this configuration?

Regards,

Diego Brito Veiga


This message is intended solely for the use of its addressee and may
contain privileged  or confidential information.
If you are not the addressee you should not distribute, copy  or file this
message.
In this case, please notify the sender and destroy its contents
immediately.

Esta mensagem é para uso exclusivo de seu destinatário e pode conter
informações privilegiadas e confidenciais.
Se você não é o destinatário não deve distribuir, copiar ou arquivar a
mensagem.
Neste caso, por favor, notifique o remetente da mesma e destrua
imediatamente a mensagem.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message.  Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.




More information about the redhat-list mailing list