Request tracker

Hi,

I have request tracker installed on a centos 6 server but now I need to
update my server to centos 7.
I have tried to install request tracker 4.2 to my centos 7 server but after
sucessfully finished the installation the web page of rt doesnt load and I
got this error “Can’t locate loadable object for module Data::UUID in
@INC”.
This is my rt.log:

[Tue Nov 10 12:56:53.844353 2015] [core:notice] [pid 5852] AH00094: Command
line: ‘/usr/sbin/httpd -D FOREGROUND’
[5886] [Tue Nov 10 17:57:03 2015] [critical]: Can’t locate loadable object
for module Data::UUID in @INC (@INC contains: /opt/rt4/sbin/…/local/lib
/opt/rt4/sbin/…/lib /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5 .) at /usr/local/lib64/perl5/Data/GUID.pm line 10.
Compilation failed in require at /usr/local/lib64/perl5/Data/GUID.pm line
10.
BEGIN failed–compilation aborted at /usr/local/lib64/perl5/Data/GUID.pm
line 10.
Compilation failed in require at /opt/rt4/sbin/…/lib/RT/System.pm line 81.
BEGIN failed–compilation aborted at /opt/rt4/sbin/…/lib/RT/System.pm line
81.
Compilation failed in require at
/opt/rt4/sbin/…/lib/RT/Record/Role/Roles.pm line 68.
Compilation failed in require at (eval 173) line 2.
BEGIN failed–compilation aborted at (eval 173) line 2.
at /usr/local/lib64/perl5/Role/Basic.pm line 429.
Role::Basic::_load_role(‘Role::Basic’, ‘RT::Record::Role::Roles’,
undef) called at /usr/local/lib64/perl5/Role/Basic.pm line 124
Role::Basic::apply_roles_to_package(‘Role::Basic’, ‘RT::Queue’,
‘RT::Record::Role::Lifecycle’, ‘RT::Record::Role::Links’,
‘HASH(0x4216cf0)’, ‘RT::Record::Role::Roles’, ‘RT::Record::Role::Rights’)
called at /usr/local/lib64/perl5/Role/Basic.pm line 24
Role::Basic::ANON(‘RT::Record::Role::Lifecycle’,
‘RT::Record::Role::Links’, ‘HASH(0x4216cf0)’, ‘RT::Record::Role::Roles’,
‘RT::Record::Role::Rights’) called at /opt/rt4/sbin/…/lib/RT/Queue.pm line
73
require RT/Queue.pm called at /opt/rt4/sbin/…/lib/RT/Scrip.pm line
72
RT::Scrip::BEGIN() called at /opt/rt4/sbin/…/lib/RT/Queue.pm line 0
eval {…} called at /opt/rt4/sbin/…/lib/RT/Queue.pm line 0
require RT/Scrip.pm called at /opt/rt4/sbin/…/lib/RT/Scrips.pm
line 74
RT::Scrips::BEGIN() called at /opt/rt4/sbin/…/lib/RT/Queue.pm line
0
eval {…} called at /opt/rt4/sbin/…/lib/RT/Queue.pm line 0
require RT/Scrips.pm called at
/opt/rt4/sbin/…/lib/RT/Transaction.pm line 82
RT::Transaction::BEGIN() called at /opt/rt4/sbin/…/lib/RT/Queue.pm
line 0
eval {…} called at /opt/rt4/sbin/…/lib/RT/Queue.pm line 0
require RT/Transaction.pm called at
/opt/rt4/sbin/…/lib/RT/Transactions.pm line 74
RT::Transactions::BEGIN() called at
/opt/rt4/sbin/…/lib/RT/Queue.pm line 0
eval {…} called at /opt/rt4/sbin/…/lib/RT/Queue.pm line 0
require RT/Transactions.pm called at
/opt/rt4/sbin/…/lib/RT/Record.pm line 76
require RT/Record.pm called at (eval 84) line 2
eval ‘require RT::Record
;’ called at /usr/share/perl5/base.pm line 81
base::import(‘base’, ‘RT::Record’) called at
/opt/rt4/sbin/…/lib/RT/User.pm line 71
RT::User::BEGIN() called at /opt/rt4/sbin/…/lib/RT/Queue.pm line 0
eval {…} called at /opt/rt4/sbin/…/lib/RT/Queue.pm line 0
require RT/User.pm called at (eval 83) line 2
eval ‘require RT::User
;’ called at /usr/share/perl5/base.pm line 81
base::import(‘base’, ‘RT::User’) called at
/opt/rt4/sbin/…/lib/RT/CurrentUser.pm line 94
RT::CurrentUser::BEGIN() called at /opt/rt4/sbin/…/lib/RT/Queue.pm
line 0
eval {…} called at /opt/rt4/sbin/…/lib/RT/Queue.pm line 0
require RT/CurrentUser.pm called at
/opt/rt4/sbin/…/lib/RT/Handle.pm line 245

Hi,

I have request tracker installed on a centos 6 server but now I need to
update my server to centos 7.
I have tried to install request tracker 4.2 to my centos 7 server but after
sucessfully finished the installation the web page of rt doesnt load and I
got this error “Can’t locate loadable object for module Data::UUID in @INC”.

Do you have that module installed?

-m

Yes, first I installed it with yum install perl-data-uuid, cpan installer
and download it and installed form source.
All method installed the uuid package but I sitll got the error.

Regards,On Mon, Nov 16, 2015 at 11:38 AM, Matt Zagrabelny mzagrabe@d.umn.edu wrote:

On Mon, Nov 16, 2015 at 10:36 AM, Gerald Jimenez gejimene@gmail.com wrote:

Hi,

I have request tracker installed on a centos 6 server but now I need to
update my server to centos 7.
I have tried to install request tracker 4.2 to my centos 7 server but
after
sucessfully finished the installation the web page of rt doesnt load and
I
got this error “Can’t locate loadable object for module Data::UUID in
@INC”.

Do you have that module installed?

-m

Hi, please help me with the Data::UUID error.On Nov 16, 2015 11:59 AM, “Gerald Jimenez” gejimene@gmail.com wrote:

Yes, first I installed it with yum install perl-data-uuid, cpan installer
and download it and installed form source.
All method installed the uuid package but I sitll got the error.

Regards,

On Mon, Nov 16, 2015 at 11:38 AM, Matt Zagrabelny mzagrabe@d.umn.edu wrote:

On Mon, Nov 16, 2015 at 10:36 AM, Gerald Jimenez gejimene@gmail.com wrote:

Hi,

I have request tracker installed on a centos 6 server but now I need to
update my server to centos 7.
I have tried to install request tracker 4.2 to my centos 7 server but
after
sucessfully finished the installation the web page of rt doesnt load
and I
got this error “Can’t locate loadable object for module Data::UUID in
@INC”.

Do you have that module installed?

-m

Hi, please help me with the Data::UUID error.

What method are you using for serving RT from your webserver?
(modperl, fastcgi, fcgid, etc.)

-m

I am using fastcgi

Regards,On Tue, Nov 17, 2015 at 2:43 PM, Matt Zagrabelny mzagrabe@d.umn.edu wrote:

On Tue, Nov 17, 2015 at 12:00 PM, Gerald Jimenez gejimene@gmail.com wrote:

Hi, please help me with the Data::UUID error.

What method are you using for serving RT from your webserver?
(modperl, fastcgi, fcgid, etc.)

-m

I am using fastcgi

Okay. What about your web server?

What do your (web server) configs look like?

Can you write a super lightweight cgi that can load your Data::UUID module?

-m

This is my apache config for rt:

#<VirtualHost *:80>
AddDefaultCharset UTF-8

    ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/

    DocumentRoot "/opt/rt4/share/html"
    <Location /rt>
        <IfVersion >= 2.4>
            Require all granted
            Options +ExecCGI
            AddHandler fcgid-script fcgi
        </IfVersion>
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>

        Options +ExecCGI
        AddHandler fcgid-script fcgi
    </Location>

#On Tue, Nov 17, 2015 at 3:52 PM, Matt Zagrabelny mzagrabe@d.umn.edu wrote:

On Tue, Nov 17, 2015 at 2:47 PM, Gerald Jimenez gejimene@gmail.com wrote:

I am using fastcgi

Okay. What about your web server?

What do your (web server) configs look like?

Can you write a super lightweight cgi that can load your Data::UUID module?

-m

Hi,

Did you check my apache configuration?

Regards,On Tue, Nov 17, 2015 at 3:59 PM, Gerald Jimenez gejimene@gmail.com wrote:

This is my apache config for rt:

#<VirtualHost *:80>
AddDefaultCharset UTF-8

    ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/

    DocumentRoot "/opt/rt4/share/html"
    <Location /rt>
        <IfVersion >= 2.4>
            Require all granted
            Options +ExecCGI
            AddHandler fcgid-script fcgi
        </IfVersion>
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>

        Options +ExecCGI
        AddHandler fcgid-script fcgi
    </Location>

#

On Tue, Nov 17, 2015 at 3:52 PM, Matt Zagrabelny mzagrabe@d.umn.edu wrote:

On Tue, Nov 17, 2015 at 2:47 PM, Gerald Jimenez gejimene@gmail.com wrote:

I am using fastcgi

Okay. What about your web server?

What do your (web server) configs look like?

Can you write a super lightweight cgi that can load your Data::UUID
module?

-m

Hi,

Did you check my apache configuration?

Sorry - I haven’t. I would try making a perl CGI that mimics the RT
fastcgi and see if you can load the module in question.

-m

I don’t have any super advice here, just throwing out some ideas in case it helps.

I don’t see Data::UUID in the Perl requirements for RT?
It looks instead to be something needed by Apache, for ModPerl or FCGI?

Tough to say without being on the system, but from what I understand it’s not missing Data::UUID itself, but rather an object associated with it (e.g. shared object, etc)?
That can happen if you copied over any of the libs instead of installing them?

I wonder what might happen if you do a ‘forced’ full re-install of Data::UUID?
Or maybe there are some leftover pointers to an older version of the shared objects?
e.g. If Apache was copied over and not upgraded, etc

Did you get that error from the Apache logs and are they cranked up to debug level?
Are there other error lines nearby in the log(s) that might have more details?

  • Brent-----Original Message-----
    From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Matt Zagrabelny
    Sent: Monday, November 16, 2015 11:39 AM
    To: Gerald Jimenez
    Cc: rt-users
    Subject: Re: [rt-users] Fwd: Request tracker

On Mon, Nov 16, 2015 at 10:36 AM, Gerald Jimenez gejimene@gmail.com wrote:

Hi,

I have request tracker installed on a centos 6 server but now I need
to update my server to centos 7.
I have tried to install request tracker 4.2 to my centos 7 server but
after sucessfully finished the installation the web page of rt doesnt
load and I got this error “Can’t locate loadable object for module Data::UUID in @INC”.

Do you have that module installed?

-m

I installed a fresh version of apache on a new centos 7, after the error I
manually installed the Data::UUID module from yum and after that from
source but I got the same error.

This is the rt.log using debug:

Tue Nov 10 12:56:53.844353 2015] [core:notice] [pid 5852] AH00094: Command
line: ‘/usr/sbin/httpd -D FOREGROUND’
[5886] [Tue Nov 10 17:57:03 2015] [critical]: Can’t locate loadable object
for module Data::UUID in @INC (@INC contains: /opt/rt4/sbin/…/local/lib
/opt/rt4/sbin/…/lib /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5 .) at /usr/local/lib64/perl5/Data/GUID.pm line 10.
Compilation failed in require at /usr/local/lib64/perl5/Data/GUID.pm line
10.
BEGIN failed–compilation aborted at /usr/local/lib64/perl5/Data/GUID.pm
line 10.On Thu, Nov 19, 2015 at 12:20 PM, Parish, Brent bparish@cognex.com wrote:

I don’t have any super advice here, just throwing out some ideas in case
it helps.

I don’t see Data::UUID in the Perl requirements for RT?
It looks instead to be something needed by Apache, for ModPerl or FCGI?

Tough to say without being on the system, but from what I understand it’s
not missing Data::UUID itself, but rather an object associated with it
(e.g. shared object, etc)?
That can happen if you copied over any of the libs instead of installing
them?

I wonder what might happen if you do a ‘forced’ full re-install of
Data::UUID?
Or maybe there are some leftover pointers to an older version of the
shared objects?
e.g. If Apache was copied over and not upgraded, etc

Did you get that error from the Apache logs and are they cranked up to
debug level?
Are there other error lines nearby in the log(s) that might have more
details?

  • Brent

-----Original Message-----
From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On
Behalf Of Matt Zagrabelny
Sent: Monday, November 16, 2015 11:39 AM
To: Gerald Jimenez
Cc: rt-users
Subject: Re: [rt-users] Fwd: Request tracker

On Mon, Nov 16, 2015 at 10:36 AM, Gerald Jimenez gejimene@gmail.com wrote:

Hi,

I have request tracker installed on a centos 6 server but now I need
to update my server to centos 7.
I have tried to install request tracker 4.2 to my centos 7 server but
after sucessfully finished the installation the web page of rt doesnt
load and I got this error “Can’t locate loadable object for module
Data::UUID in @INC”.

Do you have that module installed?

-m

Ah, my mistake!
RT does require Data::GUID, which then requires Data::UUID.
I didn’t realize that until I saw your log where the load fails in GUID.pm line 10 (trying to load UUID).

And the UUID example script works for you, right?

#!/usr/bin/perl
use strict;
use warnings;
require Data::UUID;
my $ug = Data::UUID->new;
print $ug->create_from_name_str(‘NameSpace_URL’, “www.mycompany.com”);
print “\n”;From: Gerald Jimenez [mailto:gejimene@gmail.com]
Sent: Thursday, November 19, 2015 12:31 PM
To: Parish, Brent
Cc: rt-users
Subject: Re: [rt-users] Fwd: Request tracker

I installed a fresh version of apache on a new centos 7, after the error I manually installed the Data::UUID module from yum and after that from source but I got the same error.

This is the rt.log using debug:

Tue Nov 10 12:56:53.844353 2015] [core:notice] [pid 5852] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[5886] [Tue Nov 10 17:57:03 2015] [critical]: Can’t locate loadable object for module Data::UUID in @INC (@INC contains: /opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/lib64/perl5/Data/GUID.pm line 10.
Compilation failed in require at /usr/local/lib64/perl5/Data/GUID.pm line 10.
BEGIN failed–compilation aborted at /usr/local/lib64/perl5/Data/GUID.pm line 10.

I don’t have any super advice here, just throwing out some ideas in case it helps.

I don’t see Data::UUID in the Perl requirements for RT?
It looks instead to be something needed by Apache, for ModPerl or FCGI?

Tough to say without being on the system, but from what I understand it’s not missing Data::UUID itself, but rather an object associated with it (e.g. shared object, etc)?
That can happen if you copied over any of the libs instead of installing them?

I wonder what might happen if you do a ‘forced’ full re-install of Data::UUID?
Or maybe there are some leftover pointers to an older version of the shared objects?
e.g. If Apache was copied over and not upgraded, etc

Did you get that error from the Apache logs and are they cranked up to debug level?
Are there other error lines nearby in the log(s) that might have more details?

  • Brent

I tested the UUID example script and it worked.

It looks like that for some reason GUID can´t locate or use UUID.
Line 10 of /usr/local/lib64/perl5/Data/GUID.pm is: use Data::UUID 1.148;
I even deleted my UUID latest version 1.221 and installed version 1.148 but
it didnt worked either.

Regards,On Thu, Nov 19, 2015 at 1:05 PM, Parish, Brent bparish@cognex.com wrote:

Ah, my mistake!

RT does require Data::GUID, which then requires Data::UUID.

I didn’t realize that until I saw your log where the load fails in GUID.pm
line 10 (trying to load UUID).

And the UUID example script works for you, right?

#!/usr/bin/perl

use strict;

use warnings;

require Data::UUID;

my $ug = Data::UUID->new;

print $ug->create_from_name_str(‘NameSpace_URL’, “www.mycompany.com”);

print “\n”;

From: Gerald Jimenez [mailto:gejimene@gmail.com]
Sent: Thursday, November 19, 2015 12:31 PM
To: Parish, Brent

Cc: rt-users
Subject: Re: [rt-users] Fwd: Request tracker

I installed a fresh version of apache on a new centos 7, after the error I
manually installed the Data::UUID module from yum and after that from
source but I got the same error.

This is the rt.log using debug:

Tue Nov 10 12:56:53.844353 2015] [core:notice] [pid 5852] AH00094: Command
line: ‘/usr/sbin/httpd -D FOREGROUND’

[5886] [Tue Nov 10 17:57:03 2015] [critical]: Can’t locate loadable object
for module Data::UUID in @INC (@INC contains: /opt/rt4/sbin/…/local/lib
/opt/rt4/sbin/…/lib /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5 .) at /usr/local/lib64/perl5/Data/GUID.pm line 10.

Compilation failed in require at /usr/local/lib64/perl5/Data/GUID.pm line
10.

BEGIN failed–compilation aborted at /usr/local/lib64/perl5/Data/GUID.pm
line 10.

On Thu, Nov 19, 2015 at 12:20 PM, Parish, Brent bparish@cognex.com wrote:

I don’t have any super advice here, just throwing out some ideas in case
it helps.

I don’t see Data::UUID in the Perl requirements for RT?
It looks instead to be something needed by Apache, for ModPerl or FCGI?

Tough to say without being on the system, but from what I understand it’s
not missing Data::UUID itself, but rather an object associated with it
(e.g. shared object, etc)?
That can happen if you copied over any of the libs instead of installing
them?

I wonder what might happen if you do a ‘forced’ full re-install of
Data::UUID?
Or maybe there are some leftover pointers to an older version of the
shared objects?
e.g. If Apache was copied over and not upgraded, etc

Did you get that error from the Apache logs and are they cranked up to
debug level?
Are there other error lines nearby in the log(s) that might have more
details?

  • Brent

-----Original Message-----
From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On
Behalf Of Matt Zagrabelny
Sent: Monday, November 16, 2015 11:39 AM
To: Gerald Jimenez
Cc: rt-users
Subject: Re: [rt-users] Fwd: Request tracker

On Mon, Nov 16, 2015 at 10:36 AM, Gerald Jimenez gejimene@gmail.com wrote:

Hi,

I have request tracker installed on a centos 6 server but now I need
to update my server to centos 7.
I have tried to install request tracker 4.2 to my centos 7 server but
after sucessfully finished the installation the web page of rt doesnt
load and I got this error “Can’t locate loadable object for module
Data::UUID in @INC”.

Do you have that module installed?

-m