Thanks for your reply Chris.

Christopher Schultz wrote:
Tomcat is unlikely to be killing your Apache httpd, but mod_jk could be
having a problem. This probably /is/ the right place to ask this question.

Cool! glad to hear, thanks.

[Wed Oct 10 08:52:43 2007] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/srv/www/logs/jk-runtime-status errno=2

errno=2 looks like "No such file or directory" (at least on my Linux
box). Check to see that your shared memory file exists and is readable
by Apache httpd. Looks like there's a typo in the error message. ;)

Sorry, Tomcat and mod_jk is all new territory for me, it all gets installed from the RPMs that come with Scalix, so apart from the Apache2, the rest is all bundled with Scalix.

Unfortunately the error above isn't a typo, I've found a longer version in my logs after looking further back.

[Thu Oct 04 17:47:42 2007] [error] jk_child_init::mod_jk.c (2312): Attachning shm:/srv/www/logs/jk-runtime-status errno=2[Thu Oct 04 17:47:42 2007] [error] jk_child_init::mod_jk.c (2312): Attachning shm:/srv/www/logs/jk-runtime-status errno=2

I'm not sure what my "shared memory file" is, but I've search through my httpd.conf and the only reference to shared memory file is the line.

SSLSessionCache         shmcb:/var/lib/apache2/ssl_scache

I've checked and this file does NOT exist, should I touch it with the correct ownership/permissions?

A couple of questions:

What version of mod_jk are you running? What version of Apache httpd are
you running? Which httpd worker model are you using? Pre-fork? Threaded?

How do I find out my mod_jk version?

httpd is apache2-prefork-2.0.59-1.1

Below is my /etc/apache2/conf.d/scalix-tomcat-connector.conf with comments removed, as this is what calls mod_jk, not sure if this will help at all, but just in case.

<Location />
  AddOutputFilterByType DEFLATE text/xml text/html text/css
  AddOutputFilterByType DEFLATE application/x-javascript
</Location>

<IfModule mod_jk.c>

JkLogLevel          info
JkLogStampFormat   "[%a %b %d %H:%M:%S %Y] "
JkOptions          +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"

Include /etc/opt/scalix-tomcat/connector/jk/instance-*.conf
Include /etc/opt/scalix-tomcat/connector/jk/workers.conf

</IfModule>

<IfModule mod_jk.c>

JkLogFile     /var/log/apache2/mod_jk.log
</IfModule>

Thanks again for your help Chris.

Regards.

Neil/


--
This email and all contents are subject to the following disclaimer:
http://www.dcdata.co.za/emaildisclaimer.html


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to