Error: Apache shutdown unexpectedly

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

Error: Apache shutdown unexpectedly

Postby shemehs » 03. July 2015 03:29

10:11:44 AM [Apache] Attempting to start Apache app...
10:11:44 AM [Apache] Status change detected: running
10:11:49 AM [Apache] Status change detected: stopped
10:11:49 AM [Apache] Error: Apache shutdown unexpectedly.
10:11:49 AM [Apache] This may be due to a blocked port, missing dependencies,
10:11:49 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:11:49 AM [Apache] Press the Logs button to view error logs and check
10:11:49 AM [Apache] the Windows Event Viewer for more clues
10:11:49 AM [Apache] If you need more help, copy and post this
10:11:49 AM [Apache] entire log window on the forums

I tried to run checkport.bat in install folder but i found out that all ports are free. What else I can do now to fix this? I really don't know? Who had an idea about my problem? Please Help me.
Last edited by shemehs on 03. July 2015 03:50, edited 1 time in total.
shemehs
 
Posts: 2
Joined: 03. July 2015 03:18
Operating System: windows 7

Re: Error: Apache shutdown unexpectedly

Postby shemehs » 03. July 2015 03:47

I tried to run as administrator but the problem still remain.

Apache Error Log Content

[Thu Jul 02 08:36:33.563698 2015] [ssl:warn] [pid 6088:tid 228] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 08:36:34.704763 2015] [ssl:warn] [pid 6088:tid 228] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 08:36:38.830999 2015] [mpm_winnt:notice] [pid 6088:tid 228] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Thu Jul 02 08:36:38.831999 2015] [mpm_winnt:notice] [pid 6088:tid 228] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Thu Jul 02 08:36:38.831999 2015] [core:notice] [pid 6088:tid 228] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 02 08:36:39.623044 2015] [mpm_winnt:notice] [pid 6088:tid 228] AH00418: Parent: Created child process 2796
Apache server shutdown initiated...
sl:warn] [pid 2796:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 08:36:44.140303 2015] [ssl:warn] [pid 2796:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 08:36:44.522325 2015] [mpm_winnt:notice] [pid 2796:tid 240] AH00354: Child: Starting 150 worker threads.
[Thu Jul 02 08:45:06.380391 2015] [mpm_winnt:notice] [pid 6088:tid 228] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Jul 02 08:45:08.408395 2015] [mpm_winnt:notice] [pid 2796:tid 240] AH00364: Child: All worker threads have exited.
[Thu Jul 02 08:45:09.047996 2015] [mpm_winnt:notice] [pid 6088:tid 228] AH00430: Parent: Child process 2796 exited successfully.
[Thu Jul 02 09:16:10.513079 2015] [ssl:warn] [pid 2932:tid 228] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:16:11.386680 2015] [ssl:warn] [pid 2932:tid 228] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:16:13.523884 2015] [mpm_winnt:notice] [pid 2932:tid 228] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Thu Jul 02 09:16:13.523884 2015] [mpm_winnt:notice] [pid 2932:tid 228] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Thu Jul 02 09:16:13.523884 2015] [core:notice] [pid 2932:tid 228] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 02 09:16:13.555084 2015] [mpm_winnt:notice] [pid 2932:tid 228] AH00418: Parent: Created child process 3532
[Thu Jul 02 09:16:16.347489 2015] [ssl:warn] [pid 3532:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:16:17.158690 2015] [ssl:warn] [pid 3532:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:16:17.486291 2015] [mpm_winnt:notice] [pid 3532:tid 240] AH00354: Child: Starting 150 worker threads.
[Thu Jul 02 09:35:28.491419 2015] [ssl:warn] [pid 4984:tid 236] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
AH00112: Warning: DocumentRoot [C:/xampp/htdocs/myfirstapp/public] does not exist
[Thu Jul 02 09:35:28.887442 2015] [core:warn] [pid 4984:tid 236] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jul 02 09:35:29.589482 2015] [ssl:warn] [pid 4984:tid 236] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:35:32.178630 2015] [mpm_winnt:notice] [pid 4984:tid 236] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Thu Jul 02 09:35:32.179630 2015] [mpm_winnt:notice] [pid 4984:tid 236] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Thu Jul 02 09:35:32.179630 2015] [core:notice] [pid 4984:tid 236] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 02 09:35:33.921730 2015] [mpm_winnt:notice] [pid 4984:tid 236] AH00418: Parent: Created child process 3128
AH00548: NameVirtualHost has no effect and will be removed in the next release C:/xampp/apache/conf/extra/httpd-vhosts.conf:44
AH00112: Warning: DocumentRoot [C:/xampp/htdocs/myfirstapp/public] does not exist
[Thu Jul 02 09:35:40.669115 2015] [ssl:warn] [pid 3128:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
AH00112: Warning: DocumentRoot [C:/xampp/htdocs/myfirstapp/public] does not exist
[Thu Jul 02 09:35:45.975419 2015] [ssl:warn] [pid 3128:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:35:47.364498 2015] [mpm_winnt:notice] [pid 3128:tid 248] AH00354: Child: Starting 150 worker threads.
[Thu Jul 02 09:42:31.811504 2015] [ssl:warn] [pid 3876:tid 236] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:42:32.076704 2015] [core:warn] [pid 3876:tid 236] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jul 02 09:42:32.731905 2015] [ssl:warn] [pid 3876:tid 236] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:42:34.225344 2015] [mpm_winnt:notice] [pid 3876:tid 236] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Thu Jul 02 09:42:34.226344 2015] [mpm_winnt:notice] [pid 3876:tid 236] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Thu Jul 02 09:42:34.226344 2015] [core:notice] [pid 3876:tid 236] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 02 09:42:37.774715 2015] [mpm_winnt:notice] [pid 3876:tid 236] AH00418: Parent: Created child process 3576
AH00548: NameVirtualHost has no effect and will be removed in the next release C:/xampp/apache/conf/extra/httpd-vhosts.conf:44
[Thu Jul 02 09:42:40.905894 2015] [ssl:warn] [pid 3576:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:42:41.820946 2015] [ssl:warn] [pid 3576:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 02 09:42:42.136964 2015] [mpm_winnt:notice] [pid 3576:tid 248] AH00354: Child: Starting 150 worker threads.
shemehs
 
Posts: 2
Joined: 03. July 2015 03:18
Operating System: windows 7

Re: Error: Apache shutdown unexpectedly

Postby Altrea » 03. July 2015 15:26

execure the apache_start.bat script and tell us what response you get
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error: Apache shutdown unexpectedly

Postby nitram_vortimid » 08. July 2015 21:44

Hello,
I am new with XAMPP. However, I have the same problem. It started when I was installing the Wordpress module from Binami - the Apache was working and suddenly in the middle of the installation - stopped to work. Could not start with the button start in the XAMPP control panel and gave me the following information:
23:38:03 [Apache] Status change detected: running
23:38:04 [Apache] Status change detected: stopped
23:38:04 [Apache] Error: Apache shutdown unexpectedly.
23:38:04 [Apache] This may be due to a blocked port, missing dependencies,
23:38:04 [Apache] improper privileges, a crash, or a shutdown by another method.
23:38:04 [Apache] Press the Logs button to view error logs and check
23:38:04 [Apache] the Windows Event Viewer for more clues
23:38:04 [Apache] If you need more help, copy and post this
23:38:04 [Apache] entire log window on the forums

After that I have checked the error log and found the same this that found "shemehs":

Apache server shutdown initiated...
sl:warn] [pid 5980:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 08 23:25:27.145699 2015] [ssl:warn] [pid 5980:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 08 23:25:27.180723 2015] [mpm_winnt:notice] [pid 5980:tid 392] AH00354: Child: Starting 150 worker threads.
[Wed Jul 08 23:27:05.727401 2015] [mpm_winnt:notice] [pid 2600:tid 400] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Jul 08 23:27:07.729789 2015] [mpm_winnt:notice] [pid 5980:tid 392] AH00364: Child: All worker threads have exited.
[Wed Jul 08 23:27:07.767492 2015] [mpm_winnt:notice] [pid 2600:tid 400] AH00430: Parent: Child process 5980 exited successfully.


Can anybody help to solve the problem?
nitram_vortimid
 
Posts: 1
Joined: 08. July 2015 21:33
Operating System: Windows 8.1

Re: Error: Apache shutdown unexpectedly

Postby Altrea » 08. July 2015 22:21

You are posting here but don't read the replies?

I can only repeat myself:
Altrea wrote:execure the apache_start.bat script and tell us what response you get
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error: Apache shutdown unexpectedly

Postby ranawat_suyash » 28. March 2020 11:05

When I ran apache_start.bat, following was the response and it is still not working. I have tried changing the listening port, also tried to update the ServerName in http-ssl.conf from example.com to localhost.

Response in command prompt:
Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...

Any help would be appreciated or let me know if you require more information
ranawat_suyash
 
Posts: 1
Joined: 28. March 2020 10:55
XAMPP version: 2.4
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 149 guests