Page 1 of 1

Apache won't start

PostPosted: 08. July 2013 11:36
by Julliean
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?

Re: Apache won't start

PostPosted: 08. July 2013 22:06
by hackattack142
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.

Re: Apache won't start

PostPosted: 10. July 2013 18:44
by Julliean
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??

Re: Apache won't start

PostPosted: 11. July 2013 20:22
by bobofet
I'm having same problem, how do I disable or uninstall IIS?

more Update: & Apache still won't start

PostPosted: 11. July 2013 20:57
by bobofet
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. :(

Re: Apache won't start

PostPosted: 15. July 2013 22:12
by hackattack142
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?

Re: Apache won't start

PostPosted: 17. July 2013 22:00
by empleada
I have the same error, and the bat shows me this

Image

Re: Apache won't start

PostPosted: 23. July 2013 19:49
by sam146
same error here

Re: Apache won't start

PostPosted: 27. July 2013 08:35
by venkatmandali
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

Re: Apache won't start

PostPosted: 27. July 2013 09:27
by Altrea
we need the full contents of your Xampp control panel log window

Re: Apache won't start

PostPosted: 29. July 2013 07:50
by venkatmandali
I didn't get you.what you want?

Re: Apache won't start

PostPosted: 29. July 2013 08:27
by venkatmandali
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.

Re: Apache won't start

PostPosted: 29. July 2013 08:34
by Altrea
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.