Re: [rt-users] apache segfaults with 4.2
On Fri, 20 Dec 2013 10:30:49 -0500 Kevin Falcone falc...@bestpractical.com wrote: Hi Kevin, sorry for my late reply, I finally found the time to troubleshoot this. Try commenting out the SSL settings and see if Apache will start up with RT but without SSL. Unfortunately I do not have the luxury of doing so. This server holds a bunch of Active Directory integrated web services, I wouldn't want to have passwords transported over plain http. Alternatively, this is almost certainly some sort of shared library conflict and you can work around it by running RT with fastcgi instead of mod_perl. I switched to fastcgi, and I do not have any more segfaults in apache. If someone is interested in investigation of possible shared library conflict I would be glad to follow instruction. Regards, -- Marko Cupać
Re: [rt-users] apache segfaults with 4.2
Don't reply to me directly, please obey the Reply-To that I set. On Mon, Dec 16, 2013 at 09:21:06AM +0100, Marko Cupać wrote: on restart when I comment out rt-related sections. There were no segfaults before upgrade to 4.2. Try commenting out the SSL settings and see if Apache will start up with RT but without SSL. Alternatively, this is almost certainly some sort of shared library conflict and you can work around it by running RT with fastcgi instead of mod_perl. Please test the SSL thing before switching to fastcgi though. -kevin Here's relevant apache config: VirtualHost IP.ADD.RE.SS:80 ServerName server.example.com Redirect permanent / https://server.example.com/ /VirtualHost VirtualHost IP.ADD.RE.SS:443 ServerName server.example.com DocumentRoot /usr/local/www/wordpress SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM SSLCertificateFile /etc/ssl/certs/server.crt SSLCertificateKeyFile /etc/ssl/certs/server.key Directory /usr/local/www/wordpress Options FollowSymLinks AllowOverride All Order Allow,Deny Allow from all /Directory Alias /dbadmin /usr/local/www/phpMyAdmin Directory /usr/local/www/phpMyAdmin Options none AllowOverride Limit Order Allow,Deny Allow from all /Directory Alias /tiketing /usr/local/share/rt42/html Directory /usr/local/share/rt42/html Options FollowSymLinks AllowOverride All Order allow,deny Allow from all /Directory Location /tiketing AddDefaultCharset UTF-8 SetHandler modperl PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app /usr/local/sbin/rt-server /Location Perl use Plack::Handler::Apache2; Plack::Handler::Apache2-preload(/usr/local/sbin/rt-server); /Perl Alias /racktables /usr/local/www/racktables/wwwroot Directory /usr/local/www/racktables/wwwroot Options Indexes FollowSymlinks MultiViews AllowOverride Limit Order Allow,Deny Allow from all /Directory /VirtualHost pgphI29WsnioL.pgp Description: PGP signature
Re: [rt-users] apache segfaults with 4.2
On Fri, 13 Dec 2013 10:40:52 -0500 Kevin Falcone falc...@bestpractical.com wrote: You didn't say how you're running RT under Apache. I run rt42-4.2.1_2 on apache22-2.2.26 with ap22-mod_perl2-2.0.8,3. I run it on virtual ssl-enabled host under /tiketing subdirectory. Document root serves wordpress, there are also additional subdirectories (phpmyadmin and racktables). There is no segfault on restart when I comment out rt-related sections. There were no segfaults before upgrade to 4.2. Here's relevant apache config: VirtualHost IP.ADD.RE.SS:80 ServerName server.example.com Redirect permanent / https://server.example.com/ /VirtualHost VirtualHost IP.ADD.RE.SS:443 ServerName server.example.com DocumentRoot /usr/local/www/wordpress SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM SSLCertificateFile /etc/ssl/certs/server.crt SSLCertificateKeyFile /etc/ssl/certs/server.key Directory /usr/local/www/wordpress Options FollowSymLinks AllowOverride All Order Allow,Deny Allow from all /Directory Alias /dbadmin /usr/local/www/phpMyAdmin Directory /usr/local/www/phpMyAdmin Options none AllowOverride Limit Order Allow,Deny Allow from all /Directory Alias /tiketing /usr/local/share/rt42/html Directory /usr/local/share/rt42/html Options FollowSymLinks AllowOverride All Order allow,deny Allow from all /Directory Location /tiketing AddDefaultCharset UTF-8 SetHandler modperl PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app /usr/local/sbin/rt-server /Location Perl use Plack::Handler::Apache2; Plack::Handler::Apache2-preload(/usr/local/sbin/rt-server); /Perl Alias /racktables /usr/local/www/racktables/wwwroot Directory /usr/local/www/racktables/wwwroot Options Indexes FollowSymlinks MultiViews AllowOverride Limit Order Allow,Deny Allow from all /Directory /VirtualHost -- Marko Cupać
Re: [rt-users] apache segfaults with 4.2
On Wed, Dec 11, 2013 at 05:33:42PM +0100, Marko Cupać wrote: I have just upgraded rt from 4.0.18 to 4.2.1 on FreeBSD 9.2. Everything looks ok except for the fact that apache dumps core twice every time I restart it. It does not happen when I comment out rt-related stuff from httpd.conf Any help would be appretiated. You've not provided anywhere near enough information to even try guessing. You didn't say how you're running RT under Apache. You didn't say anything about what other options you have turned on (ssl, etc). -kevin pgptSvn9rJiXj.pgp Description: PGP signature