You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by André Warnier <aw...@ice-sa.com> on 2009/01/30 16:32:29 UTC

[users@httpd] Server name

Hi.

Can someone tell me when the following message appears during the Apache 
(2.2.x) startup under Linux, what it exactly means ? (and how to make it 
go away ?).

Forcing reload of web server (apache2)...apache2: Could not reliably 
determine the server's fully qualified domain name, using 
xyz.company.local for ServerName
  waiting apache2: Could not reliably determine the server's fully 
qualified domain name, using xyz.company.local for ServerName
.

(The above was a restart, so I guess the message appears both during the 
shutdown and then the restart)

This server uses name-based VirtualHosts.
In the "main" server section, there is no "ServerName" directive.
There are 2 VirtualHosts defined.
In the first one (meant to be the default "it works!" host, there is
also no ServerName.
In the 2d VirtualHost (the real application one), there is a ServerName 
with the real DNS-resolvable name "xyz.company.local".

Is Apache complaining because it did not have a name in the first 
(default) VirtualHost ?  Or because, despite the fact that it should 
work, because it cannot resolve "xyz.company.local" in the 2d host ?

Thanks


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Server name

Posted by André Warnier <aw...@ice-sa.com>.
Frank Gingras wrote:
> Andre,
> 
> Please see:
> 
> http://wiki.apache.org/httpd/CouldNotDetermineServerName
> 
Many thanks, indeed exactly what I was looking for.
I'll try to remember that wiki in future..

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Server name

Posted by Frank Gingras <fr...@gmail.com>.
Andre,

Please see:

http://wiki.apache.org/httpd/CouldNotDetermineServerName

Frank

André Warnier wrote:
> Hi.
>
> Can someone tell me when the following message appears during the 
> Apache (2.2.x) startup under Linux, what it exactly means ? (and how 
> to make it go away ?).
>
> Forcing reload of web server (apache2)...apache2: Could not reliably 
> determine the server's fully qualified domain name, using 
> xyz.company.local for ServerName
>  waiting apache2: Could not reliably determine the server's fully 
> qualified domain name, using xyz.company.local for ServerName
> .
>
> (The above was a restart, so I guess the message appears both during 
> the shutdown and then the restart)
>
> This server uses name-based VirtualHosts.
> In the "main" server section, there is no "ServerName" directive.
> There are 2 VirtualHosts defined.
> In the first one (meant to be the default "it works!" host, there is
> also no ServerName.
> In the 2d VirtualHost (the real application one), there is a 
> ServerName with the real DNS-resolvable name "xyz.company.local".
>
> Is Apache complaining because it did not have a name in the first 
> (default) VirtualHost ?  Or because, despite the fact that it should 
> work, because it cannot resolve "xyz.company.local" in the 2d host ?
>
> Thanks
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org