I am trying to run an Apache2 binary with multiple httpd.conf files. I have a server with two NIC cards, each of which is configured and active.
One httpd.conf is listening on the first NIC address.
The second httpd.conf has the second NIC.
Both httpd.conf files specify the Listen address to the NIC's IP and both try to use port 80.
I am trying to start apache with:-
./apachectl -f /usr/local/apache2/conf/httpd.conf
This is fine. However, when I try to start the second with:-
./apachectl -f /usr/local/apache2/conf/httpd.web-mirror.conf
(125)Address already in use: make_sock: could not bind to address 184.108.40.206:80
no listening sockets available, shutting down
Unable to open logs
Can anyone advise me on this ...