Failed to start apache

Posted on 2006-04-24
Medium Priority
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

ID: 16530766
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

ID: 16531136
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

Gabriel Orozco earned 2000 total points
ID: 16531456
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

ID: 16531895
> 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).

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

839 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