How to start Apache Solr automatically?

Windows 7 XAMPP - Can't start apache

  • I have xampp installed on windows 7 but I've never been able to get apache working. When I press the netstat button it shows nothing running on port 80, the logs are completely empty and I don't see anything in the windows event viewer (although I can't seem to get it to show all events by date which it used to do by default, so I could be missing something) This is what the log shows when trying to start apache: 14:27:00 [Apache] Attempting to start Apache app... 14:27:00 [Apache] Status change detected: running 14:27:01 [Apache] Status change detected: stopped 14:27:01 [Apache] Error: Apache shutdown unexpectedly. 14:27:01 [Apache] This may be due to a blocked port, missing dependencies, 14:27:01 [Apache] improper privileges, a crash, or a shutdown by another method. 14:27:01 [Apache] Press the Logs button to view error logs and check 14:27:01 [Apache] the Windows Event Viewer for more clues 14:27:01 [Apache] If you need more help, copy and post this 14:27:01 [Apache] entire log window on the forums

  • Answer:

    Turn off the local (on this computer) firewall? Something could be getting in the way.

missmagenta at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

Still the same with the firewall off

missmagenta

Check your Windows Services to see if IIS is running (World Wide Web Publishing Service). It may have already claimed port 80 for itself.

Eddie Mars

There's nothing on port 80, I even tried changing the port to 8080 and it still wont run.

missmagenta

Unhelpful error message-- could be anything. There are a http://stackoverflow.com/questions/18300377/xampp-apache-error-apache-shutdown-unexpectedly http://stackoverflow.com/questions/13339850/apache-2-4-3-with-xampp-1-8-1-not-starting-in-windows-8 threads on this- all with different solutions.My problem was that in httpd.conf the DocumentRoot and entries were pointing to non-existing folders.

Maxwell_Smart

It wasn't port 80 that was in use it was 443! I thought I'd changed that too but I've been trying to get this running on and off for so long I'd lost track - when I first started trying, it was port 80 that was the problem

missmagenta

Its running now but PHP isn't :( It used to all just work

missmagenta

It's this a new install of XAMPP or did you move it from another machine or location? I had a similar problem a while back and I just needed to run the config script again so it "knew" where its bits and pieces were. Like I said, it was a while ago and I'm on a bus at the moment so I don't know the specific name of the script, but you can look up the directions for moving XAMPP to a different location and it will tell you.

under_petticoat_rule

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.