Hello,

I added a new ssl vhosts entry, using a template from a working ssl vhost
and modified it appropriately or so I thought since the other ssl vhosts
that are on the system are working correctly, however when I reload
rcapache2 I get the following error;

>From .../apache2/error_log;
[error] (EAI 2)Name or service not known: Cannot resolve host name
10.50.40.258 --- ignoring!
~~~~

When I add the IP to listen.conf and attempt to reload, apache fails to load
with the following error:

<snip>
rcapache2 reload;
... [crit] (EAI 2)Name or service not known: alloc_listener: failed to set
up sockaddr for 10.50.40.258
Syntax error on line 25 of /etc/apache2/listen.conf:
Listen setup failed

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
                                                                      unused
<snip>

This is a portion of listen.conf.

<snip>
Listen 80



<IfDefine SSL>
    <IfDefine !NOSSL>
        <IfModule mod_ssl.c>

           #Listen 443
Listen 10.50.40.258:443 <------Line 25 looks okay to me
Listen 10.50.40.252:443
Listen 10.50.40.254:443

        </IfModule>
    </IfDefine>
</IfDefine>
<snip>
~~~~~~

When I remove or comment out line 25, apache starts. Any ideas what is going
wrong? I have two ssl sites that work fine on the same box.

Many thanks in advance.

~James


































-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to