Re: [rt-users] Deep Recursion Error, rt-4.0.1

2011-07-26 Thread Ruslan Zakirov
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 eyzo...@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 eyzo...@yahoo.com
 To: Alex Vandiver ale...@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 ale...@bestpractical.com
 To: Randy Schwager eyzo...@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.


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

[rt-users] Deep Recursion Error, RT 4.0.1

2011-07-25 Thread Randy Schwager
Just wanted to bump this up. Still having the deep recursion problem.

Help!

 

Below is the site_config file:
Set( $DatabaseUser, 'rt_user' );
Set( $CorrespondAddress, 'helpd...@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, 'helpd...@example.net' );
Set( $DatabaseHost, 'localhost' );
Set( $DatabaseName, 'rt4' );
Set( $OwnerEmail, 'ow...@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


___
Dear Users,

My 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 

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

Re: [rt-users] Deep Recursion Error, rt-4.0.1

2011-07-25 Thread Alex Vandiver
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


Re: [rt-users] Deep Recursion Error, rt-4.0.1

2011-07-25 Thread Randy Schwager
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 ale...@bestpractical.com
To: Randy Schwager eyzo...@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

Re: [rt-users] Deep Recursion Error, rt-4.0.1

2011-07-22 Thread Randy Schwager
Sure.

Below is the site_config file:
Set( $DatabaseUser, 'rt_user' );
Set( $CorrespondAddress, 'helpd...@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, 'helpd...@example.net' );
Set( $DatabaseHost, 'localhost' );
Set( $DatabaseName, 'rt4' );
Set( $OwnerEmail, 'ow...@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 ale...@bestpractical.com
To: Randy Schwager eyzo...@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

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

 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

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

[rt-users] Deep Recursion Error, rt-4.0.1

2011-07-21 Thread Randy Schwager
 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 

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

Re: [rt-users] Deep Recursion Error, rt-4.0.1

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

 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




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