Apache won't start

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

Apache won't start

Postby Julliean » 08. July 2013 11:36

Code: Select all
11:02:39  [main]    All prerequisites found
11:02:39  [main]    Initializing Modules
11:02:39  [Apache]    Problem detected!
11:02:39  [Apache]    Port 80 in use by "Unable to open process" with PID 4!
11:02:39  [Apache]    Apache WILL NOT start without the configured ports free!
11:02:39  [Apache]    You need to uninstall/disable/reconfigure the blocking application
11:02:39  [Apache]    or reconfigure Apache and the Control Panel to listen on a different port
11:02:39  [main]    Starting Check-Timer
11:02:39  [main]    Control Panel Ready


This is what i see.
anyone know why i can't start apache?
Julliean
 
Posts: 2
Joined: 18. June 2013 19:07
XAMPP Version: 1.8.0
Operating System: Windows 7

Re: Apache won't start

Postby hackattack142 » 08. July 2013 22:06

Hello,

PID 4 is typically the System process which probably means a Windows Service is using Port 80. A typical blocking service is World Wide Web Publishing Service. This is related to IIS and can be disabled if you are not using IIS.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Apache won't start

Postby Julliean » 10. July 2013 18:44

hackattack142 wrote:Hello,

PID 4 is typically the System process which probably means a Windows Service is using Port 80. A typical blocking service is World Wide Web Publishing Service. This is related to IIS and can be disabled if you are not using IIS.

Thanks, but how can I disable it??
Julliean
 
Posts: 2
Joined: 18. June 2013 19:07
XAMPP Version: 1.8.0
Operating System: Windows 7

Re: Apache won't start

Postby bobofet » 11. July 2013 20:22

I'm having same problem, how do I disable or uninstall IIS?
bobofet
 
Posts: 7
Joined: 21. June 2013 16:31
XAMPP Version: 5.6.3
Operating System: Windows 7 Home Premium

more Update: & Apache still won't start

Postby bobofet » 11. July 2013 20:57

Ok, I figured out how to disable IIS and my XAMPP control panel starts normally with no errors. But, when I try to start apache, all hell breaks loose. I get all kinds of errors and then the whole thing shuts down and the program exits as seen from this screen shot.

Image

BTW I'm using CP v3.2.1 now. And I no longer receive any errors, however, when I try to start Apache, it just sits there attempting and never starts. :evil:

P.S. I'm running windows 7 and IIs is removed now but still can't get apache to start. :(
bobofet
 
Posts: 7
Joined: 21. June 2013 16:31
XAMPP Version: 5.6.3
Operating System: Windows 7 Home Premium

Re: Apache won't start

Postby hackattack142 » 15. July 2013 22:12

Hello,

A few things to give us a bit more information:
1. Could you post the entire contents of your XAMPP Control Panel log window?
2. Could you try running "apache_start.bat" in the main XAMPP folder and post any errors that it displays?
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
XAMPP Version: 5.6.3
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Apache won't start

Postby empleada » 17. July 2013 22:00

I have the same error, and the bat shows me this

Image
User avatar
empleada
 
Posts: 9
Joined: 06. May 2012 16:58
Location: Peru
XAMPP Version: 5.6.3
Operating System: Windows 7 - Fedora17

Re: Apache won't start

Postby sam146 » 23. July 2013 19:49

same error here
sam146
 
Posts: 2
Joined: 23. July 2013 19:32
XAMPP Version: 5.5.19
Operating System: windows 8

Re: Apache won't start

Postby venkatmandali » 27. July 2013 08:35

Hi

Here im also facing same issue,

I disabled www services.I changed port numbers also.But apache is not started

Here is the my error
Error: Apache shutdown unexpectedly.
00:34:18 [Apache] This may be due to a blocked port, missing dependencies,
00:34:18 [Apache] improper privileges, a crash, or a shutdown by another method.
00:34:18 [Apache] Check the "/xampp/apache/logs/error.log" file
00:34:18 [Apache] and the Windows Event Viewer for more clues

and error log is

[Thu Jul 25 04:01:20.068288 2013] [core:warn] [pid 1028:tid 544] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jul 25 04:01:20.939326 2013] [ssl:warn] [pid 1028:tid 544] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 25 04:01:22.274202 2013] [mpm_winnt:notice] [pid 1028:tid 544] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Jul 25 04:01:22.284943 2013] [mpm_winnt:notice] [pid 1028:tid 544] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Jul 25 04:01:22.284943 2013] [core:notice] [pid 1028:tid 544] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 25 04:01:22.295685 2013] [mpm_winnt:notice] [pid 1028:tid 544] AH00418: Parent: Created child process 2384
[Thu Jul 25 04:01:24.776971 2013] [ssl:warn] [pid 2384:tid 556] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 25 04:01:24.886339 2013] [mpm_winnt:notice] [pid 2384:tid 556] AH00354: Child: Starting 150 worker threads.


So please any one help on this
venkatmandali
 
Posts: 3
Joined: 27. July 2013 08:18
XAMPP Version: 1.8.3-2
Operating System: windows7

Re: Apache won't start

Postby Altrea » 27. July 2013 09:27

we need the full contents of your Xampp control panel log window
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: 6614
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: Apache won't start

Postby venkatmandali » 29. July 2013 07:50

I didn't get you.what you want?
venkatmandali
 
Posts: 3
Joined: 27. July 2013 08:18
XAMPP Version: 1.8.3-2
Operating System: windows7

Re: Apache won't start

Postby venkatmandali » 29. July 2013 08:27

i thinks you need full content of error log file


[Sat Jun 08 22:21:57.755190 2013] [core:error] [pid 2196:tid 1928] (20024)The given path is misformatted or contained invalid characters: [client 157.254.32.32:60258] AH00127: Cannot map GET /index.jsp::$DATA HTTP/1.0 to file




[Thu Jul 25 04:01:20.939326 2013] [ssl:warn] [pid 1028:tid 544] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 25 04:01:22.274202 2013] [mpm_winnt:notice] [pid 1028:tid 544] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Thu Jul 25 04:01:22.284943 2013] [mpm_winnt:notice] [pid 1028:tid 544] AH00456: Server built: Aug 18 2012 12:41:37
[Thu Jul 25 04:01:22.284943 2013] [core:notice] [pid 1028:tid 544] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 25 04:01:22.295685 2013] [mpm_winnt:notice] [pid 1028:tid 544] AH00418: Parent: Created child process 2384
[Thu Jul 25 04:01:24.776971 2013] [ssl:warn] [pid 2384:tid 556] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 25 04:01:24.886339 2013] [mpm_winnt:notice] [pid 2384:tid 556] AH00354: Child: Starting 150 worker threads.
venkatmandali
 
Posts: 3
Joined: 27. July 2013 08:18
XAMPP Version: 1.8.3-2
Operating System: windows7

Re: Apache won't start

Postby Altrea » 29. July 2013 08:34

The window where you got these messages from
00:34:18 [Apache] This may be due to a blocked port, missing dependencies,
00:34:18 [Apache] improper privileges, a crash, or a shutdown by another method.
00:34:18 [Apache] Check the "/xampp/apache/logs/error.log" file
00:34:18 [Apache] and the Windows Event Viewer for more clues


contains much more messages then this few ones. These messages are needed.
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: 6614
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 42 guests