Apache does not start from XAMPP Control Panel

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

Apache does not start from XAMPP Control Panel

Postby DIYGuy » 03. May 2021 21:31

I had XAMPP and WordPress installed & working, even with a small and local website.

Then tried to update a WP Theme, and got a message about httpd.exe being possible ransomware, from my Acronis security package. I blocked the update, just to be safe. Apache would not start afterwards, even though Acronis indicated it would recover the files. So, I uninstalled XAMPP (including Apache and MySQL), renamed the folder, restarted then reinstalled.

Now, fresh after the re-install, at the Control Panel, Apache does not start, and the error log shows:

[Mon May 03 14:49:03.177653 2021] [ssl:warn] [pid 5500:tid 588] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Mon May 03 14:49:03.378685 2021] [ssl:warn] [pid 5500:tid 588] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Mon May 03 14:49:03.448454 2021] [mpm_winnt:notice] [pid 5500:tid 588] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.0.3 configured -- resuming normal operations

[Mon May 03 14:49:03.448454 2021] [mpm_winnt:notice] [pid 5500:tid 588] AH00456: Apache Lounge VS16 Server built: Feb 17 2021 13:11:14

[Mon May 03 14:49:03.448454 2021] [core:notice] [pid 5500:tid 588] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'

[Mon May 03 14:49:03.456458 2021] [mpm_winnt:crit] [pid 5500:tid 588] (OS 5)Access is denied. : AH00417: Parent: Failed to create the child process.

[Mon May 03 14:49:03.456458 2021] [mpm_winnt:crit] [pid 5500:tid 588] (OS 6)The handle is invalid. : AH00419: master_main: create child process failed. Exiting.

Repeating, I had XAMPP with Apache and MySQL working, and without any Microsoft libraries installed to make this work. I have seen such a reference in some posts.

Please advise, and Thank You in advance.
DIYGuy
 
Posts: 5
Joined: 03. May 2021 19:19
XAMPP version: 8.0.3
Operating System: Windows 10 Home

Re: Apache does not start from XAMPP Control Panel

Postby DIYGuy » 04. May 2021 13:47

DIYGuy wrote:I had XAMPP and WordPress installed & working, even with a small and local website.

Then tried to update a WP Theme, and got a message about httpd.exe being possible ransomware, from my Acronis security package. I blocked the update, just to be safe. Apache would not start afterwards, even though Acronis indicated it would recover the files. So, I uninstalled XAMPP (including Apache and MySQL), renamed the folder, restarted then reinstalled.

Now, fresh after the re-install, at the Control Panel, Apache does not start, and the error log shows:

[Mon May 03 14:49:03.177653 2021] [ssl:warn] [pid 5500:tid 588] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Mon May 03 14:49:03.378685 2021] [ssl:warn] [pid 5500:tid 588] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Mon May 03 14:49:03.448454 2021] [mpm_winnt:notice] [pid 5500:tid 588] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.0.3 configured -- resuming normal operations

[Mon May 03 14:49:03.448454 2021] [mpm_winnt:notice] [pid 5500:tid 588] AH00456: Apache Lounge VS16 Server built: Feb 17 2021 13:11:14

[Mon May 03 14:49:03.448454 2021] [core:notice] [pid 5500:tid 588] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'

[Mon May 03 14:49:03.456458 2021] [mpm_winnt:crit] [pid 5500:tid 588] (OS 5)Access is denied. : AH00417: Parent: Failed to create the child process.

[Mon May 03 14:49:03.456458 2021] [mpm_winnt:crit] [pid 5500:tid 588] (OS 6)The handle is invalid. : AH00419: master_main: create child process failed. Exiting.

Repeating, I had XAMPP with Apache and MySQL working, and without any Microsoft libraries installed to make this work. I have seen such a reference in some posts.

Please advise, and Thank You in advance.


EDITING (4 April) TO ADD:

I noticed red "X" in the XAMPP Control Panel for "Modules Service" for each of Apache and MySQL. Clicked the Red X for MySql and it installed successfully and I started that service.

Clicking to install service for Apache resulted in an error dialog box stating "Windows cannot access the specified device path or file. You may not have the appropriate permissions to access the item."

Running Apache_Start.bat as Administrator shows:
Apache 2 is starting ...
Access is denied.

I have been loading XAMPP as Administrator.
DIYGuy
 
Posts: 5
Joined: 03. May 2021 19:19
XAMPP version: 8.0.3
Operating System: Windows 10 Home

Re: Apache does not start from XAMPP Control Panel

Postby Altrea » 04. May 2021 13:48

What is the full content of your XAMPP control panel log window?
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Apache does not start from XAMPP Control Panel

Postby DIYGuy » 04. May 2021 19:26

*********************************************
12:01:38 PM [main] Initializing Control Panel
12:01:38 PM [main] Windows Version: Home 64-bit
12:01:38 PM [main] XAMPP Version: 8.0.3
12:01:38 PM [main] Control Panel Version: 3.2.4 [ Compiled: Jun 5th 2019 ]
12:01:38 PM [main] Running with Administrator rights - good!
12:01:38 PM [main] XAMPP Installation Directory: "c:\xampp\"
12:01:38 PM [main] Checking for prerequisites
12:01:38 PM [main] All prerequisites found
12:01:38 PM [main] Initializing Modules
12:01:38 PM [mysql] XAMPP MySQL Service is already running on port 3306
12:01:38 PM [main] The FileZilla module is disabled
12:01:38 PM [main] The Mercury module is disabled
12:01:38 PM [main] The Tomcat module is disabled
12:01:38 PM [main] Starting Check-Timer
12:01:38 PM [main] Control Panel Ready
12:04:08 PM [Apache] Attempting to start Apache app...
12:35:44 PM [Apache] Attempting to start Apache app...
12:40:36 PM [mysql] Status change detected: stopped
12:40:36 PM [mysql] Error: MySQL shutdown unexpectedly.
12:40:36 PM [mysql] This may be due to a blocked port, missing dependencies,
12:40:36 PM [mysql] improper privileges, a crash, or a shutdown by another method.
12:40:36 PM [mysql] Press the Logs button to view error logs and check
12:40:36 PM [mysql] the Windows Event Viewer for more clues
12:40:36 PM [mysql] If you need more help, copy and post this
12:40:36 PM [mysql] entire log window on the forums
12:49:42 PM [main] Deinitializing Modules
12:49:42 PM [main] Deinitializing Control Panel

12:40:21 PM [main] Initializing Control Panel
12:40:21 PM [main] Windows Version: Home 64-bit
12:40:21 PM [main] XAMPP Version: 8.0.3
12:40:21 PM [main] Control Panel Version: 3.2.4 [ Compiled: Jun 5th 2019 ]
12:40:21 PM [main] Running with Administrator rights - good!
12:40:21 PM [main] XAMPP Installation Directory: "c:\xampp\"
12:40:21 PM [main] Checking for prerequisites
12:40:21 PM [main] All prerequisites found
12:40:21 PM [main] Initializing Modules
12:40:21 PM [mysql] XAMPP MySQL Service is already running on port 3306
12:40:21 PM [main] The FileZilla module is disabled
12:40:21 PM [main] The Mercury module is disabled
12:40:21 PM [main] The Tomcat module is disabled
12:40:21 PM [main] Starting Check-Timer
12:40:21 PM [main] Control Panel Ready
12:40:34 PM [mysql] Attempting to stop MySQL service...
12:40:36 PM [mysql] Status change detected: stopped
12:40:39 PM [Apache] Attempting to start Apache app...
12:49:42 PM [main] Deinitializing Modules
12:49:42 PM [main] Deinitializing Control Panel

7:32:48 AM [main] Initializing Control Panel
7:32:48 AM [main] Windows Version: Home 64-bit
7:32:48 AM [main] XAMPP Version: 8.0.3
7:32:48 AM [main] Control Panel Version: 3.2.4 [ Compiled: Jun 5th 2019 ]
7:32:48 AM [main] Running with Administrator rights - good!
7:32:48 AM [main] XAMPP Installation Directory: "c:\xampp\"
7:32:48 AM [main] Checking for prerequisites
7:32:50 AM [main] All prerequisites found
7:32:50 AM [main] Initializing Modules
7:32:50 AM [main] The FileZilla module is disabled
7:32:50 AM [main] The Mercury module is disabled
7:32:50 AM [main] The Tomcat module is disabled
7:32:50 AM [main] Starting Check-Timer
7:32:50 AM [main] Control Panel Ready
7:33:01 AM [Apache] Attempting to start Apache app...
12:49:42 PM [main] Deinitializing Modules
12:49:42 PM [main] Deinitializing Control Panel
*********************************************

Running the Apache_Start.bat results in "access denied."
DIYGuy
 
Posts: 5
Joined: 03. May 2021 19:19
XAMPP version: 8.0.3
Operating System: Windows 10 Home

Re: Apache does not start from XAMPP Control Panel

Postby Altrea » 04. May 2021 22:22

Did you already try to replace the apache binaries with the original ones (for example from the same xampp zip version)?

From my point of view it seems that your security software did changes to the httpd.exe (like changing the file permissions) or interrupts its execution in any way.
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Apache does not start from XAMPP Control Panel

Postby DIYGuy » 11. May 2021 20:19

RESOLVED !!!

Thank you - the last suggestion was the solution!
DIYGuy
 
Posts: 5
Joined: 03. May 2021 19:19
XAMPP version: 8.0.3
Operating System: Windows 10 Home


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 96 guests