Apache, Mysql wont start

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

Apache, Mysql wont start

Postby jovi » 26. May 2022 10:01

12:51:22 pm [Apache] Attempting to start Apache app...
12:51:23 pm [Apache] Status change detected: running
12:51:24 pm [Apache] Status change detected: stopped
12:51:24 pm [Apache] Error: Apache shutdown unexpectedly.
12:51:24 pm [Apache] This may be due to a blocked port, missing dependencies,
12:51:24 pm [Apache] improper privileges, a crash, or a shutdown by another method.
12:51:24 pm [Apache] Press the Logs button to view error logs and check
12:51:24 pm [Apache] the Windows Event Viewer for more clues
12:51:24 pm [Apache] If you need more help, copy and post this
12:51:24 pm [Apache] entire log window on the forums
12:51:26 pm [mysql] Attempting to start MySQL app...
12:51:26 pm [mysql] Status change detected: running
12:51:27 pm [mysql] Status change detected: stopped
12:51:27 pm [mysql] Error: MySQL shutdown unexpectedly.
12:51:27 pm [mysql] This may be due to a blocked port, missing dependencies,
12:51:27 pm [mysql] improper privileges, a crash, or a shutdown by another method.
12:51:27 pm [mysql] Press the Logs button to view error logs and check
12:51:27 pm [mysql] the Windows Event Viewer for more clues
12:51:27 pm [mysql] If you need more help, copy and post this
12:51:27 pm [mysql] entire log window on the forums
[Thu May 19 16:28:50.355975 2022] [ssl:warn] [pid 9636:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 19 16:28:50.457700 2022] [ssl:warn] [pid 9636:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 19 16:28:50.640164 2022] [mpm_winnt:notice] [pid 9636:tid 428] AH00455: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6 configured -- resuming normal operations
[Thu May 19 16:28:50.640164 2022] [mpm_winnt:notice] [pid 9636:tid 428] AH00456: Apache Lounge VS16 Server built: Mar 16 2022 11:26:15
[Thu May 19 16:28:50.640164 2022] [core:notice] [pid 9636:tid 428] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu May 19 16:28:50.646018 2022] [mpm_winnt:notice] [pid 9636:tid 428] AH00418: Parent: Created child process 6644
[Thu May 19 16:28:51.469447 2022] [ssl:warn] [pid 6644:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 19 16:28:51.614135 2022] [ssl:warn] [pid 6644:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 19 16:28:51.693136 2022] [mpm_winnt:notice] [pid 6644:tid 408] AH00354: Child: Starting 150 worker threads.
[Mon May 23 06:28:21.508944 2022] [ssl:warn] [pid 16680:tid 404] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:28:21.865986 2022] [core:warn] [pid 16680:tid 404] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 23 06:28:21.872968 2022] [ssl:warn] [pid 16680:tid 404] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:28:24.296028 2022] [mpm_winnt:notice] [pid 16680:tid 404] AH00455: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6 configured -- resuming normal operations
[Mon May 23 06:28:24.296028 2022] [mpm_winnt:notice] [pid 16680:tid 404] AH00456: Apache Lounge VS16 Server built: Mar 16 2022 11:26:15
[Mon May 23 06:28:24.296028 2022] [core:notice] [pid 16680:tid 404] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon May 23 06:28:24.306001 2022] [mpm_winnt:notice] [pid 16680:tid 404] AH00418: Parent: Created child process 14404
[Mon May 23 06:28:26.722158 2022] [ssl:warn] [pid 14404:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:28:26.899684 2022] [ssl:warn] [pid 14404:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:28:27.051286 2022] [mpm_winnt:notice] [pid 14404:tid 408] AH00354: Child: Starting 150 worker threads.
[Mon May 23 06:35:06.472633 2022] [ssl:warn] [pid 8628:tid 168] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:35:06.656152 2022] [core:warn] [pid 8628:tid 168] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 23 06:35:06.663132 2022] [ssl:warn] [pid 8628:tid 168] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:35:06.779820 2022] [mpm_winnt:notice] [pid 8628:tid 168] AH00455: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6 configured -- resuming normal operations
[Mon May 23 06:35:06.779820 2022] [mpm_winnt:notice] [pid 8628:tid 168] AH00456: Apache Lounge VS16 Server built: Mar 16 2022 11:26:15
[Mon May 23 06:35:06.779820 2022] [core:notice] [pid 8628:tid 168] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon May 23 06:35:06.790790 2022] [mpm_winnt:notice] [pid 8628:tid 168] AH00418: Parent: Created child process 4840
[Mon May 23 06:35:08.667968 2022] [ssl:warn] [pid 4840:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:35:08.866510 2022] [ssl:warn] [pid 4840:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:35:08.981676 2022] [mpm_winnt:notice] [pid 4840:tid 408] AH00354: Child: Starting 150 worker threads.
[Mon May 23 06:37:55.738744 2022] [ssl:warn] [pid 10960:tid 316] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:37:55.936215 2022] [core:warn] [pid 10960:tid 316] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 23 06:37:55.966135 2022] [ssl:warn] [pid 10960:tid 316] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:37:56.094305 2022] [mpm_winnt:notice] [pid 10960:tid 316] AH00455: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6 configured -- resuming normal operations
[Mon May 23 06:37:56.094305 2022] [mpm_winnt:notice] [pid 10960:tid 316] AH00456: Apache Lounge VS16 Server built: Mar 16 2022 11:26:15
[Mon May 23 06:37:56.094305 2022] [core:notice] [pid 10960:tid 316] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon May 23 06:37:56.119767 2022] [mpm_winnt:notice] [pid 10960:tid 316] AH00418: Parent: Created child process 17032
[Mon May 23 06:37:57.860563 2022] [ssl:warn] [pid 17032:tid 176] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:37:58.042597 2022] [ssl:warn] [pid 17032:tid 176] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:37:58.196875 2022] [mpm_winnt:notice] [pid 17032:tid 176] AH00354: Child: Starting 150 worker threads.
[Mon May 23 06:38:34.144537 2022] [ssl:warn] [pid 1520:tid 404] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:38:34.360959 2022] [core:warn] [pid 1520:tid 404] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 23 06:38:34.369934 2022] [ssl:warn] [pid 1520:tid 404] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:38:34.489614 2022] [mpm_winnt:notice] [pid 1520:tid 404] AH00455: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6 configured -- resuming normal operations
[Mon May 23 06:38:34.489614 2022] [mpm_winnt:notice] [pid 1520:tid 404] AH00456: Apache Lounge VS16 Server built: Mar 16 2022 11:26:15
[Mon May 23 06:38:34.489614 2022] [core:notice] [pid 1520:tid 404] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon May 23 06:38:34.495599 2022] [mpm_winnt:notice] [pid 1520:tid 404] AH00418: Parent: Created child process 5136
[Mon May 23 06:38:36.325910 2022] [ssl:warn] [pid 5136:tid 416] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:38:36.472518 2022] [ssl:warn] [pid 5136:tid 416] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:38:36.601176 2022] [mpm_winnt:notice] [pid 5136:tid 416] AH00354: Child: Starting 150 worker threads.
[Mon May 23 06:38:40.255129 2022] [ssl:warn] [pid 4844:tid 404] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:38:40.441147 2022] [core:warn] [pid 4844:tid 404] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 23 06:41:02.351450 2022] [ssl:warn] [pid 1524:tid 416] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:41:02.624238 2022] [core:warn] [pid 1524:tid 416] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 23 06:41:02.631747 2022] [ssl:warn] [pid 1524:tid 416] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:41:02.811265 2022] [mpm_winnt:notice] [pid 1524:tid 416] AH00455: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.6 configured -- resuming normal operations
[Mon May 23 06:41:02.811265 2022] [mpm_winnt:notice] [pid 1524:tid 416] AH00456: Apache Lounge VS16 Server built: Mar 16 2022 11:26:15
[Mon May 23 06:41:02.811265 2022] [core:notice] [pid 1524:tid 416] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon May 23 06:41:02.823234 2022] [mpm_winnt:notice] [pid 1524:tid 416] AH00418: Parent: Created child process 14816
[Mon May 23 06:41:04.694704 2022] [ssl:warn] [pid 14816:tid 324] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:41:04.896167 2022] [ssl:warn] [pid 14816:tid 324] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 23 06:41:05.071700 2022] [mpm_winnt:notice] [pid 14816:tid 324] AH00354: Child: Starting 150 worker threads.

my sql doesnt have error logs..? i had to create new file but i started and same erorr but no logs
jovi
 
Posts: 2
Joined: 26. May 2022 09:55
XAMPP version: 3.3.0
Operating System: windows 10

Re: Apache, Mysql wont start

Postby Altrea » 26. May 2022 12:41

Hi,

For MariaDB:
Try to start MariaDB as console application and tell us what it responses. To do so, please:
  • Open a new XAMPP Shell by clicking the Shell Button in your control panel
  • type in the following command
    Code: Select all
    mysqld --defaults-file=mysql\bin\my.ini --standalone --console
  • copy us the response of the console

For Apache:
Execute the script apache_start.bat to run Apache as console application and tell us what it responses
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: Apache, Mysql wont start

Postby jovi » 26. May 2022 12:51

i got impatient (because i had to pass this as my assignment) so i just reinstalled xampp, Mysql started normally then Apache had a PID 4 port 80 in use error so i just changed Listen 80 to 8080 and Apache started working normally. So far everything is working fine Thank you!
jovi
 
Posts: 2
Joined: 26. May 2022 09:55
XAMPP version: 3.3.0
Operating System: windows 10

Re: Apache, Mysql wont start

Postby Altrea » 26. May 2022 13:16

About Apache port 80 PID 4 issue, you can read this thread:
[Q&A] solving Port 80 in use by PID 4 (HTTP.sys) issue
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


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 118 guests