Re: [rt-users] RT 4.0.3 upgrade problem

2011-11-10 Thread Jeff Sampson
Thanks for the replies thus far.  I've tried them all, but I'm still
getting the same error.

I just reinstalled my entire perl installation on the box and that fixed
the problem.  I'm still not sure exactly what caused the problem.

On Thu, Nov 10, 2011 at 7:54 AM, Kevin Falcone wrote:

> On Wed, Nov 09, 2011 at 02:54:08PM -1000, Jeff Sampson wrote:
> >Here are the RT related config sections..
>
> Since you do this twice:
>
> >
> >use Plack::Handler::Apache2;
> >Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
> >
> >
> >use Plack::Handler::Apache2;
> >Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
> >
>
> Once for each virtual host, I could see apache and mod_perl being
> grumpy about it.
>
> -kevin
>
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Barcelona, Spain — November 28 & 29, 2011
>

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28 & 29, 2011

Re: [rt-users] RT 4.0.3 upgrade problem

2011-11-09 Thread Jeff Sampson
Here are the RT related config sections..


Alias /rt "/opt/rt4/share/html"
AddDefaultCharset UTF-8

  Order allow,deny
  allow from all
  SetHandler modperl
 PerlResponseHandler Plack::Handler::Apache2
 PerlSetVar psgi_app /opt/rt4/sbin/rt-server


 use Plack::Handler::Apache2;
 Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");



Alias /rt "/opt/rt4/share/html"
AddDefaultCharset UTF-8

  Order allow,deny
  allow from all
  SetHandler modperl
 PerlResponseHandler Plack::Handler::Apache2
 PerlSetVar psgi_app /opt/rt4/sbin/rt-server


 use Plack::Handler::Apache2;
 Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");



On Wed, Nov 9, 2011 at 1:10 PM, Kevin Falcone wrote:

> On Wed, Nov 09, 2011 at 12:17:20PM -1000, Jeff Sampson wrote:
> > Hi All,
> > I just updated my previously working 4.0.2 RT server to 4.0.3.  RT is
> > running under mod_perl on this box.  I followed all of the upgrade
> > instructions as usual (./configure;make testdeps;make upgrade;make
> > upgrade-database, and cleared the mason cache directory).  The problem is
> > that when visiting the RT URL server gives a HTTP 500 error.  In syslog I
> > get these messages.
> >
> > Nov  9 11:43:22 noname RT: Subroutine handle_startup_error redefined at
> > /opt/rt4/sbin/rt-server line 238. (/opt/rt4/sbin/rt-server:238)
> > Nov  9 11:43:22 noname RT: Subroutine handle_bind_error redefined at
> > /opt/rt4/sbin/rt-server line 250. (/opt/rt4/sbin/rt-server:250)
> > Nov  9 11:43:34 noname RT: #011(in cleanup) Error while loading
> > /opt/rt4/sbin/rt-server: Can't locate object method "ComponentRoots" via
> > package "RT::Interface::Web" at /opt/rt4/sbin/../lib/RT/
> > Config.pm line 205. (/opt/rt4/sbin/../lib/RT.pm:343)
>
> This looks like you're loading parts of RT twice.
> Show your Apache config?
>
> -kevin
>
> > Here is what I have tried:
> > -Make sure my perl dependencies are all up to date.  I did this using
> > CPAN.  A make testdeps shows everything to be in order.
> > -Tried disabling external plugins.  I am using RT-Authen-ExternalAuth
> with
> > an LDAP backend.  No change here.
> > -Restoring a backup copy of /opt/rt4 version 4.0.2.  I didn't revert the
> > database, but it still gives the same error so I don't think it's
> database.
> >
> > Any ideas on what to do next would be greatly appreciated.
> > Thanks,
> > Jeff
>
>
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Barcelona, Spain — November 28 & 29, 2011
>

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28 & 29, 2011

[rt-users] RT 4.0.3 upgrade problem

2011-11-09 Thread Jeff Sampson
Hi All,
I just updated my previously working 4.0.2 RT server to 4.0.3.  RT is
running under mod_perl on this box.  I followed all of the upgrade
instructions as usual (./configure;make testdeps;make upgrade;make
upgrade-database, and cleared the mason cache directory).  The problem is
that when visiting the RT URL server gives a HTTP 500 error.  In syslog I
get these messages.

Nov  9 11:43:22 noname RT: Subroutine handle_startup_error redefined at
/opt/rt4/sbin/rt-server line 238. (/opt/rt4/sbin/rt-server:238)
Nov  9 11:43:22 noname RT: Subroutine handle_bind_error redefined at
/opt/rt4/sbin/rt-server line 250. (/opt/rt4/sbin/rt-server:250)
Nov  9 11:43:34 noname RT: #011(in cleanup) Error while loading
/opt/rt4/sbin/rt-server: Can't locate object method "ComponentRoots" via
package "RT::Interface::Web" at /opt/rt4/sbin/../lib/RT/
Config.pm line 205. (/opt/rt4/sbin/../lib/RT.pm:343)

Here is what I have tried:
-Make sure my perl dependencies are all up to date.  I did this using
CPAN.  A make testdeps shows everything to be in order.
-Tried disabling external plugins.  I am using RT-Authen-ExternalAuth with
an LDAP backend.  No change here.
-Restoring a backup copy of /opt/rt4 version 4.0.2.  I didn't revert the
database, but it still gives the same error so I don't think it's database.

Any ideas on what to do next would be greatly appreciated.
Thanks,
Jeff

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28 & 29, 2011