Re: First mod_jk problem - can't start apache with Include statement(revisited)

2003-08-28 Thread John Turner
A good test would be to create a file called "test.conf" in 
APACHE_HOME/conf.

In that file, put the following:

###
### this is an apache comment
###
Change the Include line in httpd.conf to include the file test.conf and 
NOT mod_jk.conf.

Then start Apache or run configtest and see what happens.  If it hangs, 
its definitely an Apache issue.

John

Denise Mangano wrote:

Not really sure if this is a problem as of yet.  I currently cannot test
my configuration ... But I just wanted to write again regarding this
issue.  As I followed the how-to, I did things a little out of order.
Before changing Tomcat, and while Tomcat was not running, I added the
LoadModule and Include statements into httpd.conf.  I then ran an
apachectl configtest.  The configtest executed fine and I was returned
an error message that the file mod_jk.conf could not be found.  This was
right, because the file was not generated yet.
I then set up server.xml and created my workers.properties and started
Tomcat, which started no problem.
I then went back to apache and ran another configtest, and surprise...
It hangs... And so does apachectl start ...So we're back to the same
issue.  I am having a hard time at this point believing it is an Apache
issue, because the configtest executed fine with the include before
Tomcat was started and before the mod_jk.conf was created.
So what I did next was one at a time, I added in the Jk statements into
the httpd.conf to rule out this being an issue with the mod_jk
module(?).  First I added in the JkWorkersFile, then ran a configtest.
Then added in the JkLogFile and ran a configtest.  Lastly added in some
JkMount statements and ran a configtest.  At each of these points, the
configtest executed and was successful.  I can also start and stop
apache no problem.
As I mentioned, I cannot test whether or not mod_jk works just yet
(network issues)... There were no errors when starting either Tomcat or
apache.  But I do find it strange that I can't start apache just because
I have the Include statement.
Any further thoughts on this?  The output of httpd -l just lists
mod_core and mod_so.  I have all other modules added as DSO's.
Thanks :)
DEnise

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 27, 2003 11:08 AM
To: Tomcat Users List
Subject: Re: [OFF-TOPIC] Re: First mod_jk problem - can't 
start apache with Include statement



Cool.  My typical Apache build is:

./configure --enable-so --enable-ssl
make
make install
John

Denise Mangano wrote:


Yes I am.  The problem (right now) definitely appears to be some 
issues with Apache.  Unfortunately, the Apache list isn't 
as heavily 

trafficked, or as quick to response, so I'm still waiting on some 
replies while I search the archives.  I think I have to recompile 
Apache.  I added in a few extra flags when I did this yesterday to 
make it more "secure" but I think I am better off just 
keeping it as 

is, then taking out what I don't need later...

Won't be able to determine if I have a mod_jk problem at 
all until I 

get my Apache running properly.



-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 10:47 AM
To: Tomcat Users List
Subject: [OFF-TOPIC] Re: First mod_jk problem - can't start 
apache with Include statement



Are you loading mod_ssl?

I'm marking this as off-topic because we haven't determined
that this is 
a JK/Tomcat problem yet.

John

Denise Mangano wrote:



Yeah, it appears to be my apache.  I still get that
SSLMutex error.  I


have to work on getting that resolved.

This is the output of httpd -l:

http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
  suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
Denise




-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 10:25 AM
To: Tomcat Users List
Subject: Re: First mod_jk problem - can't start apache with
Include statement


Hate to say it, but it sounds like your Apache is munged up.

If you delete the mod_jk.conf Include, and you delete all 
other JK 

stuff

from httpd.conf, your Apache starts up properly, with no errors?


What is the output of "httpd -l"?

John

Denise Mangano wrote:




OK, I tried adding the Jk directives directly into the 
httpd.conf 

file, and apache at least starts.  So the problem is the include 
statement. Is it possible that I don't have whatever module
is needed



to support the "Include" statement?

So now the problem is that although apache starts, it does
not start



properly.  When I run ps -a

Re: First mod_jk problem - can't start apache with Include statement(revisited)

2003-08-28 Thread John Turner
I woudl skip the Include statement and modify httpd.conf manually as you 
have.  For anything but a simple configuration, you have to do it 
anyway, so there's no real loss.

John

Denise Mangano wrote:

Not really sure if this is a problem as of yet.  I currently cannot test
my configuration ... But I just wanted to write again regarding this
issue.  As I followed the how-to, I did things a little out of order.
Before changing Tomcat, and while Tomcat was not running, I added the
LoadModule and Include statements into httpd.conf.  I then ran an
apachectl configtest.  The configtest executed fine and I was returned
an error message that the file mod_jk.conf could not be found.  This was
right, because the file was not generated yet.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: First mod_jk problem - can't start apache with Include statement (revisited)

2003-08-28 Thread Denise Mangano
Not really sure if this is a problem as of yet.  I currently cannot test
my configuration ... But I just wanted to write again regarding this
issue.  As I followed the how-to, I did things a little out of order.
Before changing Tomcat, and while Tomcat was not running, I added the
LoadModule and Include statements into httpd.conf.  I then ran an
apachectl configtest.  The configtest executed fine and I was returned
an error message that the file mod_jk.conf could not be found.  This was
right, because the file was not generated yet.

I then set up server.xml and created my workers.properties and started
Tomcat, which started no problem.

I then went back to apache and ran another configtest, and surprise...
It hangs... And so does apachectl start ...So we're back to the same
issue.  I am having a hard time at this point believing it is an Apache
issue, because the configtest executed fine with the include before
Tomcat was started and before the mod_jk.conf was created.

So what I did next was one at a time, I added in the Jk statements into
the httpd.conf to rule out this being an issue with the mod_jk
module(?).  First I added in the JkWorkersFile, then ran a configtest.
Then added in the JkLogFile and ran a configtest.  Lastly added in some
JkMount statements and ran a configtest.  At each of these points, the
configtest executed and was successful.  I can also start and stop
apache no problem.

As I mentioned, I cannot test whether or not mod_jk works just yet
(network issues)... There were no errors when starting either Tomcat or
apache.  But I do find it strange that I can't start apache just because
I have the Include statement.

Any further thoughts on this?  The output of httpd -l just lists
mod_core and mod_so.  I have all other modules added as DSO's.

Thanks :)
DEnise

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 11:08 AM
> To: Tomcat Users List
> Subject: Re: [OFF-TOPIC] Re: First mod_jk problem - can't 
> start apache with Include statement
> 
> 
> 
> Cool.  My typical Apache build is:
> 
> ./configure --enable-so --enable-ssl
> make
> make install
> 
> John
> 
> Denise Mangano wrote:
> 
> > Yes I am.  The problem (right now) definitely appears to be some 
> > issues with Apache.  Unfortunately, the Apache list isn't 
> as heavily 
> > trafficked, or as quick to response, so I'm still waiting on some 
> > replies while I search the archives.  I think I have to recompile 
> > Apache.  I added in a few extra flags when I did this yesterday to 
> > make it more "secure" but I think I am better off just 
> keeping it as 
> > is, then taking out what I don't need later...
> > 
> > Won't be able to determine if I have a mod_jk problem at 
> all until I 
> > get my Apache running properly.
> > 
> > 
> >>-----Original Message-
> >>From: John Turner [mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, August 27, 2003 10:47 AM
> >>To: Tomcat Users List
> >>Subject: [OFF-TOPIC] Re: First mod_jk problem - can't start 
> >>apache with Include statement
> >>
> >>
> >>
> >>Are you loading mod_ssl?
> >>
> >>I'm marking this as off-topic because we haven't determined
> >>that this is 
> >>a JK/Tomcat problem yet.
> >>
> >>John
> >>
> >>Denise Mangano wrote:
> >>
> >>
> >>>Yeah, it appears to be my apache.  I still get that
> >>
> >>SSLMutex error.  I
> >>
> >>>have to work on getting that resolved.
> >>>
> >>>This is the output of httpd -l:
> >>>
> >>>   http_core.c
> >>>   mod_env.c
> >>>   mod_log_config.c
> >>>   mod_mime.c
> >>>   mod_negotiation.c
> >>>   mod_status.c
> >>>   mod_include.c
> >>>   mod_dir.c
> >>>   mod_cgi.c
> >>>   mod_asis.c
> >>>   mod_imap.c
> >>>   mod_actions.c
> >>>   mod_alias.c
> >>>   mod_access.c
> >>>   mod_auth.c
> >>>   mod_so.c
> >>>   mod_setenvif.c
> >>>suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> >>>
> >>>Denise
> >>>
> >>>
> >>>
> >>>>-Original Message-
> >>>>From: John Turner [mailto:[EMAIL PROTECTED]
> >>>>Sent: Wednesday, August 27, 2003 10:25 AM
> >>>>To: Tomcat Users List
> >>>>Subject: Re: First mod_jk problem - can't start apache with
> >>>&

RE: [OFF-TOPIC] Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
Yes I am.  The problem (right now) definitely appears to be some issues
with Apache.  Unfortunately, the Apache list isn't as heavily
trafficked, or as quick to response, so I'm still waiting on some
replies while I search the archives.  I think I have to recompile
Apache.  I added in a few extra flags when I did this yesterday to make
it more "secure" but I think I am better off just keeping it as is, then
taking out what I don't need later...  

Won't be able to determine if I have a mod_jk problem at all until I get
my Apache running properly.

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 10:47 AM
> To: Tomcat Users List
> Subject: [OFF-TOPIC] Re: First mod_jk problem - can't start 
> apache with Include statement
> 
> 
> 
> Are you loading mod_ssl?
> 
> I'm marking this as off-topic because we haven't determined 
> that this is 
> a JK/Tomcat problem yet.
> 
> John
> 
> Denise Mangano wrote:
> 
> > Yeah, it appears to be my apache.  I still get that 
> SSLMutex error.  I 
> > have to work on getting that resolved.
> > 
> > This is the output of httpd -l:
> > 
> > http_core.c
> > mod_env.c
> > mod_log_config.c
> > mod_mime.c
> > mod_negotiation.c
> > mod_status.c
> > mod_include.c
> > mod_dir.c
> > mod_cgi.c
> > mod_asis.c
> > mod_imap.c
> > mod_actions.c
> > mod_alias.c
> > mod_access.c
> > mod_auth.c
> > mod_so.c
> > mod_setenvif.c
> > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> > 
> > Denise
> > 
> > 
> >>-Original Message-
> >>From: John Turner [mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, August 27, 2003 10:25 AM
> >>To: Tomcat Users List
> >>Subject: Re: First mod_jk problem - can't start apache with 
> >>Include statement
> >>
> >>
> >>
> >>Hate to say it, but it sounds like your Apache is munged up.
> >>
> >>If you delete the mod_jk.conf Include, and you delete all
> >>other JK stuff 
> >>from httpd.conf, your Apache starts up properly, with no errors?
> >>
> >>What is the output of "httpd -l"?
> >>
> >>John
> >>
> >>Denise Mangano wrote:
> >>
> >>
> >>>OK, I tried adding the Jk directives directly into the httpd.conf
> >>>file, and apache at least starts.  So the problem is the include 
> >>>statement. Is it possible that I don't have whatever module 
> >>
> >>is needed
> >>
> >>>to support the "Include" statement?
> >>>
> >>>So now the problem is that although apache starts, it does
> >>
> >>not start
> >>
> >>>properly.  When I run ps -aux | grep httpd I get the following:
> >>>   www 80740.0   0.0   00  ?Z10:070:00
> >>>[httpd ]
> >>>   www 80740.0   0.0   00  ?Z10:070:00
> >>>[httpd ]
> >>>   www 80740.0   0.0   00  ?Z10:070:00
> >>>[httpd ]
> >>>   www 80740.0   0.0   00  ?Z10:070:00
> >>>[httpd ]
> >>>
> >>>And needless to say I can't get to my web page.  Now again I am
> >>>getting those error messages in both my error_log and 
> >>
> >>ssl_engine_log:
> >>
> >>>   [error]mod_ssl: Child could not open SSLMutex lockfile
> >>>/usr/local/apache/logs/ssl_mutex.30776 (System error follows)
> >>>   [error]System: Permission denied (errno: 13)
> >>>
> >>>So apparently I have a problem with mod_ssl, which I guess I didn't
> >>>resolve yesterday and should post to the apache list.  But the 
> >>>question still remains why using the Include statement 
> >>
> >>would prevent
> >>
> >>>Apache from starting at all?
> >>>
> >>>Thanks for your help :)
> >>>Denise
> >>>
> >>
> >>
> >>
> >>
> -
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
Yeah, it appears to be my apache.  I still get that SSLMutex error.  I
have to work on getting that resolved.

This is the output of httpd -l:

http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec

Denise

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 10:25 AM
> To: Tomcat Users List
> Subject: Re: First mod_jk problem - can't start apache with 
> Include statement
> 
> 
> 
> Hate to say it, but it sounds like your Apache is munged up.
> 
> If you delete the mod_jk.conf Include, and you delete all 
> other JK stuff 
> from httpd.conf, your Apache starts up properly, with no errors?
> 
> What is the output of "httpd -l"?
> 
> John
> 
> Denise Mangano wrote:
> 
> > OK, I tried adding the Jk directives directly into the httpd.conf 
> > file, and apache at least starts.  So the problem is the include 
> > statement. Is it possible that I don't have whatever module 
> is needed 
> > to support the "Include" statement?
> > 
> > So now the problem is that although apache starts, it does 
> not start 
> > properly.  When I run ps -aux | grep httpd I get the following:
> > www 80740.0   0.0   00  ?Z10:070:00
> > [httpd ]
> > www 80740.0   0.0   00  ?Z10:070:00
> > [httpd ]
> > www 80740.0   0.0   00  ?Z10:070:00
> > [httpd ]
> > www 80740.0   0.0   00  ?Z10:070:00
> > [httpd ]
> > 
> > And needless to say I can't get to my web page.  Now again I am 
> > getting those error messages in both my error_log and 
> ssl_engine_log:
> > [error]mod_ssl: Child could not open SSLMutex lockfile 
> > /usr/local/apache/logs/ssl_mutex.30776 (System error follows)
> > [error]System: Permission denied (errno: 13)
> > 
> > So apparently I have a problem with mod_ssl, which I guess I didn't 
> > resolve yesterday and should post to the apache list.  But the 
> > question still remains why using the Include statement 
> would prevent 
> > Apache from starting at all?
> > 
> > Thanks for your help :)
> > Denise
> > 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread John Turner
Hate to say it, but it sounds like your Apache is munged up.

If you delete the mod_jk.conf Include, and you delete all other JK stuff 
from httpd.conf, your Apache starts up properly, with no errors?

What is the output of "httpd -l"?

John

Denise Mangano wrote:

OK, I tried adding the Jk directives directly into the httpd.conf file,
and apache at least starts.  So the problem is the include statement.
Is it possible that I don't have whatever module is needed to support
the "Include" statement?  

So now the problem is that although apache starts, it does not start
properly.  When I run ps -aux | grep httpd I get the following:
www 80740.0   0.0   00  ?Z10:070:00
[httpd ]
www 80740.0   0.0   00  ?Z10:070:00
[httpd ]
www 80740.0   0.0   00  ?Z10:070:00
[httpd ]
www 80740.0   0.0   00  ?Z10:070:00
[httpd ]
And needless to say I can't get to my web page.  Now again I am getting
those error messages in both my error_log and ssl_engine_log:
[error]mod_ssl: Child could not open SSLMutex lockfile
/usr/local/apache/logs/ssl_mutex.30776 (System error follows)
[error]System: Permission denied (errno: 13)
So apparently I have a problem with mod_ssl, which I guess I didn't
resolve yesterday and should post to the apache list.  But the question
still remains why using the Include statement would prevent Apache from
starting at all?
Thanks for your help :)
Denise


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
OK, I tried adding the Jk directives directly into the httpd.conf file,
and apache at least starts.  So the problem is the include statement.
Is it possible that I don't have whatever module is needed to support
the "Include" statement?  

So now the problem is that although apache starts, it does not start
properly.  When I run ps -aux | grep httpd I get the following:
www 80740.0   0.0   00  ?Z10:070:00
[httpd ]
www 80740.0   0.0   00  ?Z10:070:00
[httpd ]
www 80740.0   0.0   00  ?Z10:070:00
[httpd ]
www 80740.0   0.0   00  ?Z10:070:00
[httpd ]

And needless to say I can't get to my web page.  Now again I am getting
those error messages in both my error_log and ssl_engine_log:
[error]mod_ssl: Child could not open SSLMutex lockfile
/usr/local/apache/logs/ssl_mutex.30776 (System error follows)
[error]System: Permission denied (errno: 13)

So apparently I have a problem with mod_ssl, which I guess I didn't
resolve yesterday and should post to the apache list.  But the question
still remains why using the Include statement would prevent Apache from
starting at all?

Thanks for your help :)
Denise



> -Original Message-  
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 9:29 AM
> To: Tomcat Users List
> Subject: Re: First mod_jk problem - can't start apache with 
> Include statement
> 
> 
> 
> configtest doesn't return an error?  It just hangs?  That is 
> very funky.
> 
> Can you post your mod_jk.conf?
> 
> John
> 
> Denise Mangano wrote:
> 
> > The same thing happens... It just hangs  Also, the same 
> situation. 
> > If I comment out the Include statement in httpd.conf I can run the 
> > configtest ok.
> > 
> > 
> >>-Original Message-
> >>From: John Turner [mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, August 27, 2003 9:20 AM
> >>To: Tomcat Users List
> >>Subject: Re: First mod_jk problem - can't start apache with 
> >>Include statement
> >>
> >>
> >>
> >>What's the output of "APACHE_HOME/bin/apachectl configtest"?
> >>
> >>John
> >>
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
Yes it is very strange.  I also tried it with Tomcat stopped, and still
that Include statement seems to be the offending line.

I sent my files with the previous emails, including the httpd.conf.  I
am wondering, if I try to put all the relevant JK 'stuff' directly into
the httpd.conf file will it work I am going to try that in the
meantime...

Thanks again:

mod_jk.conf :  (All paths to module, workers, etc are correct)

## Auto generated on Wed Aug 27 08:54:18 UTC 2003##


  LoadModule jk_module /usr/local/apache/libexec/mod_jk-1.3.eapi.so


JkWorkersFile
"/usr/local/jakarta-tomcat-4.1.27/conf/jk/workers.properties"
JkLogFile "/usr/local/jakarta-tomcat-4.1.27/logs/mod_jk.log"

JkLogLevel info




ServerName www.parkingticketpayment.com

 www.parkingticketpayment.com:/admin


# Static files 
Alias /admin
"/usr/local/jakarta-tomcat-4.1.27/webapps/../server/webapps/admin"


Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp 



# Deny direct access to WEB-INF and META-INF
#

AllowOverride None
deny from all



AllowOverride None
deny from all


JkMount /admin/j_security_check  ajp13
JkMount /admin/*.do  ajp13
JkMount /admin/*.jsp  ajp13

 www.parkingticketpayment.com:/webdav


# Static files 
Alias /webdav "/usr/local/jakarta-tomcat-4.1.27/webapps/webdav"


Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.html index.htm 



# Deny direct access to WEB-INF and META-INF
#

AllowOverride None
deny from all



AllowOverride None
deny from all


JkMount /webdav/*.jsp  ajp13

 www.parkingticketpayment.com:/examples


# Static files 
Alias /examples "/usr/local/jakarta-tomcat-4.1.27/webapps/examples"


Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp 



# Deny direct access to WEB-INF and META-INF
#

AllowOverride None
deny from all



AllowOverride None
deny from all


JkMount /examples/jsp/security/protected/j_security_check  ajp13
JkMount /examples/snoop  ajp13
JkMount /examples/servlet/*  ajp13
JkMount /examples/CompressionTest  ajp13
JkMount /examples/*.jsp  ajp13
JkMount /examples/servletToJsp  ajp13
JkMount /examples/SendMailServlet  ajp13

 www.parkingticketpayment.com:/tomcat-docs


# Static files 
Alias /tomcat-docs
"/usr/local/jakarta-tomcat-4.1.27/webapps/tomcat-docs"


Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp 



# Deny direct access to WEB-INF and META-INF
#

AllowOverride None
deny from all



AllowOverride None
deny from all


JkMount /tomcat-docs/*.jsp  ajp13

 www.parkingticketpayment.com:/manager


# Static files 
Alias /manager
"/usr/local/jakarta-tomcat-4.1.27/webapps/../server/webapps/manager"


Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp 



# Deny direct access to WEB-INF and META-INF
#

AllowOverride None
deny from all



AllowOverride None
deny from all


JkMount /manager/list  ajp13
JkMount /manager/deploy  ajp13
JkMount /manager/html/*  ajp13
JkMount /manager/resources  ajp13
JkMount /manager/start  ajp13
JkMount /manager/stop  ajp13
JkMount /manager/install  ajp13
JkMount /manager/*.jsp  ajp13
JkMount /manager/remove  ajp13
JkMount /manager/roles  ajp13
JkMount /manager/sessions  ajp13
JkMount /manager/serverinfo  ajp13
JkMount /manager/reload  ajp13
JkMount /manager/undeploy  ajp13



> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 9:29 AM
> To: Tomcat Users List
> Subject: Re: First mod_jk problem - can't start apache with 
> Include statement
> 
> 
> 
> configtest doesn't return an error?  It just hangs?  That is 
> very funky.
> 
> Can you post your mod_jk.conf?
> 
> John
> 
> Denise Mangano wrote:
> 
> > The same thing happens... It just hangs  Also, the same 
> situation. 
> > If I comment out the Include statement in httpd.conf I can run the 
> > configtest ok.
> > 
> > 
> >>-Original Message-----
> >>From: John Turner [mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, August 27, 2003 9:20 AM
&g

Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread John Turner
configtest doesn't return an error?  It just hangs?  That is very funky.

Can you post your mod_jk.conf?

John

Denise Mangano wrote:

The same thing happens... It just hangs  Also, the same situation.
If I comment out the Include statement in httpd.conf I can run the
configtest ok.

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 27, 2003 9:20 AM
To: Tomcat Users List
Subject: Re: First mod_jk problem - can't start apache with 
Include statement



What's the output of "APACHE_HOME/bin/apachectl configtest"?

John



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
The same thing happens... It just hangs  Also, the same situation.
If I comment out the Include statement in httpd.conf I can run the
configtest ok.

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 9:20 AM
> To: Tomcat Users List
> Subject: Re: First mod_jk problem - can't start apache with 
> Include statement
> 
> 
> 
> What's the output of "APACHE_HOME/bin/apachectl configtest"?
> 
> John
> 
> Denise Mangano wrote:
> 
> > John -
> > 
> > I just realized that I explained it slightly wrong.  When I 
> "comment" 
> > the Include statement, apache starts ok.  When I "uncomment" apache 
> > will not start.
> > 
> > I checked what you suggested.  As Bill suggested, I am including my 
> > conf files as well.
> > 
> > 1.  Apache's error logs are completely empty ...  Yesterday 
> I checked 
> > them and they had the following:
> > [error]mod_ssl: Child could not open SSLMutex lockfile 
> > /usr/local/apache/logs/ssl_mutex.30776 (System error follows)
> > [error]System: Permission denied (errno: 13)
> > 
> > That was a permissions issue, which I corrected.  Now when after 
> > starting apache, I wait about 10 seconds, then attempt to 
> start Apache 
> > and it hangs, but nothing is written to either the 
> access_log or the 
> > error_log.
> > 
> > 2.  The only thing in Tomcat's log is the server starting and 
> > stopping...  Here's the relevant mod_jk output:
> > INFO: Initializing Coyote HTTP/1.1 on port 8080
> > INFO: Starting Coyote HTTP/1.1 on port 8009
> > INFO: JK2: ajp13 listening on /0.0.0.0./8009
> > INFO: Jk running ID=0 time=0/28 
> > config=/usr/local/tomcat/conf/jk2.properties
> > 
> > Same thing that I had on my previous installation. Not sure 
> why there 
> > is mention of jk2.properties.
> > 
> > 3.  Tried moving mod_jk.conf and changing the include statement but 
> > still apache is a no go...
> > 
> > 4.  There are two connectors on port 8009 in the server.xml file.  
> > These are still the defaults:
> > 
> >  > port="8009" minProcessors="5" maxProcessors="75"
> > enableLookups="true" redirectPort="8443"
> > acceptCount="10" debug="0" connectionTimeout="0"
> > useURIValidationHack="false"
> > 
> > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> > 
> >     
> > 
> > 
> > 5.  workers.properties file in /usr/local/tomcat/conf/jk
> > #BEGIN workers.properties
> > worker.list=ajp13
> > worker.ajp13.port=8009
> > worker.ajp13.host=localhost
> > worker.ajp13.type=ajp13
> > #END workers.properties
> > 
> > Thanks,
> > 
> > Denise
> > 
> > 
> >>-Original Message-
> >>From: John Turner [mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, August 27, 2003 8:19 AM
> >>To: Tomcat Users List
> >>Subject: Re: First mod_jk problem - can't start apache with 
> >>Include statement
> >>
> >>
> >>
> >>Hi -
> >>
> >>Things I would check:
> >>
> >>- apache's access and error log -> is Apache trying to handle the
> >>request instead of Tomcat?
> >>
> >>- Tomcat's log -> is Tomcat even getting the request?
> >>
> >>- move mod_jk.conf to APACHE_HOME/conf, change your Include 
> to match.
> >>Then change JkLogLevel to "debug" or "info" (I forget 
> >>which..try "info" 
> >>first) and check mod_jk.log for more info
> >>
> >>- verify a Connector on port 8009
> >>
> >>- doublecheck your workers.properties file, especially the
> >>.host parameter
> >>
> >>John
> >>
> >>Denise Mangano wrote:
> >>
> >>
> >>>I've been following John Turner's how-to (diff apache
> >>
> >>version but the
> >>
> >>>instructions can still apply).  I think they problem is a
> >>
> >>permission
> >>
> >>>issue, but wanted some verification.
> >>>
> >>>Apache install is ok, Tomcat install is ok.  I followed the
> >>
> >>steps, and
> >>
> >>>added the Listeners, and th

Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread John Turner
What's the output of "APACHE_HOME/bin/apachectl configtest"?

John

Denise Mangano wrote:

John -

I just realized that I explained it slightly wrong.  When I "comment"
the Include statement, apache starts ok.  When I "uncomment" apache will
not start.
I checked what you suggested.  As Bill suggested, I am including my conf
files as well.
1.  Apache's error logs are completely empty ...  Yesterday I checked
them and they had the following:
[error]mod_ssl: Child could not open SSLMutex lockfile
/usr/local/apache/logs/ssl_mutex.30776 (System error follows)
[error]System: Permission denied (errno: 13)
That was a permissions issue, which I corrected.  Now when after
starting apache, I wait about 10 seconds, then attempt to start Apache
and it hangs, but nothing is written to either the access_log or the
error_log.
2.  The only thing in Tomcat's log is the server starting and
stopping...  Here's the relevant mod_jk output:
INFO: Initializing Coyote HTTP/1.1 on port 8080
INFO: Starting Coyote HTTP/1.1 on port 8009
INFO: JK2: ajp13 listening on /0.0.0.0./8009
INFO: Jk running ID=0 time=0/28
config=/usr/local/tomcat/conf/jk2.properties
Same thing that I had on my previous installation. Not sure why there is
mention of jk2.properties.
3.  Tried moving mod_jk.conf and changing the include statement but
still apache is a no go...
4.  There are two connectors on port 8009 in the server.xml file.  These
are still the defaults:




5.  workers.properties file in /usr/local/tomcat/conf/jk
#BEGIN workers.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
#END workers.properties
Thanks, 

Denise


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 27, 2003 8:19 AM
To: Tomcat Users List
Subject: Re: First mod_jk problem - can't start apache with 
Include statement



Hi -

Things I would check:

- apache's access and error log -> is Apache trying to handle the 
request instead of Tomcat?

- Tomcat's log -> is Tomcat even getting the request?

- move mod_jk.conf to APACHE_HOME/conf, change your Include to match. 
Then change JkLogLevel to "debug" or "info" (I forget 
which..try "info" 
first) and check mod_jk.log for more info

- verify a Connector on port 8009

- doublecheck your workers.properties file, especially the 
.host parameter

John

Denise Mangano wrote:


I've been following John Turner's how-to (diff apache 
version but the 

instructions can still apply).  I think they problem is a 
permission 

issue, but wanted some verification.

Apache install is ok, Tomcat install is ok.  I followed the 
steps, and 

added the Listeners, and the LoadModule and Include 
statement at the 

end of my httpd.conf.  When I uncomment the Include 
statement apache 

starts up no problem.  When I try to use it, my system just 
hangs as I 

try to start apache.

Tomcat is running under user tomcat, and all directories from 
/usr/local/tomcat down have rwx for tomcat, and r only for 
all others. 

However, Apache runs as user 'www'.  I tried changing 
permissions to 

be executable by all but that didn't seem to do the trick.  
The system 

still hangs when I try to start Apache.

Here is my structure with permissions:

--usr drwxr-xr-x
  --local  drwxr-xr-x
--apache  drwxr-xr-x
--tomcat  drwxr-xr-x
	  --conf  drwxr-xr-x
 --auto  drwxr-xr-x
 mod_jk.conf -rwxr-xr-x


If its not a permissions issue, then I'm quite clueless as 
to what it 

can be.  I can't even run a config test.  Any suggestions/advice is 
greatly appreciated.

Denise



-

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








  
  
  
  
  
  
  






  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  

  

  
  
  





















  
  
  
  
  

  
  
  
  
  
  
  
  
  
  












  
  
  

  
  
  
  
  
  
usernamesa

RE: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Denise Mangano
John -

I just realized that I explained it slightly wrong.  When I "comment"
the Include statement, apache starts ok.  When I "uncomment" apache will
not start.

I checked what you suggested.  As Bill suggested, I am including my conf
files as well.

1.  Apache's error logs are completely empty ...  Yesterday I checked
them and they had the following:
[error]mod_ssl: Child could not open SSLMutex lockfile
/usr/local/apache/logs/ssl_mutex.30776 (System error follows)
[error]System: Permission denied (errno: 13)

That was a permissions issue, which I corrected.  Now when after
starting apache, I wait about 10 seconds, then attempt to start Apache
and it hangs, but nothing is written to either the access_log or the
error_log.

2.  The only thing in Tomcat's log is the server starting and
stopping...  Here's the relevant mod_jk output:
INFO: Initializing Coyote HTTP/1.1 on port 8080
INFO: Starting Coyote HTTP/1.1 on port 8009
INFO: JK2: ajp13 listening on /0.0.0.0./8009
INFO: Jk running ID=0 time=0/28
config=/usr/local/tomcat/conf/jk2.properties

Same thing that I had on my previous installation. Not sure why there is
mention of jk2.properties.

3.  Tried moving mod_jk.conf and changing the include statement but
still apache is a no go...

4.  There are two connectors on port 8009 in the server.xml file.  These
are still the defaults:






5.  workers.properties file in /usr/local/tomcat/conf/jk
#BEGIN workers.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
#END workers.properties

Thanks, 

Denise

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 27, 2003 8:19 AM
> To: Tomcat Users List
> Subject: Re: First mod_jk problem - can't start apache with 
> Include statement
> 
> 
> 
> Hi -
> 
> Things I would check:
> 
> - apache's access and error log -> is Apache trying to handle the 
> request instead of Tomcat?
> 
> - Tomcat's log -> is Tomcat even getting the request?
> 
> - move mod_jk.conf to APACHE_HOME/conf, change your Include to match. 
> Then change JkLogLevel to "debug" or "info" (I forget 
> which..try "info" 
> first) and check mod_jk.log for more info
> 
> - verify a Connector on port 8009
> 
> - doublecheck your workers.properties file, especially the 
> .host parameter
> 
> John
> 
> Denise Mangano wrote:
> 
> > I've been following John Turner's how-to (diff apache 
> version but the 
> > instructions can still apply).  I think they problem is a 
> permission 
> > issue, but wanted some verification.
> > 
> > Apache install is ok, Tomcat install is ok.  I followed the 
> steps, and 
> > added the Listeners, and the LoadModule and Include 
> statement at the 
> > end of my httpd.conf.  When I uncomment the Include 
> statement apache 
> > starts up no problem.  When I try to use it, my system just 
> hangs as I 
> > try to start apache.
> > 
> > Tomcat is running under user tomcat, and all directories from 
> > /usr/local/tomcat down have rwx for tomcat, and r only for 
> all others. 
> > However, Apache runs as user 'www'.  I tried changing 
> permissions to 
> > be executable by all but that didn't seem to do the trick.  
> The system 
> > still hangs when I try to start Apache.
> > 
> > Here is my structure with permissions:
> > 
> > --usr drwxr-xr-x
> >--local  drwxr-xr-x
> >  --apache  drwxr-xr-x
> >  --tomcat  drwxr-xr-x
> >   --conf  drwxr-xr-x
> >   --auto  drwxr-xr-x
> >   mod_jk.conf -rwxr-xr-x
> >  
> > 
> > If its not a permissions issue, then I'm quite clueless as 
> to what it 
> > can be.  I can't even run a config test.  Any suggestions/advice is 
> > greatly appreciated.
> > 
> > Denise
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 






  

  
  
  
  

  
  








  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  


  

  

  
  






Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread John Turner
Hi -

Things I would check:

- apache's access and error log -> is Apache trying to handle the 
request instead of Tomcat?

- Tomcat's log -> is Tomcat even getting the request?

- move mod_jk.conf to APACHE_HOME/conf, change your Include to match. 
Then change JkLogLevel to "debug" or "info" (I forget which..try "info" 
first) and check mod_jk.log for more info

- verify a Connector on port 8009

- doublecheck your workers.properties file, especially the .host parameter

John

Denise Mangano wrote:

I've been following John Turner's how-to (diff apache version but the
instructions can still apply).  I think they problem is a permission
issue, but wanted some verification.
Apache install is ok, Tomcat install is ok.  I followed the steps, and
added the Listeners, and the LoadModule and Include statement at the end
of my httpd.conf.  When I uncomment the Include statement apache starts
up no problem.  When I try to use it, my system just hangs as I try to
start apache.
Tomcat is running under user tomcat, and all directories from
/usr/local/tomcat down have rwx for tomcat, and r only for all others.
However, Apache runs as user 'www'.  I tried changing permissions to be
executable by all but that didn't seem to do the trick.  The system
still hangs when I try to start Apache.
Here is my structure with permissions:

--usr drwxr-xr-x
   --local  drwxr-xr-x
 --apache  drwxr-xr-x
 --tomcat  drwxr-xr-x
	  --conf  drwxr-xr-x
  --auto  drwxr-xr-x
  mod_jk.conf -rwxr-xr-x  
 

If its not a permissions issue, then I'm quite clueless as to what it
can be.  I can't even run a config test.  Any suggestions/advice is
greatly appreciated.
Denise

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: First mod_jk problem - can't start apache with Include statement

2003-08-27 Thread Bill Barker
I'm afraid that you are clueless ;-).  Apache+mod_jk only needs read, which
it's got.

You could try posting your conf files, to see if anyone can spot the
error..

- Original Message - 
From: "Denise Mangano" <[EMAIL PROTECTED]>
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Tuesday, August 26, 2003 3:38 PM
Subject: First mod_jk problem - can't start apache with Include statement


I've been following John Turner's how-to (diff apache version but the
instructions can still apply).  I think they problem is a permission
issue, but wanted some verification.

Apache install is ok, Tomcat install is ok.  I followed the steps, and
added the Listeners, and the LoadModule and Include statement at the end
of my httpd.conf.  When I uncomment the Include statement apache starts
up no problem.  When I try to use it, my system just hangs as I try to
start apache.

Tomcat is running under user tomcat, and all directories from
/usr/local/tomcat down have rwx for tomcat, and r only for all others.
However, Apache runs as user 'www'.  I tried changing permissions to be
executable by all but that didn't seem to do the trick.  The system
still hangs when I try to start Apache.

Here is my structure with permissions:

--usr drwxr-xr-x
   --local  drwxr-xr-x
 --apache  drwxr-xr-x
 --tomcat  drwxr-xr-x
  --conf  drwxr-xr-x
  --auto  drwxr-xr-x
  mod_jk.conf -rwxr-xr-x


If its not a permissions issue, then I'm quite clueless as to what it
can be.  I can't even run a config test.  Any suggestions/advice is
greatly appreciated.

Denise

This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

First mod_jk problem - can't start apache with Include statement

2003-08-26 Thread Denise Mangano
I've been following John Turner's how-to (diff apache version but the
instructions can still apply).  I think they problem is a permission
issue, but wanted some verification.

Apache install is ok, Tomcat install is ok.  I followed the steps, and
added the Listeners, and the LoadModule and Include statement at the end
of my httpd.conf.  When I uncomment the Include statement apache starts
up no problem.  When I try to use it, my system just hangs as I try to
start apache.

Tomcat is running under user tomcat, and all directories from
/usr/local/tomcat down have rwx for tomcat, and r only for all others.
However, Apache runs as user 'www'.  I tried changing permissions to be
executable by all but that didn't seem to do the trick.  The system
still hangs when I try to start Apache.

Here is my structure with permissions:

--usr drwxr-xr-x
   --local  drwxr-xr-x
 --apache  drwxr-xr-x
 --tomcat  drwxr-xr-x
  --conf  drwxr-xr-x
  --auto  drwxr-xr-x
  mod_jk.conf -rwxr-xr-x  
 

If its not a permissions issue, then I'm quite clueless as to what it
can be.  I can't even run a config test.  Any suggestions/advice is
greatly appreciated.

Denise


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]