W10 Apache unexpected shutdown

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

W10 Apache unexpected shutdown

Postby marton01 » 17. January 2022 19:45

I have been using this version of Xampp for over 1 year without any problems, now I get Apache unexpected shutdown ,
SQL is OK. I have made no changes other than the automatic W10 updates.

I am using Xampp 3.2.4, PHP 7.4, W10 Home, V 21H2, OS 19044.1466.

I checked the ports with Netstat and found HP6CC21710560D:8080 ESTABLISHED,
the PID = HPNetworkCommunicatorCom.exe
I turned off this HP program then restarted xampp and now port 8080 is not showing up at all in Netstat.

There are no entries for today in my Apache error log,
In my Apache access log I only have
[12/Jan/2022:13:39:25 +0100] "GET /dashboard/ HTTP/1.1" 200 7576 "-" "AVG Antivirus"
12/Jan/2022:13:39:31 +0100] "GET /HNAP1/ HTTP/1.1" 404 1057 "-" "AVG Antivirus"

I checked my Windows event viewer but no relevant errors logged.

Any help appreciated

My log is below

3:42:46 PM [main] Initializing Control Panel
3:42:46 PM [main] Windows Version: Home 64-bit
3:42:46 PM [main] XAMPP Version: 7.3.9
3:42:46 PM [main] Control Panel Version: 3.2.4 [ Compiled: Jun 5th 2019 ]
3:42:46 PM [main] Running with Administrator rights - good!
3:42:46 PM [main] XAMPP Installation Directory: "c:\xampp73a\"
3:42:46 PM [main] Checking for prerequisites
3:42:51 PM [main] All prerequisites found
3:42:51 PM [main] Initializing Modules
3:42:51 PM [Apache] Initializing module...
3:42:51 PM [Apache] Checking for module existence...
3:42:51 PM [Apache] Checking for required tools...
3:42:51 PM [Apache] Checking for service (name="Apache2.4"): Service not installed
3:42:51 PM [Apache] Service Path: Service Not Installed
3:42:51 PM [Apache] Checking default ports...
3:42:51 PM [mysql] Initializing module...
3:42:51 PM [mysql] Checking for module existence...
3:42:51 PM [mysql] Checking for required tools...
3:42:51 PM [mysql] Checking for service (name="mysql"): Service not installed
3:42:51 PM [mysql] Service Path: Service Not Installed
3:42:51 PM [mysql] Checking default ports...
3:42:51 PM [filezilla] Initializing module...
3:42:51 PM [filezilla] Checking for module existence...
3:42:51 PM [filezilla] Checking for required tools...
3:42:51 PM [filezilla] Checking for service (name="FileZillaServer"): Service not installed
3:42:51 PM [filezilla] Service Path: Service Not Installed
3:42:51 PM [filezilla] Checking default ports...
3:42:51 PM [main] The Mercury module is disabled
3:42:51 PM [main] The Tomcat module is disabled
3:42:51 PM [main] Enabling autostart for module "Apache"
3:42:51 PM [main] Enabling autostart for module "MySQL"
3:42:51 PM [main] Starting Check-Timer
3:42:51 PM [main] Control Panel Ready
3:42:53 PM [Apache] Autostart active: starting...
3:42:53 PM [Apache] Checking default ports...
3:42:53 PM [Apache] Attempting to start Apache app...
3:42:53 PM [Apache] Executing "c:\xampp73a\apache\bin\httpd.exe"
3:42:53 PM [Apache] Return code: 0
3:42:53 PM [mysql] Autostart active: starting...
3:42:53 PM [mysql] Checking default ports...
3:42:53 PM [mysql] Attempting to start MySQL app...
3:42:53 PM [mysql] Executing ""c:\xampp73a\mysql\bin\mysqld.exe" --defaults-file="c:\xampp73a\mysql\bin\my.ini" --standalone"
3:42:53 PM [mysql] Return code: 0
3:42:53 PM [Apache] Status change detected: running
3:42:53 PM [mysql] Status change detected: running
3:42:59 PM [Apache] Status change detected: stopped
3:42:59 PM [Apache] Error: Apache shutdown unexpectedly.
3:42:59 PM [Apache] This may be due to a blocked port, missing dependencies,
3:42:59 PM [Apache] improper privileges, a crash, or a shutdown by another method.
3:42:59 PM [Apache] Press the Logs button to view error logs and check
3:42:59 PM [Apache] the Windows Event Viewer for more clues
3:42:59 PM [Apache] If you need more help, copy and post this
3:42:59 PM [Apache] entire log window on the forums
marton01
 
Posts: 3
Joined: 17. January 2022 15:47
XAMPP version: V3.2.4
Operating System: Windows 10 Home, V. 21H2

Re: W10 Apache unexpected shutdown

Postby Altrea » 17. January 2022 22:03

Default XAMPP Apache Ports are 80 and 443, not 8080.
So why did youcheck for port 8080?
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: W10 Apache unexpected shutdown

Postby marton01 » 18. January 2022 16:33

Because I long ago changed the default ports to #8080 & #4443 due to some port conflicts, I do not remember what conflicts anymore
marton01
 
Posts: 3
Joined: 17. January 2022 15:47
XAMPP version: V3.2.4
Operating System: Windows 10 Home, V. 21H2

Re: W10 Apache unexpected shutdown

Postby Altrea » 18. January 2022 16:53

please double click the apache_start.bat script 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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: W10 Apache unexpected shutdown

Postby marton01 » 19. January 2022 21:40

Thank you for your tip.

I did so and a syntax error showed up that I could fix.

Somehow I had managed to comment out a line of code; "</VirtualHost>"
marton01
 
Posts: 3
Joined: 17. January 2022 15:47
XAMPP version: V3.2.4
Operating System: Windows 10 Home, V. 21H2

Re: W10 Apache unexpected shutdown

Postby Altrea » 20. January 2022 01:00

you are welcome.
I'm glad you got this fixed 8)
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


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 157 guests