Page 1 of 1

Apache stops automatically

PostPosted: 27. October 2012 18:33
by hhhlga89
Hello, I installed xamp 1.8.1 and when I went to start Apache in the control panel, I pressed start and 2 seconds later it stops running. The control panel says this:

1:24:18 PM [Apache] Attempting to start Apache app...
1:24:18 PM [Apache] Status change detected: running
1:24:19 PM [Apache] Status change detected: stopped
1:24:19 PM [Apache] Error: Apache shutdown unexpectedly.
1:24:19 PM [Apache] This may be due to a blocked port, missing dependencies,
1:24:19 PM [Apache] improper privileges, a crash, or a shutdown by another method.
1:24:19 PM [Apache] Check the "/xampp/apache/logs/error.log" file
1:24:19 PM [Apache] and the Windows Event Viewer for more clues

I am, however, able to start Mysql just fine...can anyone please tell me how I can fix this problem? I tried searching for the "/xampp/apache/logs/error.log" file, but I could not find it. Thank you, for any help.

Re: Apache stops automatically

PostPosted: 27. October 2012 18:42
by hackattack142
Could you post the entire control panel log

Also, do you have the dependencies installed like: http://www.microsoft.com/en-us/download ... px?id=5582

Re: Apache stops automatically

PostPosted: 27. October 2012 21:18
by hhhlga89
i think this is what you mean

1:14:38 PM [main] Initializing Control Panel
1:14:38 PM [main] Windows Version: Windows 7 Home Premium SP1 64-bit
1:14:38 PM [main] XAMPP Version: 1.8.1
1:14:38 PM [main] Control Panel Version: 3.1.0 3.1.0 [ Compiled: September 20th 2012 ]
1:14:38 PM [main] Running with Administrator rights - good!
1:14:38 PM [main] XAMPP Installation Directory: "c:\xampp\"
1:14:38 PM [main] Checking for prerequisites
1:14:38 PM [main] All prerequisites found
1:14:38 PM [main] Initializing Modules
1:14:38 PM [Apache] Problem detected!
1:14:38 PM [Apache] Port 80 in use by "system"!
1:14:38 PM [Apache] Apache WILL NOT start without the configured ports free!
1:14:38 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
1:14:38 PM [Apache] or reconfigure Apache to listen on a different port
1:14:38 PM [main] Starting Check-Timer
1:14:38 PM [main] Control Panel Ready
1:14:40 PM [Apache] Attempting to start Apache app...
1:14:41 PM [Apache] Status change detected: running
1:14:41 PM [Apache] Status change detected: stopped
1:14:41 PM [Apache] Error: Apache shutdown unexpectedly.
1:14:41 PM [Apache] This may be due to a blocked port, missing dependencies,
1:14:41 PM [Apache] improper privileges, a crash, or a shutdown by another method.
1:14:41 PM [Apache] Check the "/xampp/apache/logs/error.log" file
1:14:41 PM [Apache] and the Windows Event Viewer for more clues

and i did not try installing that, i will and let you know what happens, thanks.

Re: Apache stops automatically

PostPosted: 28. October 2012 15:38
by hackattack142
1:14:38 PM [Apache] Problem detected!
1:14:38 PM [Apache] Port 80 in use by "system"!
1:14:38 PM [Apache] Apache WILL NOT start without the configured ports free!
1:14:38 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
1:14:38 PM [Apache] or reconfigure Apache to listen on a different port


That is your issue. As is says, Apache will not start unless you free up that port or make Apache listen on a different port. System usually means a Windows Service is using that port. Make sure you do not have IIS or IIS Components like World Wide Publishing service running.