Apache stops after starting. No error log file.

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

Apache stops after starting. No error log file.

Postby magic_al » 25. April 2013 15:57

Hi all,

I just set up a Windows 7 VM. I tried to run Apache / Xampp. The attempt produces the following message:

Code: Select all
16:51:40  [Apache]    This may be due to a blocked port, missing dependencies,
16:51:40  [Apache]    improper privileges, a crash, or a shutdown by another method.
16:51:40  [Apache]    Check the "/xampp/apache/logs/error.log" file
16:51:40  [Apache]    and the Windows Event Viewer for more clues


The mentioned log file does not exist. What I already did was to check the famous port 80 problem. I changed the port used within apache to 81 but that resulted in the same kind of error. The installation folder ist 'C:\xampp' as suggested. Can anyone help me out here?

Thanks a lot!
magic_al
 
Posts: 2
Joined: 25. April 2013 15:53
Operating System: Ubuntu

Re: Apache stops after starting. No error log file.

Postby hackattack142 » 26. April 2013 00:27

Hello,

1. Are the Visual C++ 2008 runtimes installed on your system? http://www.microsoft.com/en-us/download ... px?id=5582
2. Could you post the entire Control Panel log window contents?
3. What, if any, errors does Apache show when you try to start it from the batch file (apache_start.bat)?
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Apache stops after starting. No error log file.

Postby magic_al » 26. April 2013 10:10

Well, installing runtimes worked out for me. Thanks for the hint.
magic_al
 
Posts: 2
Joined: 25. April 2013 15:53
Operating System: Ubuntu

Re: Apache stops after starting. No error log file.

Postby denkas » 27. April 2013 08:34

hackattack142 wrote:Hello,

1. Are the Visual C++ 2008 runtimes installed on your system? http://www.microsoft.com/en-us/download/details.aspx?id=5582
2. Could you post the entire Control Panel log window contents?
3. What, if any, errors does Apache show when you try to start it from the batch file (apache_start.bat)?


Downloaded this, installed but still getting error. Something about port beeing used.

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

edit: i went through hell just to open that damned port, so please be nice to me and explain to me simply.
Thank's in advance to anyone that will support.
denkas
 
Posts: 1
Joined: 27. April 2013 08:29
Operating System: Windows 7 SP1 x64

Re: Apache stops after starting. No error log file.

Postby hackattack142 » 28. April 2013 20:10

Hello,

PID 4 is typically the System process which means that a Windows Service is most likely using that port.

It is typically either IIS or and IIS related component. One common one is World Wide Web Publishing Service.

You also have the option of reconfiguring Apache to use a different port if you are unable to find what is blocking it.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Apache stops after starting. No error log file.

Postby tomown » 30. June 2013 19:24

hackattack142 wrote:Hello,

PID 4 is typically the System process which means that a Windows Service is most likely using that port.

It is typically either IIS or and IIS related component. One common one is World Wide Web Publishing Service.

You also have the option of reconfiguring Apache to use a different port if you are unable to find what is blocking it.


Had the same issue, disabling this service resolved it.
tomown
 
Posts: 1
Joined: 30. June 2013 19:21
Operating System: CheesePlatter

Re: Apache stops after starting. No error log file.

Postby riyas » 01. July 2013 07:28

11:51:11 [Apache] Error: Apache shutdown unexpectedly.
11:51:11 [Apache] This may be due to a blocked port, missing dependencies,
11:51:11 [Apache] improper privileges, a crash, or a shutdown by another method.
11:51:11 [Apache] Press the Logs button to view error logs and check
11:51:11 [Apache] the Windows Event Viewer for more clues
11:51:11 [Apache] If you need more help, copy and post this
11:51:11 [Apache] entire log window on the forums
riyas
 
Posts: 1
Joined: 01. July 2013 07:23
Operating System: windows 8 64 bit

Re: Apache stops after starting. No error log file.

Postby Altrea » 01. July 2013 11:08

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

We need the entire content of your XAMPP control panel log windows not only this small excerpt.
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Apache stops after starting. No error log file.

Postby wali.kareeme » 19. July 2013 22:02

http://complete-concrete-concise.com/web-tools/how-to-change-the-apache-port-in-xampp


this 1 is the solution change the port through this mthod
wali.kareeme
 
Posts: 1
Joined: 19. July 2013 21:38
Operating System: win 7

Re: Apache stops after starting. No error log file.

Postby Altrea » 23. July 2013 05:37

Changing the Apache port is never a solution just a workaround.
The most recommend way is to identify the process currently running on that port and if this is really needed to run there.
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 123 guests