I had no problems with apache for several weeks. But suddenly it won't start. Here is the xampp/apache/logs/error.log entry (I have parsed it for easier reading)
Terminating on signal SIGTERM(15)
httpd.exe: Syntax error on line 510 of K:/xampp/apache/conf/httpd.conf:
Syntax error on line 2 of K:/xampp/apache/conf/extra/mod_jk.conf:
Syntax error on line 4 of K:/xampp/tomcat/conf/auto/mod_jk.conf:
Cannot load K:/xampp/tomcat/xampp/apache/modules/mod_jk.so into server: The specified module could not be found.
I followed through the successive folders in the log message and found that mod_jk.so does not exist in that folder. Yet line 4 of K:/xampp/tomcat/conf/auto/mod_jk.conf is looking for it there. Here is that file:
########## Auto generated on Sun Sep 06 11:19:01 EDT 2009##########
<IfModule !mod_jk.c>
LoadModule jk_module "K:/xampp/tomcat/xampp/apache/modules/mod_jk.so"
</IfModule>
JkWorkersFile "K:/xampp/tomcat/conf/jk/workers.properties"
JkLogFile "K:/xampp/tomcat/logs/mod_jk.log"
JkLogLevel emerg
<VirtualHost localhost>
ServerName localhost
JkMount /examples ajp13
JkMount /examples/* ajp13
JkMount /host-manager ajp13
JkMount /host-manager/* ajp13
JkMount /docs ajp13
JkMount /docs/* ajp13
JkMount /manager ajp13
JkMount /manager/* ajp13
</VirtualHost>
I see that it was autogenerated on Sept 6th. I noted also that there is no mod_jk.log file within xampp (I assume it would be autogenerated as required.)
Finally, I searched all of xampp for mod_jk.so and found that one exists in the path \xampp\apache\modules\
So, my questions are (1) should I modify line 4 of xampp/tomcat/conf/auto/mod_jk.conf to read:
LoadModule jk_module "K:/xampp/apache/modules/mod_jk.so" ?
(2) will the missing mod_jk.log break startup of the apache service ?
Thanks,
TDinDC