Deep Recursion Error, rt-4.0.1

Dear Users,

My new installation of RT (4.0.1) causes mod_perl to throw fatal errors when trying to restart apache.

I use Apache 2.2.11 with mod_perl 2.0.4.
Perl is at version 5.10.10, MySQL at 5.0.83, and I’m running Fedora 10.

I compiled RT from source, downloaded from the bestpractical main download site.

After
I drop the apache configuration file for rt4 into the conf.d directory
and try to start up apache, I get the following error:

Deep recursion on subroutine “RT::Config::__GetNameByRef” at /opt/rt4/sbin/…/lib/RT/Config.pm line 1180.
Deep recursion on subroutine “RT::Config::__GetNameByRef” at /opt/rt4/sbin/…/lib/RT/Config.pm line 1180.
Deep recursion on subroutine “RT::Config::__GetNameByRef” at /opt/rt4/sbin/…/lib/RT/Config.pm line 1180.

Here’s the config file for rt4 (it’s pretty vanilla):

<VirtualHost *:8080>
### Optional apache logs for RT
# ErrorLog /opt/rt4/var/log/apache2.error
# TransferLog /opt/rt4/var/log/apache2.access
# LogLevel debug

    AddDefaultCharset UTF-8

    DocumentRoot "/opt/rt4/share/html

    <Location />
        Order allow,deny
        Allow from all

        SetHandler modperl
        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>
</VirtualHost>

Does anyone out there in the world wide web know a solution to this problem?

Any help would be much appreciated!

  • Ryan

My new installation of RT (4.0.1) causes mod_perl to throw fatal
errors when trying to restart apache.

This points to an error in your RT configuration (not your Apache
configuration, which is what you provided). Please show us your
RT_SiteConfig.pm, with any passwords redacted.

  • Alex

Sure.

Below is the site_config file:
Set( $DatabaseUser, ‘rt_user’ );
Set( $CorrespondAddress, ‘helpdesk@example.net’ );
Set( $rtname, ‘example.net’ );
Set( $DatabaseRequireSSL, ‘’ );
Set( $WebPort, ‘8080’ );
Set( $Organization, ‘example.net’ );
Set( $DatabaseType, ‘mysql’ );
Set( $DatabasePort, ‘3306’ );
Set( $DatabasePassword, ‘####’ );
Set( $DatabaseAdmin, ‘root’ );
Set( $SendmailPath, ‘/usr/sbin/sendmail’ );
Set( $WebDomain, ‘dev02.example.net’ );
Set( $DatabaseAdminPassword, ‘’ );
Set( $CommentAddress, ‘helpdesk@example.net’ );
Set( $DatabaseHost, ‘localhost’ );
Set( $DatabaseName, ‘rt4’ );
Set( $OwnerEmail, ‘owner@example.net’ );
1;

And here is the output of the syntax checker:

perl -c /opt/rt4/etc/RT_SiteConfig.pm
/opt/rt4/etc/RT_SiteConfig.pm syntax OK

Thanks for the quick reply!
Apologies that mine wasn’t as speedy.From: Alex Vandiver alexmv@bestpractical.com
To: Randy Schwager eyzon47@yahoo.com
Cc: "rt-users@lists.bestpractical.com" rt-users@lists.bestpractical.com
Sent: Thursday, July 21, 2011 5:21 PM
Subject: Re: [rt-users] Deep Recursion Error, rt-4.0.1

My new installation of RT (4.0.1) causes mod_perl to throw fatal
errors when trying to restart apache.

This points to an error in your RT configuration (not your Apache
configuration, which is what you provided). Please show us your
RT_SiteConfig.pm, with any passwords redacted.

  • Alex

I use Apache 2.2.11 with mod_perl 2.0.4.
Perl is at version 5.10.10, MySQL at 5.0.83, and I’m running Fedora
10.

There is no perl 5.10.10; do you mean 5.10.1?

After I drop the apache configuration file for rt4 into the conf.d
directory and try to start up apache, I get the following error:

Do you also see this problem if you run RT’s standalone server?

Here’s the config file for rt4 (it’s pretty vanilla):

<VirtualHost *:8080>
### Optional apache logs for RT
# ErrorLog /opt/rt4/var/log/apache2.error
# TransferLog /opt/rt4/var/log/apache2.access
# LogLevel debug

    AddDefaultCharset UTF-8

    DocumentRoot "/opt/rt4/share/html

This line is missing a close quote here —^. I’m surprised Apache
started at all with that syntax error.

  • Alex

You’re right; it’s perl 5.10.1.

The RT standalone server works fine on its own.

The missing quote was a typo–apologies.From: Alex Vandiver alexmv@bestpractical.com
To: Randy Schwager eyzon47@yahoo.com
Cc: "rt-users@lists.bestpractical.com" rt-users@lists.bestpractical.com
Sent: Monday, July 25, 2011 4:47 PM
Subject: Re: [rt-users] Deep Recursion Error, rt-4.0.1

I use Apache 2.2.11 with mod_perl 2.0.4.
Perl is at version 5.10.10, MySQL at 5.0.83, and I’m running Fedora
10.

There is no perl 5.10.10; do you mean 5.10.1?

After I drop the apache configuration file for rt4 into the conf.d
directory and try to start up apache, I get the following error:

Do you also see this problem if you run RT’s standalone server?

Here’s the config file for rt4 (it’s pretty vanilla):

<VirtualHost *:8080>
### Optional apache logs for RT
# ErrorLog /opt/rt4/var/log/apache2.error
# TransferLog /opt/rt4/var/log/apache2.access
# LogLevel debug

    AddDefaultCharset UTF-8

    DocumentRoot "/opt/rt4/share/html

This line is missing a close quote here —^. I’m surprised Apache
started at all with that syntax error.

  • Alex

Sorry, there might be a little bit of equivocation in that last email.
The missing quote in the apache configuration file is a typo in this email and does not reflect the apache configuration file on the RT server.

The error is still occurring.From: Randy Schwager eyzon47@yahoo.com
To: Alex Vandiver alexmv@bestpractical.com
Cc: "rt-users@lists.bestpractical.com" rt-users@lists.bestpractical.com
Sent: Monday, July 25, 2011 6:01 PM
Subject: Re: [rt-users] Deep Recursion Error, rt-4.0.1

You’re right; it’s perl 5.10.1.

The RT standalone server works fine on its own.

The missing quote was a typo–apologies.

From: Alex Vandiver alexmv@bestpractical.com
To: Randy Schwager eyzon47@yahoo.com
Cc: "rt-users@lists.bestpractical.com" rt-users@lists.bestpractical.com
Sent: Monday, July 25, 2011 4:47 PM
Subject: Re: [rt-users] Deep Recursion Error, rt-4.0.1

I use Apache 2.2.11 with mod_perl 2.0.4.
Perl is at version 5.10.10, MySQL at 5.0.83, and I’m running Fedora
10.

There is no perl 5.10.10; do you mean 5.10.1?

After I drop the apache configuration file for rt4 into the conf.d
directory and try to start up apache, I get the following error:

Do you also see this problem if you run RT’s standalone server?

Here’s the config file for rt4 (it’s pretty vanilla):

<VirtualHost *:8080>
### Optional apache logs for RT
# ErrorLog /opt/rt4/var/log/apache2.error
# TransferLog /opt/rt4/var/log/apache2.access
# LogLevel debug

AddDefaultCharset UTF-8

    DocumentRoot "/opt/rt4/share/html"

This line is missing a close quote here —^. I’m surprised Apache
started at all with that syntax error.

  • Alex

2011 Training: http://bestpractical.com/services/training.html

Hello Randy,

It would be hard to reproduce this problem locally and debug remotly.
I believe you’re using mod_perl and probably our tricky code that gets
name of a variable by a reference has problems your enviroment. Try
FastCGI, it may be easiest solution for you.On Tue, Jul 26, 2011 at 10:12 PM, Randy Schwager eyzon47@yahoo.com wrote:

Sorry, there might be a little bit of equivocation in that last email.
The missing quote in the apache configuration file is a typo in this email
and does not reflect the apache configuration file on the RT server.

The error is still occurring.


From: Randy Schwager eyzon47@yahoo.com
To: Alex Vandiver alexmv@bestpractical.com
Cc: "rt-users@lists.bestpractical.com" rt-users@lists.bestpractical.com
Sent: Monday, July 25, 2011 6:01 PM
Subject: Re: [rt-users] Deep Recursion Error, rt-4.0.1

You’re right; it’s perl 5.10.1.
The RT standalone server works fine on its own.
The missing quote was a typo–apologies.


From: Alex Vandiver alexmv@bestpractical.com
To: Randy Schwager eyzon47@yahoo.com
Cc: "rt-users@lists.bestpractical.com" rt-users@lists.bestpractical.com
Sent: Monday, July 25, 2011 4:47 PM
Subject: Re: [rt-users] Deep Recursion Error, rt-4.0.1

On Thu, 2011-07-21 at 14:05 -0700, Randy Schwager wrote:

I use Apache 2.2.11 with mod_perl 2.0.4.
Perl is at version 5.10.10, MySQL at 5.0.83, and I’m running Fedora
10.

There is no perl 5.10.10; do you mean 5.10.1?

After I drop the apache configuration file for rt4 into the conf.d
directory and try to start up apache, I get the following error:

Do you also see this problem if you run RT’s standalone server?

Here’s the config file for rt4 (it’s pretty vanilla):

<VirtualHost *:8080>
### Optional apache logs for RT
# ErrorLog /opt/rt4/var/log/apache2.error
# TransferLog /opt/rt4/var/log/apache2.access
# LogLevel debug

   AddDefaultCharset UTF-8

   DocumentRoot "/opt/rt4/share/html"

This line is missing a close quote here —^. I’m surprised Apache
started at all with that syntax error.

  • Alex

2011 Training: http://bestpractical.com/services/training.html


2011 Training: http://bestpractical.com/services/training.html

Best regards, Ruslan.