Posted By: tristanslater on March 1, 2015, 8:38 pm
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.
(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.
Thanks
Posted By: tristanslater on March 2, 2015, 9:49 pm | Post: 1
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.
Posted By: DaveyJake on March 11, 2015, 11:36 pm | Post: 2
Quote From : tristanslater March 2, 2015, 9:49 pm
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.
Solved my problem!
Posted By: tristanslater on March 11, 2015, 11:55 pm | Post: 3
Quote From : DaveyJake March 11, 2015, 11:36 pm
Quote From : tristanslater March 2, 2015, 9:49 pm
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.
Solved my problem!
Awesome! Glad it helped. Still haven't restarted. I don't tend to very often.