Apache Error

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

Apache Error

Postby Mario_ » 16. December 2015 18:02

When i start Apache the XAMPP control panel says:
17:58:48 [Apache] Error: Apache shutdown unexpectedly.
17:58:48 [Apache] This may be due to a blocked port, missing dependencies,
17:58:48 [Apache] improper privileges, a crash, or a shutdown by another method.
17:58:48 [Apache] Press the Logs button to view error logs and check
17:58:48 [Apache] the Windows Event Viewer for more clues
17:58:48 [Apache] If you need more help, copy and post this
17:58:48 [Apache] entire log window on the forums
and the error.log says:
[Wed Dec 16 17:37:40.792236 2015] [ssl:warn] [pid 4616:tid 372] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 16 17:37:40.906324 2015] [ssl:warn] [pid 4616:tid 372] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 16 17:37:40.940339 2015] [mpm_winnt:notice] [pid 4616:tid 372] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.15 configured -- resuming normal operations
[Wed Dec 16 17:37:40.940339 2015] [mpm_winnt:notice] [pid 4616:tid 372] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Wed Dec 16 17:37:40.940339 2015] [core:notice] [pid 4616:tid 372] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Dec 16 17:37:40.946343 2015] [mpm_winnt:notice] [pid 4616:tid 372] AH00418: Parent: Created child process 4716
[Wed Dec 16 17:37:41.288585 2015] [ssl:warn] [pid 4716:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 16 17:37:41.389669 2015] [ssl:warn] [pid 4716:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 16 17:37:41.419678 2015] [mpm_winnt:notice] [pid 4716:tid 396] AH00354: Child: Starting 150 worker threads.

Please help me.
Mario_
 
Posts: 3
Joined: 16. December 2015 17:43
Operating System: Windows 8.1

Re: Apache Error

Postby Mario_ » 16. December 2015 18:05

But when I change the port it says:
18:03:06 [Apache] Error: Apache shutdown unexpectedly.
18:03:06 [Apache] This may be due to a blocked port, missing dependencies,
18:03:06 [Apache] improper privileges, a crash, or a shutdown by another method.
18:03:06 [Apache] Press the Logs button to view error logs and check
18:03:06 [Apache] the Windows Event Viewer for more clues
18:03:06 [Apache] If you need more help, copy and post this
18:03:06 [Apache] entire log window on the forums
Mario_
 
Posts: 3
Joined: 16. December 2015 17:43
Operating System: Windows 8.1

Re: Apache Error

Postby Nobbie » 16. December 2015 19:23

Nobbie
 
Posts: 8772
Joined: 09. March 2008 13:04

Re: Apache Error

Postby Mario_ » 17. December 2015 15:37

Now when I write localhost in the broswer, it says:
The web page is not available
ERR_CONNECTION_REFUSED

?
Mario_
 
Posts: 3
Joined: 16. December 2015 17:43
Operating System: Windows 8.1

Re: Apache Error

Postby MrKeegan » 21. December 2015 01:43

I am getting the same error. I looked everywhere on the "Apache wont start thread" and couldnt find anything that would help fix this. Please help!
Here is my logs
[Sun Dec 20 15:45:08.314473 2015] [ssl:warn] [pid 1960:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 20 15:45:08.422966 2015] [ssl:warn] [pid 1960:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 20 15:45:08.479031 2015] [mpm_winnt:notice] [pid 1960:tid 528] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.15 configured -- resuming normal operations
[Sun Dec 20 15:45:08.479031 2015] [mpm_winnt:notice] [pid 1960:tid 528] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Sun Dec 20 15:45:08.479031 2015] [core:notice] [pid 1960:tid 528] AH00094: Command line: 'C:\\XAMPP\\apache\\bin\\httpd.exe -d C:/XAMPP/apache'
[Sun Dec 20 15:45:08.482034 2015] [mpm_winnt:notice] [pid 1960:tid 528] AH00418: Parent: Created child process 1184
[Sun Dec 20 15:45:08.769726 2015] [ssl:warn] [pid 1184:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 20 15:45:08.864397 2015] [ssl:warn] [pid 1184:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 20 15:45:08.885424 2015] [mpm_winnt:notice] [pid 1184:tid 560] AH00354: Child: Starting 150 worker threads.

*EDIT In the console when I run it it says: AH00526: Syntax error on line 245 of C:/XAMPP/apache/conf/httpd.conf:
DocumentRoot must be a directory
MrKeegan
 
Posts: 2
Joined: 21. December 2015 01:39
Operating System: Windows

Re: Apache Error

Postby Altrea » 21. December 2015 01:57

execute setup_xampp.bat and try again
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: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache Error

Postby MrKeegan » 21. December 2015 02:26

Altrea wrote:execute setup_xampp.bat and try again

I tried that twice now, this is what came up:
################################# START XAMPP TEST SECTION #################################
[XAMPP]: Test php.exe with php\php.exe -n -d output_buffering=0 --version ...
PHP 5.6.15 (cli) (built: Oct 29 2015 12:40:36)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
[XAMPP]: Test for the php.exe successfully passed. Good!
################################# END XAMPP TEST SECTION ###################################


########################################################################
# ApacheFriends XAMPP setup win32 Version #
#----------------------------------------------------------------------#
# Copyright (c) 2002-2015 Apachefriends 5.6.15
#
#----------------------------------------------------------------------#
# Authors: Kay Vogelgesang <kvo@apachefriends.org> #
# Carsten Wiedmann <webmaster@wiedmann-online.de> #
########################################################################



Sorry, but ... nothing to do!

I then opened the program again and got the same error, and the error logs are the same as before.
MrKeegan
 
Posts: 2
Joined: 21. December 2015 01:39
Operating System: Windows

Re: Apache Error

Postby Altrea » 21. December 2015 09:12

Ok. Please show us line 245 of C:/XAMPP/apache/conf/httpd.conf
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: 8294
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 52 guests