Forums Register Login

Can not start Apache with mod_jk.conf

+Pie Number of slices to send: Send
I can't start apache. I got the following error.

C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd.exe -k start
httpd.exe: Syntax error on line 476 of C:/Program Files/Apache Software Foundati
on/Apache2.2/conf/httpd.conf: Could not open configuration file C:/Program Files
/Apache Software Foundation/Apache2.2/conf/mod-jk.conf: The system cannot find t
he file specified.

i have mod-jk.conf file in the conf directory.

I have the include directive in the httpd.conf file as follows.

# Include mod_jk's specific configuration file
Include conf/mod-jk.conf


Please reply,

kanwal
+Pie Number of slices to send: Send
Hi there,

Sometimes Apache really dislikes being installed in a location that has spaces in it (e.g. "Program Files"). I'd suggest installing another copy without spaces and see how that works out for you.
+Pie Number of slices to send: Send
Thanks for the reply.

I tried your suggestion, but still the same error.

C:\apacheInst\bin>httpd.exe -k start
httpd.exe: Syntax error on line 476 of C:/apacheInst/conf/httpd.conf: Could not
open configuration file C:/apacheInst/conf/mod_jk.conf: The system cannot find t
he file specified.

please reply,

kanwal
+Pie Number of slices to send: Send
Thanks,

Solved my problem by removing the 'txt' extension of 'mod_jk.conf.txt' in windows.

thanks again.
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2908 times.
Similar Threads
Unable to open the service Tomcat5
500 internal Server Error when integrate Apache 2.2.17 with tomcat 6.0.29
Setting Load balancer for JBoss using Apache and mod_jk
Installing tools from Ajax and PHP
Connecting Apache 2.2 and Tomcat 5.5
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:55:48.