Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Apache won't start



Threaded Mode | Print  

 Apache won't start, Apache won't start (3 Replies, Read 21497 times)
tristanslater
Group: Member
Post Group: Newbie
Posts: 3
Status:
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.

Thanks
IP: --   

Apache won't start
tristanslater
Group: Member
Post Group: Newbie
Posts: 3
Status:
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.
IP: --   

Apache won't start
DaveyJake
Group: Member
Post Group: Newbie
Posts: 2
Status:
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!
IP: --   

Apache won't start
tristanslater
Group: Member
Post Group: Newbie
Posts: 3
Status:
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.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 10:13 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.047