Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Baton Rouge, LA

    Problems with Apache2 Virtual Hosts

    I am trying to migrate a domain to another machine that currently hosts a domain. I am trying to do this with virtual hosts in apache, but can not seem to get it working. I believe my config file is correct, but when I restart apache, i get this error:
    (99)Cannot assign requested address: make_sock: could not bind to address
    no listening sockets available, shutting down
    The IP address is the local IP of the current machine running the domain I am attempting to migrate. Any ideas of what I should look in to at this point? By the way, one domain will only be https (port 443) and the other will only be http (port 80). Thanks in advance for any help.

  2. #2

  3. #3
    1) You're trying to start apache with a non-root account.
    2) You're assigning the same IP address to multiple virtual (or non-virtual) hosts.
    3) There is a process already running that is attached to port 80

    # netstat -an | grep :80
    It should tell you if there is something listening to port 80 already.

  4. $spacer_open

Posting Permissions

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