-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil,

Neil Wilson wrote:
>>> [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
>
> Unfortunately the error above isn't a typo, I've found a longer
> version in my logs after looking further back.

I just meant the word "Attachning". ;)

>> 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.

Okay. Using RPM, you ought to be able to figure out version numbers and
stuff, though. I'd bet that mod_jk has its own RPM package, but I
couldn't tell you what it's called. Try listing all packages and search
for "jk" or something. Another thing you can do is find the mod_jk.so
binary and run this on it:

$ strings /path/to/mod_jk.so | grep mod_jk/

On my system, this returns:
mod_jk/1.2.25

> 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

Right. That's obviously not the error occurring in mod_jk. Let's keep
looking.

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

Not yet. Does the directory exist, and just not the file? If so, maybe
you should create the file.

> httpd is apache2-prefork-2.0.59-1.1

Excellent.

> 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.

Here are the relevant parts:

> <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>

Can you tell me if anything interesting lives in either of those two
include files? It's possible the that shared memory configuration is in
there.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHGNdT9CaO5/Lv0PARApPeAKCYDh4W7teKPzG1U0tGOlbCVV7JewCfRUum
XJiCSJTZEU1L86xiTVEBDrU=
=ildR
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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