XAMPP Apache Server Failed to start V 1.8

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP Apache Server Failed to start V 1.8

Postby poulav » 18. March 2015 05:57

Hi,
I am unable to start the apache server from control panel. Please help. I have seen the previous discussion in this forum on a similar topic but still the errors persists. Here is my log :

10:11:26 AM [main] Initializing Control Panel
10:11:26 AM [main] Windows Version: Windows 8 32-bit
10:11:26 AM [main] XAMPP Version: 1.8.3
10:11:26 AM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
10:11:26 AM [main] Running with Administrator rights - good!
10:11:26 AM [main] XAMPP Installation Directory: "c:\xampp\"
10:11:26 AM [main] Checking for prerequisites
10:11:26 AM [main] All prerequisites found
10:11:26 AM [main] Initializing Modules
10:11:26 AM [Apache] Problem detected!
10:11:26 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!
10:11:26 AM [Apache] Apache WILL NOT start without the configured ports free!
10:11:26 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
10:11:26 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
10:11:26 AM [main] Starting Check-Timer
10:11:26 AM [main] Control Panel Ready
10:11:29 AM [Apache] Problem detected!
10:11:29 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!
10:11:29 AM [Apache] Apache WILL NOT start without the configured ports free!
10:11:29 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
10:11:29 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
10:11:29 AM [Apache] Attempting to start Apache app...
10:11:29 AM [Apache] Status change detected: running
10:11:31 AM [Apache] Status change detected: stopped
10:11:31 AM [Apache] Error: Apache shutdown unexpectedly.
10:11:31 AM [Apache] This may be due to a blocked port, missing dependencies,
10:11:31 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:11:31 AM [Apache] Press the Logs button to view error logs and check
10:11:31 AM [Apache] the Windows Event Viewer for more clues
10:11:31 AM [Apache] If you need more help, copy and post this
10:11:31 AM [Apache] entire log window on the forums
10:11:35 AM [Apache] Installing service...
10:11:36 AM [Apache] Successful!
10:11:40 AM [mysql] Installing service...
10:11:41 AM [mysql] Successful!
10:11:44 AM [filezilla] Setting Service Name...
10:11:44 AM [filezilla] Setting Service Display Name...
10:11:44 AM [filezilla] Installing service...
10:11:44 AM [filezilla] Service was NOT (un)installed!
10:11:50 AM [filezilla] Setting Service Name...
10:11:50 AM [filezilla] Setting Service Display Name...
10:11:50 AM [filezilla] Installing service...
10:11:50 AM [filezilla] Successful!
10:11:57 AM [Tomcat] Installing service...
10:11:57 AM [Tomcat] Service was NOT (un)installed!
10:12:02 AM [Tomcat] Installing service...
10:12:03 AM [Tomcat] Service was NOT (un)installed!
10:12:05 AM [Apache] Problem detected!
10:12:05 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!
10:12:05 AM [Apache] Apache WILL NOT start without the configured ports free!
10:12:05 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
10:12:05 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
10:12:05 AM [Apache] Attempting to start Apache service...
10:12:08 AM [Apache] Status change detected: running
10:12:08 AM [Apache] Status change detected: stopped
10:12:08 AM [Apache] Error: Apache shutdown unexpectedly.
10:12:08 AM [Apache] This may be due to a blocked port, missing dependencies,
10:12:08 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:12:08 AM [Apache] Press the Logs button to view error logs and check
10:12:08 AM [Apache] the Windows Event Viewer for more clues
10:12:08 AM [Apache] If you need more help, copy and post this
10:12:08 AM [Apache] entire log window on the forums
10:15:09 AM [Apache] Attempting to start Apache service...
10:15:11 AM [Apache] Status change detected: running
10:15:17 AM [Apache] Status change detected: stopped
10:15:17 AM [Apache] Error: Apache shutdown unexpectedly.
10:15:17 AM [Apache] This may be due to a blocked port, missing dependencies,
10:15:17 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:15:17 AM [Apache] Press the Logs button to view error logs and check
10:15:17 AM [Apache] the Windows Event Viewer for more clues
10:15:17 AM [Apache] If you need more help, copy and post this
10:15:17 AM [Apache] entire log window on the forums
10:15:24 AM [Apache] Attempting to start Apache service...
10:15:26 AM [Apache] Status change detected: running
10:15:30 AM [Apache] Status change detected: stopped
10:15:30 AM [Apache] Error: Apache shutdown unexpectedly.
10:15:30 AM [Apache] This may be due to a blocked port, missing dependencies,
10:15:30 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:15:30 AM [Apache] Press the Logs button to view error logs and check
10:15:30 AM [Apache] the Windows Event Viewer for more clues
10:15:30 AM [Apache] If you need more help, copy and post this
10:15:30 AM [Apache] entire log window on the forums
10:18:49 AM [Apache] Attempting to start Apache service...
10:18:51 AM [Apache] Status change detected: running
10:18:55 AM [Apache] Status change detected: stopped
10:18:55 AM [Apache] Error: Apache shutdown unexpectedly.
10:18:55 AM [Apache] This may be due to a blocked port, missing dependencies,
10:18:55 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:18:55 AM [Apache] Press the Logs button to view error logs and check
10:18:55 AM [Apache] the Windows Event Viewer for more clues
10:18:55 AM [Apache] If you need more help, copy and post this
10:18:55 AM [Apache] entire log window on the forums
10:19:11 AM [Apache] Attempting to start Apache service...
10:19:13 AM [Apache] Status change detected: running
10:19:17 AM [Apache] Status change detected: stopped
10:19:17 AM [Apache] Error: Apache shutdown unexpectedly.
10:19:17 AM [Apache] This may be due to a blocked port, missing dependencies,
10:19:17 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:19:17 AM [Apache] Press the Logs button to view error logs and check
10:19:17 AM [Apache] the Windows Event Viewer for more clues
10:19:17 AM [Apache] If you need more help, copy and post this
10:19:17 AM [Apache] entire log window on the forums
10:19:31 AM [Apache] Attempting to start Apache service...
10:19:33 AM [Apache] Status change detected: running
10:19:36 AM [Apache] Status change detected: stopped
10:19:36 AM [Apache] Error: Apache shutdown unexpectedly.
10:19:36 AM [Apache] This may be due to a blocked port, missing dependencies,
10:19:36 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:19:36 AM [Apache] Press the Logs button to view error logs and check
10:19:36 AM [Apache] the Windows Event Viewer for more clues
10:19:36 AM [Apache] If you need more help, copy and post this
10:19:36 AM [Apache] entire log window on the forums
10:20:05 AM [Apache] Attempting to start Apache service...
10:20:07 AM [Apache] Status change detected: running
10:20:11 AM [Apache] Status change detected: stopped
10:20:11 AM [Apache] Error: Apache shutdown unexpectedly.
10:20:11 AM [Apache] This may be due to a blocked port, missing dependencies,
10:20:11 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:20:11 AM [Apache] Press the Logs button to view error logs and check
10:20:11 AM [Apache] the Windows Event Viewer for more clues
10:20:11 AM [Apache] If you need more help, copy and post this
10:20:11 AM [Apache] entire log window on the forums

Hope to get a quick solution from your end.
Thank you,
Poulav Biswas
poulav
 
Posts: 1
Joined: 18. March 2015 05:38
Operating System: Windows 8.1

Re: XAMPP Apache Server Failed to start V 1.8

Postby mark.mcdonald » 18. March 2015 14:26

10:11:26 AM [Apache] Problem detected!
10:11:26 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!

Go to services and find whatever service has a PID = 4 and shut it down / turn it off / kill the process before running apache again.
mark.mcdonald
 
Posts: 160
Joined: 13. March 2015 15:48
Location: Edmonton
Operating System: Windows Server 2012 R2

Re: XAMPP Apache Server Failed to start V 1.8

Postby Altrea » 18. March 2015 19:02

mark.mcdonald wrote:Go to services and find whatever service has a PID = 4 and shut it down / turn it off / kill the process before running apache again.

Badly you cannot simply shutdown Process with PID 4 because it is a system proxy service for sharing common http ports with multiple programs.
[FGA] solving Port 80 in use by PID 4 (HTTP.sys) issue
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 99 guests