Hello,
I'm having an issue with Apache not starting on a band new install of Mac OS X Yosemite (10.10.2). I followed the advice of several threads and here's where I'm at so far.
I ran:
Code
sudo /Applications/AMPPS/apache/bin/httpd
and:
Code
sudo /Applications/AMPSS/apache/bin/httpd -k start
and both gave the same result:
Code
(48)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(48)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
What I've tried:
1. I tried (as suggested somewhere in here) stopping a pre-existing apache with:
Code
sudo apachectl stop
I get:
Code
/System/Library/LaunchDaemons/org.apache.httpd.plist: Could not find specified service
2. One place said to try hunting down what is using port 80 by using:
Code
sudo lsof | grep LISTEN
I couldn't see port 80 anywhere, but I read that maybe :http is the same? I then used ps [pid] on any commands that were run on :httpd and all it says under command is httpd, which I'm guess is in fact apache? But I don't know how to stop them.
I have found something that works...at least for now. I have not tried restarting yet, so we'll see if it is permanent, but I found on another thread:
Code
sudo killall httpd
After this, AMPPS worked.
ref: http://www.softaculous.com/board/index.php?tid=7235