You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Harcharan Singh <ch...@yahoo.com> on 2009/03/09 21:58:25 UTC

Syntex error in http.conf with 'Include conf/mod_jk.conf'


Hi There,

I got the 'syntex error' and 'file not find error' when i use the include directive  for mod_jk in httpd.conf file. 

I have created 'mod_jk.conf' in the 'conf' directory of Apache installation.

It tried various triks, but the error doesn't go away.

As soon as , i comment the include directive , the server starts without any error. But, with the include directive, it throws the above written error.

Please help on this issue.


thanks,
harrry




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Syntex error in http.conf with 'Include conf/mod_jk.conf'

Posted by André Warnier <aw...@ice-sa.com>.
Gregor Schneider wrote:
> On Tue, Mar 10, 2009 at 10:53 PM, Harcharan Singh <ch...@yahoo.com> wrote:
>>
>> If i am on the wrong mailing-list. Could you please let me know which is correct mailing-list for this question.
>>
> Take this one: http://httpd.apache.org/userslist.html
> 
Well, it's a bit more complicated..
The mod_jk connector is "Tomcat's baby" in the words of one of the 
Apache httpd gurus, so calls for help on it really belong here (and 
Rainer lurks around here usually).
However, the OP seems to have first a problem of httpd configuration, 
which belongs to the Apache users list.
So since I am on both lists anyway, let me just give a hint.

Harcharan, the error message you get :

httpd.exe: Syntax error on line 475 of C:/apacheInst/conf/httpd.conf: 
Could not open configuration file C:/apacheInst/conf/mod-jk.conf: The 
system cannot find the file specified.

seems rather explicit : in your Apache configuration file, on line 475, 
you refer to a file "mod-jk.conf", and Apache cannot find it where you 
say it should be.  So I guess it is not there, and that is the problem.
Can you cut out and post lines 470-480 of your Apache httpd.conf file ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Syntex error in http.conf with 'Include conf/mod_jk.conf'

Posted by Harcharan Singh <ch...@yahoo.com>.
thanks.

Solved my problem by removing .txt entension from mod_jk.conf.txt.

thanks,



----- Original Message ----
From: Gregor Schneider <rc...@googlemail.com>
To: Tomcat Users List <us...@tomcat.apache.org>
Sent: Tuesday, March 10, 2009 3:12:03 PM
Subject: Re: Syntex error in http.conf with 'Include conf/mod_jk.conf'

On Tue, Mar 10, 2009 at 10:53 PM, Harcharan Singh <ch...@yahoo.com> wrote:
>
>
> If i am on the wrong mailing-list. Could you please let me know which is correct mailing-list for this question.
>
Take this one: http://httpd.apache.org/userslist.html

Rgds

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Syntex error in http.conf with 'Include conf/mod_jk.conf'

Posted by Gregor Schneider <rc...@googlemail.com>.
On Tue, Mar 10, 2009 at 10:53 PM, Harcharan Singh <ch...@yahoo.com> wrote:
>
>
> If i am on the wrong mailing-list. Could you please let me know which is correct mailing-list for this question.
>
Take this one: http://httpd.apache.org/userslist.html

Rgds

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Syntex error in http.conf with 'Include conf/mod_jk.conf'

Posted by Harcharan Singh <ch...@yahoo.com>.
Sorry, i was not subscribe to the mailing-list, so i couldn't see the reply.

BTW, the problem still exist. i have installed Apache with msi installer and  the APACHE_HOME is set.

Following is the error i gets on my command line.

C:\apacheInst\bin>httpd.exe -k start
httpd.exe: Syntax error on line 475 of C:/apacheInst/conf/httpd.conf: Could not
open configuration file C:/apacheInst/conf/mod-jk.conf: The system cannot find the file specified.

If i am on the wrong mailing-list. Could you please let me know which is correct mailing-list for this question.

please reply,

harry



----- Original Message ----
From: "Caldarale, Charles R" <Ch...@unisys.com>
To: Tomcat Users List <us...@tomcat.apache.org>
Sent: Monday, March 9, 2009 3:01:23 PM
Subject: RE: Syntex error in http.conf with 'Include conf/mod_jk.conf'

> From: Harcharan Singh [mailto:charan85008@yahoo.com] 
> Subject: Syntex error in http.conf with 'Include conf/mod_jk.conf'
> 
> I got the 'syntex error' and 'file not find error' 

Marco A already answered your first two attempts at misspelling syntax:
http://marc.info/?l=tomcat-user&m=123657777626263&w=2

Did you bother to read it?

Please don't post the same question again.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Syntex error in http.conf with 'Include conf/mod_jk.conf'

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Harcharan Singh [mailto:charan85008@yahoo.com] 
> Subject: Syntex error in http.conf with 'Include conf/mod_jk.conf'
> 
> I got the 'syntex error' and 'file not find error' 

Marco A already answered your first two attempts at misspelling syntax:
http://marc.info/?l=tomcat-user&m=123657777626263&w=2

Did you bother to read it?

Please don't post the same question again.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org