Apache SSL Problem
I keep getting the following when trying tp start my apache server with ssl.
root /usr/local/apache2/conf-> /usr/local/apache2/bin/apachectl startssl
(98)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
I tried to use other ports besides 443 and it still did the same thing. I also checked for other running instances of apache and could not find any other instances.
ps -ef | grep apache
ps -ef | grep http
both don't find anything.
Help is appreciated
Are you running anything like portsentry? That could have already bound itself to the port.
netstat /ln | grep 443
and see if anything is already listed as using that port.
Does apache start normally when not operating in ssl mode or do you still get an error?
Apache can start normally when not in SSL mode.
You have multiple Listen statements in your apache SSL configuration. You probably have something like:
. . . (virtualhost definitions)
The second listen statement will fail because the first one is already listening on all interfaces (0.0.0.0 = all). Once you fix this, it should start without any trouble.