Creating virtual host

Discussion in 'Apache' started by parasuraman, Aug 12, 2010.

  1. #1
    Hi,

    Can some one tell me what's wrong in this,

    http://pastebin.com/8T25zLsH

    i am getting the error,

    [root@localhost ~]# service httpd start
    Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:843
    (13)Permission denied: make_sock: could not bind to address 0.0.0.0:843
    no listening sockets available, shutting down
    Unable to open logs
    [FAILED]


    Thanks
     
    parasuraman, Aug 12, 2010 IP
  2. Legio.XIII.Gemina

    Legio.XIII.Gemina Guest

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    the error you are getting is telling you that port 843 is unavailable for httpd to bind to. Have you run a netstat -o (I like to add "n" to the end of the param list for readability) to verify that port 843 is indeed open?
     
    Legio.XIII.Gemina, Aug 13, 2010 IP
  3. BreezeHost

    BreezeHost Member

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    28
    #3
    Are you using 843 port for apache?
     
    BreezeHost, Aug 13, 2010 IP
  4. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #4
    Is 843 opened in the firewall? If not, you need to open it. Also try changing the Apache secure port to 443 instead of 843 in the Apache configuration and restart the httpd service. Make sure you kill all the httpd(s) connections before starting httpd service. You can list all the running processes using the 'lsof' command.
     
    madaboutlinux, Aug 14, 2010 IP