New
#1
Apache 2 error.log - Apache wont start on Win 10 - shows Cygwin path
I consulted this forum a few weeks ago, trying to get my Windows 10 update to complete and function properly. I did achieve success with that, then I realize my Apache / localhost server was no longer working. I did some unsuccessful tweaking and lost all connectivity, which was ultimately resolved using the COMODO Uninstall tool with the help of this forum!. I realize there are Apache http server specific forums out there, but this forum has a helpful membership! So, I'm starting here.
Now that I have internet connectivity, i'm back to trying to get Apache to work properly.
I find it... really unusual that it's showing a Cygwin path. I was super into Linux / Cygwin back in 2017 and apparently did a lot of customizations to this particular System (sys 1 in my profile). The error on Services > Apache 2 > [start]
My question is: Why would I have CYGWIN info / errors in my Apache log file. It's a Windows service on this system. I don't get it.
NOTE: (edit) - Looking through the older part of the error.log, i see the Cygwin error was present back in 2016. (had this system in storage until 09/2021). So, that must not be it?
None of what's in that log is telling me much. Note the dates. The "final" Win 10 update (when the weather appeared in the taskbar) happened around 09/30/2021 ... but, this doesn't make sense.Code:[Fri Sep 03 12:40:38 2021] [notice] Apache/2.2.21 (Win32) PHP/5.3.13 configured -- resuming normal operations [Fri Sep 03 12:40:38 2021] [notice] Server built: Sep 9 2011 10:26:10 [Fri Sep 03 12:40:41 2021] [notice] Parent: Created child process 4536 [Fri Sep 03 12:41:18 2021] [notice] Child 4536: Child process is running [Fri Sep 03 12:41:18 2021] [notice] Child 4536: Acquired the start mutex. [Fri Sep 03 12:41:18 2021] [notice] Child 4536: Starting 64 worker threads. [Fri Sep 03 12:41:18 2021] [notice] Child 4536: Starting thread to listen on port 80. [Sun Sep 26 23:47:24 2021] [warn] pid file O:/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sun Sep 26 23:47:26 2021] [notice] Apache/2.2.21 (Win32) PHP/5.3.13 configured -- resuming normal operations [Sun Sep 26 23:47:26 2021] [notice] Server built: Sep 9 2011 10:26:10 [Sun Sep 26 23:47:26 2021] [notice] Parent: Created child process 7680 [Sun Sep 26 23:47:27 2021] [notice] Child 7680: Child process is running [Sun Sep 26 23:47:27 2021] [notice] Child 7680: Acquired the start mutex. [Sun Sep 26 23:47:27 2021] [notice] Child 7680: Starting 64 worker threads. [Sun Sep 26 23:47:27 2021] [notice] Child 7680: Starting thread to listen on port 80. [Sun Sep 26 23:47:29 2021] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Sep 26 23:47:29 2021] [notice] Child 7680: Exit event signaled. Child process is ending. [Sun Sep 26 23:47:30 2021] [notice] Child 7680: Released the start mutex [Sun Sep 26 23:47:31 2021] [notice] Child 7680: All worker threads have exited. [Sun Sep 26 23:47:31 2021] [notice] Child 7680: Child process is exiting [Sun Sep 26 23:47:31 2021] [notice] Parent: Child process exited successfully. [Sun Sep 26 23:49:07 2021] [notice] Apache/2.2.21 (Win32) PHP/5.3.13 configured -- resuming normal operations [Sun Sep 26 23:49:07 2021] [notice] Server built: Sep 9 2011 10:26:10 [Sun Sep 26 23:49:07 2021] [notice] Parent: Created child process 16284 [Sun Sep 26 23:49:08 2021] [notice] Child 16284: Child process is running [Sun Sep 26 23:49:08 2021] [notice] Child 16284: Acquired the start mutex. [Sun Sep 26 23:49:08 2021] [notice] Child 16284: Starting 64 worker threads. [Sun Sep 26 23:49:08 2021] [notice] Child 16284: Starting thread to listen on port 80. [Sun Sep 26 23:56:09 2021] [error] [client 127.0.0.1] File does not exist: O:/Apache2/htdocs/codeRepo [Mon Sep 27 00:06:59 2021] [error] [client 127.0.0.1] File does not exist: O:/Apache2/htdocs/[obfuscated_file_name_20211014].png, referer: http://localhost/[obfuscated_path_name_20211014]/ [Mon Sep 27 00:08:17 2021] [error] [client 127.0.0.1] File does not exist: O:/Apache2/htdocs/[obfuscated_file_name_20211014].png, referer: http://localhost/[obfuscated_path_name_20211014]/ cygwin warning: MS-DOS style path detected: O:\Apache2\htdocs\[obfuscated_file_name_20211014]public_html/wp-content/backup-3f6ae/[obfuscated_file_name_20211014].sql Preferred POSIX equivalent is: /cygdrive/o/Apache2/htdocs/[obfuscated_file_name_20211014].sql CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames [Wed Sep 29 08:02:19 2021] [warn] pid file O:/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed Sep 29 08:03:13 2021] [notice] Apache/2.2.21 (Win32) PHP/5.3.13 configured -- resuming normal operations [Wed Sep 29 08:03:13 2021] [notice] Server built: Sep 9 2011 10:26:10 [Wed Sep 29 08:03:20 2021] [notice] Parent: Created child process 5732 [Wed Sep 29 08:03:56 2021] [notice] Child 5732: Child process is running [Wed Sep 29 08:03:57 2021] [notice] Child 5732: Acquired the start mutex. [Wed Sep 29 08:03:57 2021] [notice] Child 5732: Starting 64 worker threads. [Wed Sep 29 08:03:57 2021] [notice] Child 5732: Starting thread to listen on port 80. [Wed Sep 29 12:44:19 2021] [warn] pid file O:/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?* * *clipped*** [Thu Sep 30 15:20:32 2021] [notice] Apache/2.2.21 (Win32) PHP/5.3.13 configured -- resuming normal operations [Thu Sep 30 15:20:32 2021] [notice] Server built: Sep 9 2011 10:26:10 [Thu Sep 30 15:20:32 2021] [notice] Parent: Created child process 1792 [Thu Sep 30 15:20:32 2021] [notice] Child 1792: Child process is running [Thu Sep 30 15:20:32 2021] [notice] Child 1792: Acquired the start mutex. [Thu Sep 30 15:20:32 2021] [notice] Child 1792: Starting 64 worker threads. [Thu Sep 30 15:20:32 2021] [notice] Child 1792: Starting thread to listen on port 80. [Thu Sep 30 15:30:07 2021] [warn] pid file O:/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Thu Sep 30 15:30:09 2021] [notice] Apache/2.2.21 (Win32) PHP/5.3.13 configured -- resuming normal operations [Thu Sep 30 15:30:09 2021] [notice] Server built: Sep 9 2011 10:26:10 [Thu Sep 30 15:30:09 2021] [notice] Parent: Created child process 9440 [Thu Sep 30 15:30:09 2021] [notice] Child 9440: Child process is running [Thu Sep 30 15:30:09 2021] [notice] Child 9440: Acquired the start mutex. [Thu Sep 30 15:30:09 2021] [notice] Child 9440: Starting 64 worker threads. [Thu Sep 30 15:30:09 2021] [notice] Child 9440: Starting thread to listen on port 80.
Why no additions to the error log since 09/30/2021 when I've been messing with it all day, 10/14/2021? What am I forgetting?
I can't see how a bad file path, regardless of where it's coming from, or if it was DOS format that it would cause Apache to stop writing to the log file. The log file does go until 09/30/2021 - i am merely sparing you the rest of the log... it's the same thing over and over after that MS-DOS path error message. (i think i've concluded it's /probably/ not that, considering it didn't cause Apache to crash when everything was working in 2016)
I'm at a loss.
Edit: This is one of the things I found in the System Event viewer. I'm not really sure what i'm looking for there.
I have a version of a portable WAMP stack on a USB drive, but it's just not the same. Not to mention my entire MySQL server (reconfigure access to my existing MySQL data, using the USB drive WAMP stack? i don't look forward to this.) / db's!Code:The Apache2.2 service terminated with the following service-specific error: Incorrect function.
- - - Updated - - -
I forgot I didn't restart after disabling the W3SVC service. I thought it was installed with Win 10 back in 2015? But, I read somewhere that could be the culprit. restarting now.
Edit: the restart did not help, and that service is disabled.
Last edited by ajaxStardust; 14 Oct 2021 at 21:28. Reason: update after restart