Adverts

When using mod_jk with Apache 2 and Tomcat 5.5 I on Debian I often recieved (by often I mean hundreds of times) this error message from the mod_jk module:

[error] jk_child_init::mod_jk.c (2317): Attachning
shm:/etc/apache2/logs/jk-runtime-status errno=2

This is caused by apache not having sufficient permission to write the runtime status log to its default location which is "/etc/apache2/logs/" (or the location doesn't exist). You can correct this situation by telling it to write the log file to a place where it does have sufficient permission by including this directive in the jk.conf file:

JkShmFile /var/log/apache2/jk-runtime-status

Adverts

Donate and Help

Please support this site and
Bandwidth doesn't grow on trees y' know :o)

Adverts

Get Adsense