Request Tracker email problems and errors

Dear List

We are getting this error in our error logs.

[Wed Apr 5 11:56:47 2006] [error]: Scrip Prepare 4 died. - Undefined
subroutine &Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 108.

Stack:
[/opt/rt3/lib/RT/Action/Generic.pm:108]
[/opt/rt3/lib/RT/Action/Generic.pm:80]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:178]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:473]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:236]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:162]
[/opt/rt3/lib/RT/Record.pm:1435]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:721]
[/opt/rt3/lib/RT/Interface/Web.pm:386]
[/opt/rt3/share/html/Ticket/Display.html:105]
[/opt/rt3/share/html/Ticket/Create.html:299]
[/opt/rt3/share/html/autohandler:247]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:481)

and then we are getting this error about the user database

[Wed Apr 5 11:37:38 2006] [err]: Couldn’t load from the users
database. (/opt/rt3/lib/RT/CurrentUser.pm:146)

We installed RT a while back to start testing etc adding accounts etc
etc, and never rebooted the server until yesterday, and now after the
reboot, we are receiving NO email correspondence from RT when adding a
new ticket or when adding a comment to the system, where as before we
rebooted everything was working perfectly.

Any help would be much appreciated.

Thanks in Advance.

Greg

Dear List

We are getting this error in our error logs.

[Wed Apr 5 11:56:47 2006] [error]: Scrip Prepare 4 died. - Undefined
subroutine &Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 108.

You need to reinstall Scalar::Util, this time building it with support
for the XS (compiled) version.

I would run RT’s “make testdeps”. It sounds like you don’t
have the Scalar::Utill module installed.On Wed, Apr 05, 2006 at 03:03:03PM +0200, Greg Shiers - SI Works Internet wrote:

Dear List

We are getting this error in our error logs.

[Wed Apr 5 11:56:47 2006] [error]: Scrip Prepare 4 died. - Undefined
subroutine &Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 108.

Stack:
[/opt/rt3/lib/RT/Action/Generic.pm:108]
[/opt/rt3/lib/RT/Action/Generic.pm:80]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:178]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:473]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:236]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:162]
[/opt/rt3/lib/RT/Record.pm:1435]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:721]
[/opt/rt3/lib/RT/Interface/Web.pm:386]
[/opt/rt3/share/html/Ticket/Display.html:105]
[/opt/rt3/share/html/Ticket/Create.html:299]
[/opt/rt3/share/html/autohandler:247]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:481)

and then we are getting this error about the user database

[Wed Apr 5 11:37:38 2006] [err]: Couldn’t load from the users
database. (/opt/rt3/lib/RT/CurrentUser.pm:146)

We installed RT a while back to start testing etc adding accounts etc
etc, and never rebooted the server until yesterday, and now after the
reboot, we are receiving NO email correspondence from RT when adding a
new ticket or when adding a comment to the system, where as before we
rebooted everything was working perfectly.

Any help would be much appreciated.

Thanks in Advance.

Greg


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html

I’ll give that a shot.

Any idea why no emails are getting sent out, before we rebooted they
were going out fine.

A Strange thing that i have noticed now too is that previously it was
set to record outgoing emails, which it did on all tickets, now the
system doesnt seem to record emails in the ticket history at all any more.

I’ll give make testdeps a shot now and see what happens.

Todd Chapman wrote:

I’ll give that a shot.

Any idea why no emails are getting sent out, before we rebooted they
were going out fine.

A Strange thing that i have noticed now too is that previously it was
set to record outgoing emails, which it did on all tickets, now the
system doesnt seem to record emails in the ticket history at all any more.

I’ll give make testdeps a shot now and see what happens.

Perhaps you had changed your PATH to find the right perl
and when you rebooted the past was lost and now the
wrong perl is being found. Did you install a second perl?

-Todd

Todd Chapman wrote:> On Wed, Apr 05, 2006 at 03:10:32PM +0200, Greg Shiers - SI Works Internet wrote:

I’ll give that a shot.

Any idea why no emails are getting sent out, before we rebooted they
were going out fine.

A Strange thing that i have noticed now too is that previously it was
set to record outgoing emails, which it did on all tickets, now the
system doesnt seem to record emails in the ticket history at all any more.

I’ll give make testdeps a shot now and see what happens.

Perhaps you had changed your PATH to find the right perl
and when you rebooted the past was lost and now the
wrong perl is being found. Did you install a second perl?

-Todd

We didnt install a second perl STD Fedora Core 4 install

[root@ftp1 ~]# which perl
/usr/bin/perl
[root@ftp1 ~]# perl -v

This is perl, v5.8.6 built for i386-linux-thread-multi

Emails used to be recorded in the history, and now they aren’t at all.

When I log out of RT for some reason we get this in the error log

[Wed Apr 5 11:37:38 2006] [err]: Couldn’t load from the users database.
(/opt/rt3/lib/RT/CurrentUser.pm:146)

Not sure if that has any relevance.