Failed to start apache

Starting httpd:  (99)Cannot assign requested address: make_sock: could not bind to address
no listening sockets availabe, shutting down
Unale to open logs
Who is Participating?
Gabriel OrozcoSolution ArchitectCommented:
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
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.

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.
> 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).
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.