[opensuse-amd64] Apache SSL not working after adding IP and port to listen.conf
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: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
James, There is no way for an IP address to be 258 you can't use anything higher than 255 and that is reserved for broadcasting. You might want to recheck your address. Each octect has a range from 0-255. Hope that is of help. SrA Dominick A. Obermeyer Okinawa, Japan -----Original Message----- From: James D. Parra [mailto:Jamesp@MusicReports.com] Sent: Saturday, July 14, 2007 7:06 AM To: Suse-Linux-E (E-mail); SuSE AMD64 (E-mail) Subject: [opensuse-amd64] Apache SSL not working after adding IP and port to listen.conf 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: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
participants (2)
-
Dominick A Obermeyer
-
James D. Parra