Answer the question
In order to leave comments, you need to log in
Apache not working after Windows 10 update, what to do?
Good day. Yesterday I ran into a problem, after updating windows 10, the Apache web server stopped starting. The first thing I did was look in the services, the process was turned off, turned on. The dialog box answered me quoting "Could not start Apache 2.4 service on Local Machine. Error 1067: The process terminated unexpectedly."
Surprised, googled. I found a post with reinstalling the service from the \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ nameservices registry
with the sfc /scannow command
, but after the command started, I realized that I was wasting my time.
In the console wrote that there are errors, read the log file, and the last line of the log says that everything is ok. But in general, I did not find a mention of Apache in the log.
-------------
2019-07-21 03:39:29, Info CSI 00000336 [SR] Verify and Repair Transaction completed. All files and registry keys listed in this transaction have been successfully repaired
-------------
Later I returned the registry entry to its place, fortunately exported it.
Running from the Apache console did not give anything and did not write anything ... In the Apache logs (error.log) after the start there is an entry "httpd.pid overwritten -- Unclean shutdown of previous Apache run?" What that means, I don't know. Keyword search did not give me a solution to the problem. Tell me how to be, and what to do? I use a server to record video surveillance, and Apache, with puff, and muscle, to access content. Linux would be better, but no less fuss ...
error.log
[Sat Jul 20 23:55:02.437405 2019] [mpm_winnt:notice] [pid 2932:tid 760] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sat Jul 20 23:55:04.796958 2019] [mpm_winnt:notice] [pid 3756:tid 704] AH00364: Child: All worker threads have exited.
[Sat Jul 20 23:55:18.093849 2019] [mpm_winnt:notice] [pid 2932:tid 760] AH00430: Parent: Child process 3756 exited successfully.
[Sun Jul 21 02:35:56.152534 2019] [core:warn] [pid 4152:tid 640] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ore:warn] [pid 3552:tid 632] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 02:38:32.537338 2019] [core:warn] [pid 4132:tid 660] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ore:warn] [pid 4436:tid 632] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 02:39:10.873452 2019] [core:warn] [pid 2792:tid 544] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 02:39:21.180445 2019] [core:warn] [pid 3972:tid 544] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ore:warn] [pid 6884:tid 632] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 02:42:39.655080 2019] [core:warn] [pid 2880:tid 704] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 02:55:53.807741 2019] [core:warn] [pid 1088:tid 704] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 03:52:49.867302 2019] [core:warn] [pid 2908:tid 616] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 03:55:36.632698 2019] [core:warn] [pid 3896:tid 632] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ore:warn] [pid 4124:tid 612] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ore:warn] [pid 244:tid 628] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ore:warn] [pid 3400:tid 660] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 15:48:51.468555 2019] [core:warn] [pid 1588:tid 632] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
[Sun Jul 21 16:18:57.792285 2019] [core:warn] [pid 5192:tid 508] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 18:12:00.361831 2019] [core:warn] [pid 6156:tid 600] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jul 21 18:18:56.846365 2019] [core:warn] [pid 2616:tid 656] AH00098: pid file C:/server/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Answer the question
In order to leave comments, you need to log in
The author, cool solution))), all you had to do was add the path to the php type to the "environment variables"
like this D: / www / bin / php / well, that is. the path that you have)) and then of course restart the server!
httpd.pid overwritten -- Unclean shutdown of previous Apache run?" I don't know what that means.this is the file where apache's pid is written. If it is not empty, then Apache did not exit correctly last time, but suddenly. An error, or the light was cut down, for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question