Good morning,
we had the same problem here, disabling the GPG Stuff made the segfaults go away.
Best regards,
Torben Nehmer
Torben Nehmer
Diplom Informatiker (FH)
Business System Developer
CANCOM Deutschland GmbH
Messerschmittstr. 20
89343 Scheppach
Germany
Tel.: +49 8225 - 996-1118
Fax: +49 8225 - 996-41118
torben.nehmer@cancom.de
CANCOM Deutschland GmbH
Sitz der Gesellschaft: Jettingen-Scheppach
HRB 10653 Memmingen
Geschäftsführer: Martin Mayr, Tobias Hörmann
Diese E-Mail und alle mitgesendeten Dateien sind vertraulich und ausschließlich für den Gebrauch durch den Empfänger bestimmt!
This e-mail and any files transmitted with it are confidential intended solely for the use of the addressee!-----Ursprüngliche Nachricht-----
Von: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Im Auftrag von Carlos Ramos
Gesendet: Montag, 31. Oktober 2011 05:25
An: rt-users@lists.bestpractical.com
Betreff: Re: [rt-users] RT4 - mod_perl problem with apache2
On Tue, May 31, 2011 at 9:00 AM, Kevin Falcone falcone@bestpractical.com wrote:
On Mon, May 30, 2011 at 12:09:11PM +0200, Robert Wysocki wrote:
Hi guys,
I’ve googled it, some people also have this problem, but no solutions
were provided by anyone.
The problem is:
testrt:/opt/rt4/etc# apache2ctl restart
/usr/sbin/apache2ctl: line 107: 11712 Segmentation fault $HTTPD
${APACHE_ARGUMENTS} -t 2> /dev/null
Syntax OK
/usr/sbin/apache2ctl: line 107: 11715 Segmentation fault $HTTPD
${APACHE_ARGUMENTS} -t
Action ‘restart’ failed.
The Apache error log may have more information.
testrt:/opt/rt4/etc# /etc/init.d/apache2 reload
Syntax OK
/usr/sbin/apache2ctl: line 107: 11729 Segmentation fault $HTTPD
${APACHE_ARGUMENTS} -t
Action ‘configtest’ failed.
The Apache error log may have more information.
failed!
The way of restarting apache which doesn’t cause error to be thrown is
just:
/etc/init.d/apache2 stop; /etc/init.d/apache2 start
but it’s, well, inelegant.
The issue is probably related to Plack.
Unfortunately, it’s difficult to try replicating without a
perl/apache/mod_perl2/plack version list
-kevin
Hello, I’m having a VERY similar problem here. Using rt-4.0.2 and
debian squeeze 6.0.3, which comes with apache 2.2.16-6+squeeze4,
mod_perl 2.0.4-7, perl 5.10.1-17squeeze2 and from what i can tell
Plack 0.9984 which i just installed from CPAN. This is my rt config in
apache:
<Location /rt>
Order allow,deny
Allow from all
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
</Location>
<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
</Perl>
If I don’t comment this
“Plack::Handler::Apache2->preload(”/opt/rt4/sbin/rt-server");", I
can’t do the following without getting a segmentation fault, even if
apache is not running:
root@blazar:~# export APACHE_RUN_USER=www-data
root@blazar:~# export APACHE_RUN_GROUP=www-data
root@blazar:~# export APACHE_PID_FILE=/var/run/apache2.pid
root@blazar:~# export APACHE_RUN_DIR=/var/run/apache2
root@blazar:~# export APACHE_LOCK_DIR=/var/lock/apache2
root@blazar:~# export APACHE_LOG_DIR=/var/log/apache2
root@blazar:~#
root@blazar:~#
root@blazar:~# apache2 -t
Syntax OK
Segmentation fault
That last sequence of commands is something that apache2ctl do almost
every time you run it, and at least in Debian apache2ctl is used in a
lot of places, from startup to shutdown to log rotation. RT4 works
correctly from what i can tell as long as i don’t comment the preload
line, but then again apache2ctl breaks down and with it, other things
follow.
The only error i can see in my syslog every time i run ‘apache -t’ is
the following:
Oct 30 21:44:22 blazar kernel: [4016030.401140] apache2[17570]:
segfault at 7fa814baa640 ip 00007fa814baa640 sp 00007ffffd346fc8 error
14 in libnss_files-2.11.2.so[7fa817aaf000+b000]
As a side note, I do have a working RT4 installation in debian
squeeze, but this was installed some time ago and it was the rt-4.0.0
tarball and I guess some of the CPAN modules are older too.
Any help would be really appreciated. Thanks a lot.
RT Training Sessions (http://bestpractical.com/services/training.html)
- Barcelona, Spain November 28 & 29, 2011