Failed to start apache

Posted on 2006-04-24
Last Modified: 2012-08-14

Starting httpd:  (99)Cannot assign requested address: make_sock: could not bind to address
no listening sockets availabe, shutting down
Unale to open logs
Question by:palazzini
    LVL 23

    Expert Comment

    Either your host has no network interface assigned with the IP address,
    or there is already an existing process (another HTTP service?) already listening
    on port 80.


    Expert Comment

    As brettmjohnson was suggestion make sure there are no other services running that will be using port 80.  There could be another instance of apache running or another server such as tomcat or tux.
    LVL 19

    Accepted Solution

    to see if there is other http daemon, use

    netstat -lnp --ip | grep 80

    there must be some line with :80. that's your http server currently running
    LVL 43

    Expert Comment

    > Unable to open logs
    it suggests, that You are trying run apache as regular user (instead of root/superuser). It will not work.
    (Well it could, if You configure apache to use port > 1024 and store logs in some user writeable directory, and run apache children as this same user, and possibly more).

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now