Page 1 of 1

Apache not starting

PostPosted: 15. July 2022 22:29
by 2DNED
Hi guys I'm fairly new to xampp and having a few issues i thought someone might be able to help with.

I have tried different versions of xampp and they all to the same thing, if i restart the PC or shut down Apache it won't start, i get the errors

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


IF i go look in the Apache Error Log

Code: Select all
[Thu Jul 14 18:02:57.259006 2022] [ssl:warn] [pid 9072:tid 120] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 14 18:02:57.360012 2022] [ssl:warn] [pid 9072:tid 120] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 14 18:02:57.423016 2022] [mpm_winnt:notice] [pid 9072:tid 120] AH00455: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/7.4.29 configured -- resuming normal operations
[Thu Jul 14 18:02:57.423016 2022] [mpm_winnt:notice] [pid 9072:tid 120] AH00456: Apache Lounge VC15 Server built: Mar 16 2022 15:48:38
[Thu Jul 14 18:02:57.423016 2022] [core:notice] [pid 9072:tid 120] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 14 18:02:57.425016 2022] [mpm_winnt:notice] [pid 9072:tid 120] AH00418: Parent: Created child process 6924
[Thu Jul 14 18:02:57.790036 2022] [ssl:warn] [pid 6924:tid 128] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 14 18:02:57.862041 2022] [ssl:warn] [pid 6924:tid 128] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jul 14 18:02:57.904043 2022] [mpm_winnt:notice] [pid 6924:tid 128] AH00354: Child: Starting 150 worker threads.


Could someone please shed some light as to how to fix this?

Re: Apache not starting

PostPosted: 16. July 2022 04:17
by Altrea
Hi,

please execute the apache_start.bat script and tell us what the response is.

Re: Apache not starting

PostPosted: 16. July 2022 05:45
by 2DNED
AH0072: make_sock: could not bind to 211.54.333.23:80
AH00451: no listening socket available, shutting down
AH00015: Unabale to open logs

Re: Apache not starting

PostPosted: 16. July 2022 06:07
by Altrea
please check which process is already listening on port 80 on your computer. There is a netstat button in the xampp control panel that can help identifying.