Failed to start apache


Starting httpd:  (99)Cannot assign requested address: make_sock: could not bind to address 24.0.3.7:80
no listening sockets availabe, shutting down
Unale to open logs
[FAILED]
LVL 2
palazziniAsked:
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
0
 
brettmjohnsonCommented:
Either your host has no network interface assigned with the IP address 24.0.3.7,
or there is already an existing process (another HTTP service?) already listening
on port 80.

0
 
itwanlanCommented:
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.
0
 
ravenplCommented:
> 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).
0
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.