So until yesterday's Windows update I was able to run Wamp64 Server without a hitch. However, today it gives a "1 of 2 services running" message.
Investigating clarifies that MySQL 8.0.14 is running, but that Apache 2.4.23 is not.
Here's what I've tried so far:
- Restarting the computer and rebooting Wamp
- Completely shutting down the computer and rebooting Wamp
- Hitting "Start/Resume Service" in the Wamp menu
- Hitting "Install Service" in the Wamp menu (and then Start/Resume service)
- Hitting "Uninstall Service" and then "Install Service" in the Wamp menu (and then Start/Resume service)
- Doing both of these things and rebooting
- Investigating the Apache error log:
[Fri Aug 02 18:30:25.703267 2019] [core:warn] [pid 1376:tid 620] AH00098: pid file D:/wamp64/bin/apache/apache2.4.23/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Aug 02 18:30:25.711267 2019] [auth_digest:notice] [pid 1376:tid 620] AH01757: generating secret for digest authentication ...
- Investigating immediately before this in the log:
[Thu Aug 01 18:33:16.532470 2019] [mpm_winnt:notice] [pid 22072:tid 660] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Aug 01 18:33:18.849146 2019] [mpm_winnt:notice] [pid 28536:tid 588] AH00364: Child: All worker threads have exited.
[Thu Aug 01 18:33:24.784874 2019] [mpm_winnt:notice] [pid 22072:tid 660] AH00430: Parent: Child process 28536 exited successfully.
- Google searching these errors to see if I could find anything (unfortunately relatively unsuccessful)
- Disabling Skype (to free up Port 80) and redoing most of what's above
- Running the following commands from the administrative command line:
apacha2.4.23\bin\httpd.exe -k install
apacha2.4.23\bin\httpd.exe -k start
apacha2.4.23\bin\httpd.exe -k wampapache64 -k start
apacha2.4.23\bin\httpd.exe -e warn
Which definitely starts the service but then immediately gives the errors about not being shut down correctly.
Any advice would be greatly appreciated, I have a large local wiki installed via Wamp and I really don't want to lose access to it.
Other information
- Wamp64
- Wampserver 3.1.7
- phpMyAdmin 4.8.4
- MySQL 8.0.14
- Apache 2.4.23
- System
- OS: Microsoft Windows 10 Home
- Version: 10.0.18362 Build 18362
- System Type: x64
- Available Physical Memory: 11.2 GB
- Space Available on Disk: 19.3 GB (on C:), 115 GB (on D:, where Wamp is installed)
Thanks!
EDIT 1:
As suggested here is the error message the day that the issue began:
And one from today:
EDIT 2:
So in regard to a great answer below I've done the following (unfortunately still note working, but this feels like progress):
I ran the following with no errors:
.\wamp64\bin\apache\apache2.4.23\bin\httpd.exe -k wampapache64 -k start
.\wamp64\bin\apache\apacha2.4.23\bin\httpd.exe -e warn
Next I ran:
.\wamp64\bin\apache\apache2.4.23\bin\httpd.exe -k stop
The 'Apache2.4' service is not started.
.\wamp64\bin\apache\apache2.4.23\bin\httpd.exe -k uninstall
Removing the 'Apache2.4' service
The 'Apache2.4' service has been removed successfully.
Then I restarted my PC.
Following this, I downloaded the Checks VC++ packages installed
file (check_vcredist
) from http://wampserver.aviatechno.net/#vcpackages. Running it noted that Visual C++ 2015-2019 x86 Minimum Runtime - 14.22.27821 and Visual C++ 2015-2019 x64 Minimum Runtime - 14.22.27821 were not installed, so I installed them from the same URL (VC 2015-2019 (VC16 x86) 14.22.27821 and VC 2015-2019 (VC16 x64) 12.22.27821).
Then I restarted my PC again and ran WAMP64, which still unfortunately gives a 1 of 2 services running
error.
However, I'm still getting a similar error in the log file (apache_error.log
):
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ore:warn] [pid 12936:tid 548] AH00098: pid file D:/wamp64/bin/apache/apache2.4.23/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Aug 22 14:47:59.335006 2019] [auth_digest:notice] [pid 12936:tid 548] AH01757: generating secret for digest authentication ...
[Thu Aug 22 14:48:34.000409 2019] [core:warn] [pid 31212:tid 584] AH00098: pid file D:/wamp64/bin/apache/apache2.4.23/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
EDIT 3:
Now I'm getting the following:
.\wamp64\bin\apache\apache2.4.23\bin\httpd.exe -k wampapache64 -k start
[Thu Aug 22 15:13:02.139389 2019] [mpm_winnt:error] [pid 6824:tid 484] (OS 2)The system cannot find the file specified. : AH00436: No installed service named "Apache2.4".
.\wamp64\bin\apache\apache2.4.23\bin\httpd.exe -k wampapache64 -k start
[Thu Aug 22 15:13:28.453760 2019] [mpm_winnt:error] [pid 1348:tid 488] (OS 2)The system cannot find the file specified. : AH00436: No installed service named "Apache2.4".
.\wamp64\bin\apache\apache2.4.23\bin\httpd.exe -k stop
[Thu Aug 22 15:13:40.899096 2019] [mpm_winnt:error] [pid 11400:tid 164] (OS 2)The system cannot find the file specified. : AH00436: No installed service named "Apache2.4".
.\wamp64\bin\apache\apache2.4.23\bin\httpd.exe -k uninstall
[Thu Aug 22 15:14:13.829391 2019] [mpm_winnt:error] [pid 13820:tid 468] (OS 2)The system cannot find the file specified. : AH00436: No installed service named "Apache2.4".