Please help an Apache Newbie

Discussion in 'Apache' started by acrym, Jan 16, 2013.

  1. #1
    So.... trying to start my Apache2 server, and I get these errors:

    Could not reliably determine the server's fully qualified domain name, using [00.00.000.0] for ServerName
    no listening sockets available, shutting down
    Unable to open logs

    In the file /etc/httpd/conf/httpd.conf , this is the Listen Directive:



    Listen 12.34.56.78:87 Listen 87#




    ServerName www .e xample. com: 87 (spaced to avoid link restriction)



    Help is greatly appreciated.
     
    acrym, Jan 16, 2013 IP
  2. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #2
    Please confirm you're starting Apache as the root user, and that something isn't already using port 87:

    netstat -atnpl | grep 87
     
    zacharooni, Jan 16, 2013 IP
  3. acrym

    acrym Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I typed in that command and nothing happened.

    I typed in netstat -atnpl without the rest and I get this:

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name
    tcp 0 0 127.0.0.1:25 0.0.0.0:* LIST EN 1446/sendmail: acce
    tcp 0 0 :::22 :::* LIST EN 1388/sshd
    tcp 0 412 ::ffff:74.63.229.6:22 ::ffff:76.27.72.44:56729 ESTA BLISHED 1595/0
     
    acrym, Jan 16, 2013 IP
  4. acrym

    acrym Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Nevermind, i was opening it with notepad and messing up the formatting.
     
    acrym, Jan 17, 2013 IP