Page 1 of 1

Apache not starting

PostPosted: 04. July 2014 16:38
by jncat
My apache does not start. This was the first time trying it.

This is the error that appeared:
Error: Apache shutdown unexpectedly.
16:41:10 [Apache] This may be due to a blocked port, missing dependencies,
16:41:10 [Apache] improper privileges, a crash, or a shutdown by another method.
16:41:10 [Apache] Press the Logs button to view error logs and check
16:41:10 [Apache] the Windows Event Viewer for more clues
16:41:10 [Apache] If you need more help, copy and post this
16:41:10 [Apache] entire log window on the forums

Re: Apache not starting

PostPosted: 07. July 2014 14:17
by Potus001
I'm having a similar problem.
Have it running every day and 1st time I've had a problem.

16:16:57 [main] Initializing Control Panel
16:16:57 [main] Windows Version: Windows 8 64-bit
16:16:57 [main] XAMPP Version: 1.8.2
16:16:57 [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
16:16:57 [main] Running with Administrator rights - good!
16:16:57 [main] XAMPP Installation Directory: "c:\xampp\"
16:16:57 [main] Checking for prerequisites
16:16:57 [main] All prerequisites found
16:16:57 [main] Initializing Modules
16:16:57 [Apache] Problem detected!
16:16:57 [Apache] Port 80 in use by "Unable to open process" with PID 4!
16:16:57 [Apache] Apache WILL NOT start without the configured ports free!
16:16:57 [Apache] You need to uninstall/disable/reconfigure the blocking application
16:16:57 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
16:16:57 [mysql] XAMPP MySQL is already running on port 3306
16:16:57 [main] Enabling autostart for module "Apache"
16:16:57 [main] Enabling autostart for module "MySQL"
16:16:57 [main] Starting Check-Timer
16:16:57 [main] Control Panel Ready
16:16:58 [Apache] Autostart active: starting...
16:16:58 [Apache] Problem detected!
16:16:58 [Apache] Port 80 in use by "Unable to open process" with PID 4!
16:16:58 [Apache] Apache WILL NOT start without the configured ports free!
16:16:58 [Apache] You need to uninstall/disable/reconfigure the blocking application
16:16:58 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
16:16:58 [Apache] Attempting to start Apache app...
16:16:58 [mysql] Autostart aborted: MySQL is already running
16:16:58 [Apache] Status change detected: running
16:17:00 [Apache] Status change detected: stopped
16:17:00 [Apache] Error: Apache shutdown unexpectedly.
16:17:00 [Apache] This may be due to a blocked port, missing dependencies,
16:17:00 [Apache] improper privileges, a crash, or a shutdown by another method.
16:17:00 [Apache] Press the Logs button to view error logs and check
16:17:00 [Apache] the Windows Event Viewer for more clues
16:17:00 [Apache] If you need more help, copy and post this
16:17:00 [Apache] entire log window on the forums
16:17:16 [Apache] Problem detected!
16:17:16 [Apache] Port 80 in use by "Unable to open process" with PID 4!
16:17:16 [Apache] Apache WILL NOT start without the configured ports free!
16:17:16 [Apache] You need to uninstall/disable/reconfigure the blocking application
16:17:16 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
16:17:16 [Apache] Attempting to start Apache app...
16:17:17 [Apache] Status change detected: running
16:17:18 [Apache] Status change detected: stopped
16:17:18 [Apache] Error: Apache shutdown unexpectedly.
16:17:18 [Apache] This may be due to a blocked port, missing dependencies,
16:17:18 [Apache] improper privileges, a crash, or a shutdown by another method.
16:17:18 [Apache] Press the Logs button to view error logs and check
16:17:18 [Apache] the Windows Event Viewer for more clues
16:17:18 [Apache] If you need more help, copy and post this
16:17:18 [Apache] entire log window on the forums

Re: Apache not starting

PostPosted: 07. July 2014 17:23
by JJ_Tagy
Much as the log is telling you, Port 80 is in use. Most likely by a Microsoft Web Server of some sort since it is PID 4 (SYSTEM). A simple search of that line will turn up that conclusion as well as suggestions how to adjust.

Re: Apache not starting

PostPosted: 12. July 2014 12:52
by Potus001
JJ_Tagy wrote:Much as the log is telling you, Port 80 is in use. Most likely by a Microsoft Web Server of some sort since it is PID 4 (SYSTEM). A simple search of that line will turn up that conclusion as well as suggestions how to adjust.


I'm sorry but I am clueless where to start.
Where do I search?

Re: Apache not starting

PostPosted: 12. July 2014 15:30
by JJ_Tagy
Here or google.

If you seriously don't know where to search:
http://lmgtfy.com/?q=Port+80+in+use+pid+4
http://lmgtfy.com/?q=Uninstall+IIS

Re: Apache not starting

PostPosted: 17. July 2014 14:49
by Potus001
I have been using PCs for goodness knows how long and I do know how to use Google Search, which you had not specified in your earlier post, and I have been an apps programmer for some major international companies for a considerable no of years,
However, when it comes to severs, and Apache, I'm clueless.

I am running W 8.1 and I have tried the searches you gave me but unfortunately that was not of much help.