Find the answer to your Linux question:
Results 1 to 4 of 4
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 (9 Address already in use: make_sock: could not bind to address [::]:443 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    10

    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

    (9Address already in use: make_sock: could not bind to address [::]:443

    no listening sockets available, shutting down

    Unable to open logs

    root /usr/local/apache2/conf->





    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

    Thanks

    Carl

  2. #2
    Just Joined!
    Join Date
    Apr 2004
    Location
    UK
    Posts
    61
    Are you running anything like portsentry? That could have already bound itself to the port.

    try
    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?

  3. #3
    Just Joined!
    Join Date
    Jun 2004
    Posts
    10
    Apache can start normally when not in SSL mode.

  4. #4
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    You have multiple Listen statements in your apache SSL configuration. You probably have something like:

    Listen 0.0.0.0:443
    . . . (virtualhost definitions)
    Listen 192.168.1.0:443

    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.

    Best,

    Samuel
    I respectfully decline the invitation to join your delusion.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •