Keepalived with apache unable to bind interface on Backup server

Posted by davideagle on Server Fault See other posts from Server Fault or by davideagle
Published on 2012-04-30T15:13:07Z Indexed on 2012/06/29 15:18 UTC
Read the original article Hit count: 255

Filed under:
|
|
|

I have two debian 6 servers running keepalived 1.1.20 with one server acting as a Master and the other as a Backup. Both servers host apache 2.4 that have a global Listener on all interfaces on port 80 (Listen *:80) how ever I have some sites that require a listener for port 443 (SSL) and that is configured for each VirtualHost in the Apache config since I do not want every VirtualHost to listen on port 443.

The problem is when I try to start Apache on the Backup machine that does not hold the virtual interface the VirtualHost is supposed to be listening on, I get AH00072: make_sock: could not bind to address 1.1.1.1:443. I know this is expected behavior of Apache.

The real question is are there any known workarounds or solutions to this scenario?

© Server Fault or respective owner

Related posts about apache2

Related posts about ssl