You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Neil Wilson <ne...@dcdata.co.za> on 2007/10/25 11:31:01 UTC

Apache2 mod_jk segfault

Hi guys,

I'm getting a segmentation fault in my apache2 error.log and I think 
it's related to my mod_jk.

When I restart apache2 I see the following errors.

[Thu Oct 25 11:14:33 2007] [error] (13)Permission denied: 
apr_global_mutex_lock(jk_log_lock) failed
[Thu Oct 25 11:14:33 2007] [notice] child pid 12242 exit signal 
Segmentation fault (11)

Below are my current versions.

apache2-prefork-2.0.59-1.1
mod_jk/1.2.14

I can't upgrade the packages, they all came prepackaged as RPMS with my 
current Scalix version and I can't be sure that if I upgrade some of 
them that the Scalix will continue working.

If I disable the following configuration file 
/etc/apache2/conf.d/scalix-tomcat-connector.conf then apache2 starts 
responding again, so it's definitely something to do with this.
Below is the content of this conf file.

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


Below is the content of ..jk/instance-mail.conf

Include /etc/opt/scalix-tomcat/connector/jk/app-mail.*.conf
JkWorkerProperty worker.mail.type=ajp13
JkWorkerProperty worker.mail.host=mail.northcity.co.za
JkWorkerProperty worker.mail.port=8009
JkWorkerProperty worker.mail.socket_keepalive=1

Sorry for the long post, but I'd rather give too much info than too little.

Thanks, any help will be most appreciated.

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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Apache2 mod_jk segfault

Posted by Neil Wilson <ne...@dcdata.co.za>.
Mark Thomas wrote:
> Well, it isn't working now so what have you got to lose? I'd try the
> latest mod_jk and see what happens. You can always go back to 1.2.14.
> 
> Mark

True, it's only the web app part of scalix that's broken, so hopefully 
it won't interfere with anything else if I upgrade it.

Thanks.

-- 
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Apache2 mod_jk segfault

Posted by Mark Thomas <ma...@apache.org>.
Neil Wilson wrote:
> apache2-prefork-2.0.59-1.1
> mod_jk/1.2.14
> 
> I can't upgrade the packages, they all came prepackaged as RPMS with my
> current Scalix version and I can't be sure that if I upgrade some of
> them that the Scalix will continue working.

Well, it isn't working now so what have you got to lose? I'd try the
latest mod_jk and see what happens. You can always go back to 1.2.14.

Mark


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