You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Narendra Verma <na...@impetus.co.in> on 2008/04/30 08:44:03 UTC
[users@httpd] giving the problem to start httpd process.
Hi all,
My configuration like this :
<VirtualHost _default_:3080>
.............
ServerName impetus-887.impetus.co.in:3080
..............
</VirtualHost>
When I start ./apachectl start then it gives :
-bash-3.00$ ./apachectl start
Syntax error on line 410 of /export/home/qa_eng/Apache/install/Apache2.2.8/conf/httpd.conf:
Could not resolve address '255.255.255.255' -- check resolver configuration.
-bash-3.00$
But when I configure it like :
<VirtualHost impetus-887.impetus.co.in :3080>
.............
ServerName impetus-887.impetus.co.in:3080
..............
</VirtualHost>
Then it runs successfully.
So question is why this '_default_' option is taking '255.255.255.255' this address instead of real address of apache installation machine.
Any help?
Thanks Narendra
Re: [users@httpd] giving the problem to
start httpd process.
Posted by Davide Bianchi <da...@onlyforfun.net>.
Narendra Verma wrote:
> Hi all,
> My configuration like this :
> <VirtualHost _default_:3080>
> ServerName impetus-887.impetus.co.in:3080
> </VirtualHost>
The server name should not contains any port number, is the serve NAME.
> Syntax error on line 410 of
> /export/home/qa_eng/Apache/install/Apache2.2.8/conf/httpd.conf:
>
> Could not resolve address '255.255.255.255' -- check resolver configuration.
Your ns library can't return a result for "what's my default hostname?"
hence the error. Check in /etc/nsswitch.conf what you have for DNS,
eventually, enable the DNS.
Davide
--
Windows XP: Technology by NT, interface by Fisher-Price
---------------------------------------------------------------------
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