Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: Apache Error !!

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Apache Error !!


    I am trying to do Name Base Hosting. I had done all require setting .
    But when i try to restart the httpd service I am getting an error

    Can someone plese help me out in this issue !!



  2. #2
    [root@server1 ~]# service httpd start
    Starting httpd: (9Address already in use: make_sock: could not bind to address [::]:80
    (9Address already in use: make_sock: could not bind to address
    no listening sockets available, shutting down
    Unable to open logs
    [root@server1 ~]#

    I did chk with port service as well

    [COLOR="green"][root@server1 ]# nmap -sT localhost

    Starting Nmap 4.11 ( http:------Nmap - Free Security Scanner For Network Exploration & Security Audits.] ) at 2010-04-20 16:10 IST
    Interesting ports on <localhost >(
    Not shown: 1663 closed ports
    21/tcp open ftp
    22/tcp open ssh
    25/tcp open smtp
    80/tcp open http

  3. #3
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    You should use 'service httpd restart' to restart your apache server; if it's already running, then the port it uses is in use, and cannot start again. Alternatively you can stop the service with 'service httpd stop' followed by 'service httpd start'.
    Linux user #126863 - see

  4. $spacer_open
  5. #4

    Apache : Address already in use

    Your nmap shows a web server already on port 80. You need to find out what program has that port. If running 'service httpd stop' then running your nmap command again still shows something listening on port 80, you might have another program listening on port 80.

Posting Permissions

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