Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Jerrad Pierce
I wasn't suggesting you reinstall (thought it might be a nice time to
upgrade if you can do so). But rather extracting the tarball so that
you'd get something where make testdeps worked.

-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Mike
 

 Another copy of RT? 

If so, do you recomend over-installing 3.8.1 with 3.8.6 or reinstall
3.8.1?

 On Fri 13/11/09 8:04 AM , "Jerrad Pierce"
jpie...@cambridgeenergyalliance.org sent:
  This is not an RT problem per se, and it is yet another example of the
 problems with relying upon externally controlled (automatically
 updated) libraries to run a large 3rd party system i.e; you should
 ideally have a local perl installation to run RT.

 RH ES4 is known to use an outdated and incompatible Scalar::Util,
 perhaps ES5 does as well.

 > "make testdeps" will not run with *** No rule to make target
 > `testdeps'. Stop. error.
 Then your build tree is seriously borked. Fetch and extract another
 copy so that you *can* run make testdeps.

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

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


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

Re: [rt-users] Help with a query - I already know the ticket id #s

2009-11-13 Thread Blakley, Michael
Hi,

 

Can you post the query, as well as a sample of the non-meaningful
results you get?

 

mb

 

From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of iWench
Sent: Friday, November 13, 2009 12:20 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Help with a query - I already know the ticket id #s

 

Hi Folks,

I have done a ton of searching to see if I could find the answer to my
question  - no luck.  I apologize in advance if I somehow missed the
answer.   

I have a specific list of ticket id numbers  (approx 200) that I need to
query and get results on.   I would like to grab the subject and the
ticket status but do not need any other criteria beyond those items.   I
have tried using the Query Builder and Advanced query editing - I simply
am unable to get any meaningful results using known multiple ticket id
numbers.   

What am I doing wrong ?

Thanks so much !

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

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


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

[rt-users] Help with a query - I already know the ticket id #s

2009-11-13 Thread iWench
Hi Folks,

I have done a ton of searching to see if I could find the answer to my
question  - no luck.  I apologize in advance if I somehow missed the
answer.

I have a specific list of ticket id numbers  (approx 200) that I need to
query and get results on.   I would like to grab the subject and the ticket
status but do not need any other criteria beyond those items.   I have tried
using the Query Builder and Advanced query editing - I simply am unable to
get any meaningful results using known multiple ticket id numbers.

What am I doing wrong ?

Thanks so much !
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Kevin Falcone
> The best solution is to get people willing to sponsor packaging RT for RH in 
> the EPEL repository, SuSE on the OBS, Mandriva contrib, and Debian Unstable. 

Dominic Hargreaves expends a lot of effort on the Debian part of this
and I'm thankful to him for it.

-kevin


pgpTKQXoIlkO3.pgp
Description: PGP signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Gary L. Greene, Jr.
On Friday 13 November 2009 10:16:06 am Jerrad Pierce wrote:
> > those too parented in the site_perl tree. IMO, the need for a source
> > built/local build of Perl is NEVER a good solution to hand to users.
> > Running a ticketing tool shouldn't require a user to build a local copy
> > of a core distribution component.
> 
> It's got nothing to do with RT. Existing package managers do not play
> well with Perl's modules/libraries. The same goes for any language
> that lets you install updates outside of the platform's rigid package
> system.
> 
> RPM's can execute initialization scripts, and there's no reason why
> RedHat shouldn't check to see what the *real* version of the library
> on disk is before blindly clobbering it.
> 
> Your solution of "compile your own packages of potentially conflicting
> libraries that will install to site_perl" doesn't sound much
> friendlier than "use another perl." Arguably, a better solution would
> be for RT to use local::lib, but it's relatively new.
> 

I'm sorry, but you cannot expect RPM (or any other packaging system like DPKG, 
etc.) to know ANYTHING about CPAN or the other way around. The two systems are 
completely orthogonal and have VERY different philosophical views regarding 
software management. RPM only wants to deal with RPM packages with their file 
manifests, and CPAN is more like the BSD ports system in the fact that its a 
source build, every time. Either you use RPMs or you risk breaking the 
dependency chain on your system, which I as an experienced administrator DON'T 
want to deal with.

The best solution is to get people willing to sponsor packaging RT for RH in 
the EPEL repository, SuSE on the OBS, Mandriva contrib, and Debian Unstable. 
(The reason for the given distributions listed is that should cover the major 
flavours out there fairly well since anything in EPEL will be usable for 
CentOS and RHEL; having it in OBS for SuSE would make it possible to have 
releases for SLES 10-11 and OpenSuSE 11.x; Mandriva contrib since they've one 
of the most comprehensive collection of Perl packages to any other RPM 
distribution, and their flavour of RPM is not 100% compatible to RH, SuSE, 
etc.; and Debian Unstable packages in most cases will work on Ubuntu for those 
that want/need Ubuntu LTS compatibility.) Yes, it's not perfect, but that's 
the breaks in the F/OSS world.

Upping the ante and requiring a person to manage the myriad of modules that RT 
requires is a non-trivial task for non-Perl savvy people (I am well versed in 
Perl so it's no issue to me with my custom scripts to auto package them up 
using cpan2rpm (generates specs for me which then are fed to my autobuilder), 
but I can see where this could definitely impact the user base of RT overall.)

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] Action Clarification

2009-11-13 Thread Ken Crocker
To List,

I need to clarify something. If I have a script with the action "Notify 
Cc's", will that notification go to just the Queue "CC" watchers or will 
it also go to the Ticket "CC" list as well?

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

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


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


Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Mathieu Longtin
I'm running it on Red Hat ES 5.4 without issues. The only thing about RH and
RT, is that you need to re-install File::Temp everytime the perl RPM is
updated.
--
Mathieu Longtin
1-514-803-8977


On Fri, Nov 13, 2009 at 1:02 PM, Gary L. Greene, Jr. <
ggre...@minervanetworks.com> wrote:

> On Friday 13 November 2009 8:04:35 am Jerrad Pierce wrote:
> > This is not an RT problem per se, and it is yet another example of the
> > problems with relying upon externally controlled (automatically
> > updated) libraries to run a large 3rd party system i.e; you should
> > ideally have a local perl installation to run RT.
> >
> > RH ES4 is known to use an outdated and incompatible Scalar::Util,
> > perhaps ES5 does as well.
> >
> > > "make testdeps" will not run with *** No rule to make target
> > > `testdeps'.  Stop. error.
> >
> > Then your build tree is seriously borked. Fetch and extract another
> > copy so that you *can* run make testdeps.
> > ___
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Community help: http://wiki.bestpractical.com
> > Commercial support: sa...@bestpractical.com
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com
> >
>
> I've been running RT just fine on a CentOS box. Note that I've built all
> modules that are required as packages, and noted the breakage of various
> core
> modules as shipped by RH from the CentOS mailing list, so I build packages
> for
> those too parented in the site_perl tree. IMO, the need for a source
> built/local build of Perl is NEVER a good solution to hand to users.
> Running a
> ticketing tool shouldn't require a user to build a local copy of a core
> distribution component.
>
> --
> Gary L. Greene, Jr.
> IT Operations
> Minerva Networks, Inc.
> Cell:  (650) 704-6633
> Phone: (408) 240-1239
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Jerrad Pierce
> those too parented in the site_perl tree. IMO, the need for a source
> built/local build of Perl is NEVER a good solution to hand to users. Running a
> ticketing tool shouldn't require a user to build a local copy of a core
> distribution component.
It's got nothing to do with RT. Existing package managers do not play
well with Perl's modules/libraries. The same goes for any language
that lets you install updates outside of the platform's rigid package
system.

RPM's can execute initialization scripts, and there's no reason why
RedHat shouldn't check to see what the *real* version of the library
on disk is before blindly clobbering it.

Your solution of "compile your own packages of potentially conflicting
libraries that will install to site_perl" doesn't sound much
friendlier than "use another perl." Arguably, a better solution would
be for RT to use local::lib, but it's relatively new.
-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Gary L. Greene, Jr.
On Friday 13 November 2009 8:04:35 am Jerrad Pierce wrote:
> This is not an RT problem per se, and it is yet another example of the
> problems with relying upon externally controlled (automatically
> updated) libraries to run a large 3rd party system i.e; you should
> ideally have a local perl installation to run RT.
> 
> RH ES4 is known to use an outdated and incompatible Scalar::Util,
> perhaps ES5 does as well.
> 
> > "make testdeps" will not run with *** No rule to make target
> > `testdeps'.  Stop. error.
> 
> Then your build tree is seriously borked. Fetch and extract another
> copy so that you *can* run make testdeps.
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
> 

I've been running RT just fine on a CentOS box. Note that I've built all 
modules that are required as packages, and noted the breakage of various core 
modules as shipped by RH from the CentOS mailing list, so I build packages for 
those too parented in the site_perl tree. IMO, the need for a source 
built/local build of Perl is NEVER a good solution to hand to users. Running a 
ticketing tool shouldn't require a user to build a local copy of a core 
distribution component.

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] Access to Attachment structure

2009-11-13 Thread Alessandra Serrau
> In order to create a custom scrip, I need to access to Attachment
> structure
> > because I would know the value of a header of the original request
> message.
> >
> > So I try to do in custom cleanup code block:
> > my $headers = $self->TransactionObj->Attachments->Headers;
> >
>
> $self->TransactionObj->Attachments links to multiple attachements, you
> have to walk them with:
>
> while ( my $Attachment = $self->TransactionObj->Attachments->Next ) {
>my $headers = $Attachment->Headers;
> }
>
> Or use only the first one:
>
> my $headers = $self->TransactionObj->Attachments->First->Headers;
>
>
> Thank you very much for the fast response!
>
> I tryed both solution, the first one works, the second one doesn't work,
> the error is:
> Can't call method "Headers" on an undefined value at (eval 962) line 3.
>
> For me is sufficent the first one solution.
> Still thank you
> --
> Alessandra Serrau
>
>
Sorry, the last email is not the correct answer...
The first solution doesn't work like the second one.

If I exclude the while loop and write:

my $Attachment = $self->TransactionObj->Attachments->Next;
my $headers = $Attachment->Headers;

the error is teìhe same:

Can't call method "Headers" on an undefined value at (eval 837) line 4.

Infact, in Attachment.pm it is not present neither "First" nor "Next"
methods.

How can I resolve my issue?
-- 
Alessandra Serrau
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] mandatory custom field

2009-11-13 Thread Ken Crocker
Alexandre,

Your question is odd. Are you saying you HAVE the CF's or WANT to have 
some CF's?
Also, if a CF is defined as "Mandatory", that is indicated when 
creating/updating a ticket. This is explained in the RT Essentials book.


Kenn
LBNL

On 11/13/2009 7:40 AM, Alexandre PIASER wrote:
> Hello
>
> I have some custom fields (mandatory and optional).
> I would differentiate between mandatory and optional fields. I would add 
> a mark or something else near mandatory fields.
> Is it possible ?
>
> Thanks,
>
>   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] how to re-order custom fields?

2009-11-13 Thread Ken Crocker

Kim,

I wrote up a User's guide AND an Admin Guide (someone who manages 
permissions & the tickets for a queue) for us. It's for 3.6.4. We're 
testing 3.8.6 now and when I'm through, I'll be updating it. If you're 
interested, that is.


Kenn
LBNL

On 11/12/2009 2:45 PM, Kimberly McKinnis wrote:


Aha, didn't see that in the pdf howto I was reading. Thanks!

 

I don't suppose anyone knows of a good document about rtfm 
permissions? I want a user to be able to search on articles 
themselves, but not be able to create articles. Everytime I grant "see 
class", they are able to create articles themselves. But only having 
"show article" isn't allowing them to do searches. Thanks!


 




*From:* Ken Crocker [mailto:kfcroc...@lbl.gov]
*Sent:* Thursday, November 12, 2009 2:30 PM
*To:* Kimberly McKinnis
*Cc:* rt-users@lists.bestpractical.com
*Subject:* Re: [rt-users] how to re-order custom fields?

 


Kimberly,

Global CF's come before "Queue" CF's. To set the sequence of how a CF 
shows up in a ticket, you have to set that on a queue by queue basis. 
So, you navigate thus:


Configuration->Queues->(select the Queue)->Ticket Custom Fields. At 
that point, you move the CF's up or down as you desire. Make sure you 
erase your cache.


Kenn
LBNL

On 11/12/2009 1:59 PM, Kimberly McKinnis wrote:

How can I force the ordering of custom fields? The fields under RTFM 
Content seem to be showing up in an arbitrary order, that makes no 
sense to the user.


 


~~

Kimberly McKinnis

System Operations Engineer

Service Provider Division, TiVo Inc

408-519-9607

 

 

 

 

 

 

 

&nb 
sp; 

 

 




This email and any attachments may contain confidential and privileged 
material for the sole use of the intended recipient. Any review, 
copying, or distribution of this email (or any attachments) by others 
is prohibited. If you are not the intended recipient, please contact 
the sender immediately and permanently delete this email and any 
attachments. No employee or agent of TiVo Inc. is authorized to 
conclude any binding agreement on behalf of TiVo Inc. by email. 
Binding agreements with TiVo Inc. may only be made by a signed written 
agreement.


 






 
___

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

Commercial support: sa...@bestpractical.com 
 
 
Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com



This email and any attachments may contain confidential and privileged 
material for the sole use of the intended recipient. Any review, 
copying, or distribution of this email (or any attachments) by others 
is prohibited. If you are not the intended recipient, please contact 
the sender immediately and permanently delete this email and any 
attachments. No employee or agent of TiVo Inc. is authorized to 
conclude any binding agreement on behalf of TiVo Inc. by email. 
Binding agreements with TiVo Inc. may only be made by a signed written 
agreement.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] mandatory custom field

2009-11-13 Thread Jerrad Pierce
> I have some custom fields (mandatory and optional).
> I would differentiate between mandatory and optional fields. I would add
> a mark or something else near mandatory fields.
> Is it possible ?
Doesn't the system already do this in the italics below the field
name? If not, make a local version of Ticket/Elements/EditCustomFields
and add your note inside the  of 

-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Jerrad Pierce
This is not an RT problem per se, and it is yet another example of the
problems with relying upon externally controlled (automatically
updated) libraries to run a large 3rd party system i.e; you should
ideally have a local perl installation to run RT.

RH ES4 is known to use an outdated and incompatible Scalar::Util,
perhaps ES5 does as well.

> "make testdeps" will not run with *** No rule to make target
> `testdeps'.  Stop. error.
Then your build tree is seriously borked. Fetch and extract another
copy so that you *can* run make testdeps.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Access to Attachment structure

2009-11-13 Thread Emmanuel Lacour
On Fri, Nov 13, 2009 at 05:01:47PM +0100, Alessandra Serrau wrote:
> In order to create a custom scrip, I need to access to Attachment structure
> because I would know the value of a header of the original request message.
> 
> So I try to do in custom cleanup code block:
> my $headers = $self->TransactionObj->Attachments->Headers;
> 

$self->TransactionObj->Attachments links to multiple attachements, you
have to walk them with:

while ( my $Attachment = $self->TransactionObj->Attachments->Next ) {
my $headers = $Attachment->Headers;
}

Or use only the first one:

my $headers = $self->TransactionObj->Attachments->First->Headers;

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

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


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


[rt-users] Access to Attachment structure

2009-11-13 Thread Alessandra Serrau
In order to create a custom scrip, I need to access to Attachment structure
because I would know the value of a header of the original request message.

So I try to do in custom cleanup code block:
my $headers = $self->TransactionObj->Attachments->Headers;

but in log I have this error message:
 Can't locate object method "Headers" via package "RT::Attachments".

I seen in file ..lib/RT/Attachment.pm that the method Headers exists.


Anybody can say me the reason of this error?

Thank you in advance for the attention

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

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


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

Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Mike
RT has been down now for over a week.
The first thing I tried was to run "make testdeps", which fails.
I can and did run "perl test-dependencies --mysql --modperl2" and installed 
dependencies.
This allowed me to get httpd back up but not RT.
This server is also a co-host for Moodle, which is running fine.
RT had been running, on this system, for over a year.
For the last 6 months, it did not have access to updates, prior to, it got them 
~weekly with no problems.

At this point, I think my only option is to port the data and move on to 
another platform.
Does anyone know of any documents on migrating RT and RTFM to a new host? I 
also want to convert from mysql to postgresql.

Thank you, Mike

-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Jason A. Smith
Sent: Friday, November 13, 2009 3:40 AM
To: Mike
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl is Broken after Centos 5.4 update

Have you tried running rt-test-dependencies to verify that everything is 
installed properly after your update?  I am running rt 3.8.6 on RHEL5.4 with no 
problems, after manually installing a few modules to satisfy the dependency 
test script.  I am not using RTFM though.

~Jason


On Thu, 2009-11-12 at 21:27 -0800, Mike wrote:
> I am disappointed to report that the fix did not resolve my issues.
> 
> I still receive “httpd dead but subsys locked” when restarting httd.
> 
> When I try to get to RT, it attempts to open a .part file.  
> changes each time.
> 
>  
> 
> Are there other cpan modules that I need to install?
> 
> Could there be scripts that are no longer available?
> 
> FYI. I am also running RTFM.
> 
>  
> 
> Thank you in advance,
> 
> -Mike Sitzer
> 
> 707.477-4077
> 
>  
> 
> From: Mathieu Longtin [mailto:math...@closetwork.org]
> Sent: Wednesday, November 11, 2009 9:02 PM
> To: m...@thesheengroup.com
> Cc: rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] Perl is Broken after Centos 5.4 update
> 
> 
>  
> 
> How to fix it:
> cpan File::Temp
> 
> How to future proof it:
> Setup cpan to install File::Temp in site_perl instead of the default 
> location, that way it won't get overwritten next time perl is updated.
> 
> --
> Mathieu Longtin
> 1-514-803-8977
> 
> 
> 
> On Wed, Nov 11, 2009 at 11:48 PM, Mike  wrote:
> 
> Does anyone have suggestions on how to repair perl after Centos-5.4 
> upgrade?
> 
>  
> 
> I was running Centos 5.2, mysql and modperl2.
> 
> 
> Update brought down Centos 5.4 and a gazillion other updates. 
> 
> 
> After which: 
> 
> 
> Apache would not start. 
> 
> 
> "make testdeps" will not run with *** No rule to make target 
> `testdeps'.  Stop. error.
> 
> 
> installed dependancies using "perl sbin/rt-test-dependencies 
> --with-mysql --with-modper2 --install
> 
> 
> Apache starts with “httpd dead but subsys locked” error.
> 
> 
>  
> 
> 
> - yum upgrade perl-File-Temp
> 455 packages excluded due to repository priority protections Setting 
> up Upgrade Process
> Package(s) perl-File-Temp available, but not installed.
> No Packages marked for Update
> 
> 
>  
> 
> 
> I see a lot of talk about how redhat messed up perl, but I have not 
> seen clear instructions on how to fix or prevent it again.
> 
>  
> 
> -Mike Sitzer
> 
> 
>  
> 
> 
> 
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com Commercial support: 
> sa...@bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
> 
> 
>  
> 
> 
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com Commercial support: 
> sa...@bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
--
/--\
|  Jason A. Smith  Email:  smit...@bnl.gov |
|  Atlas Computing Facility, Bldg. 510MPhone: +1-631-344-4226  |
|  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
|  Upton, NY 11973-5000,  U.S.A.   |
\--/

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

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


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

[rt-users] mandatory custom field

2009-11-13 Thread Alexandre PIASER
Hello

I have some custom fields (mandatory and optional).
I would differentiate between mandatory and optional fields. I would add 
a mark or something else near mandatory fields.
Is it possible ?

Thanks,

-- 
Alex


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

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


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


Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Mathieu Longtin
For starters, this sound like httpd crashing and leaving lock files behind.
Not sure how to deal with it.

Check you log in /var/log/httpd/error_log for errors.

--
Mathieu Longtin
1-514-803-8977


On Fri, Nov 13, 2009 at 12:27 AM, Mike  wrote:

>  I am disappointed to report that the fix did not resolve my issues.
>
> I still receive “httpd dead but subsys locked” when restarting httd.
>
> When I try to get to RT, it attempts to open a .part file.  changes
> each time.
>
>
>
> Are there other cpan modules that I need to install?
>
> Could there be scripts that are no longer available?
>
> FYI. I am also running RTFM.
>
>
>
> Thank you in advance,
>
> -Mike Sitzer
>
> 707.477-4077
>
>
>
> *From:* Mathieu Longtin [mailto:math...@closetwork.org]
> *Sent:* Wednesday, November 11, 2009 9:02 PM
> *To:* m...@thesheengroup.com
> *Cc:* rt-users@lists.bestpractical.com
> *Subject:* Re: [rt-users] Perl is Broken after Centos 5.4 update
>
>
>
> How to fix it:
>
> cpan File::Temp
>
> How to future proof it:
> Setup cpan to install File::Temp in site_perl instead of the default
> location, that way it won't get overwritten next time perl is updated.
>
> --
> Mathieu Longtin
> 1-514-803-8977
>
>  On Wed, Nov 11, 2009 at 11:48 PM, Mike  wrote:
>
> Does anyone have suggestions on how to repair perl after Centos-5.4
> upgrade?
>
>
>
> I was running Centos 5.2, mysql and modperl2.
>
> Update brought down Centos 5.4 and a gazillion other updates.
>
> After which:
>
> Apache would not start.
>
> "make testdeps" will not run with *** No rule to make target `testdeps'.
> Stop. error.
>
> installed dependancies using "perl sbin/rt-test-dependencies --with-mysql
> --with-modper2 --install
>
> Apache starts with “httpd dead but subsys locked” error.
>
>
>
> - yum upgrade perl-File-Temp
> 455 packages excluded due to repository priority protections
> Setting up Upgrade Process
> Package(s) perl-File-Temp available, but not installed.
> No Packages marked for Update
>
>
>
> I see a lot of talk about how redhat messed up perl, but I have not seen
> clear instructions on how to fix or prevent it again.
>
>
>
> -Mike Sitzer
>
>
>
>
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
>
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] FW: Creation of Child Tickets using templates :Error

2009-11-13 Thread Torsten Brumm
Have a closer look onto your template:

===Create-Ticket: Child

 Subject: {$Tickets{'TOP'}->Subject} - Child
 Status:new  Parents:TOP
 Type:ticket
 Refers-To: {$Tickets{'TOP'}->Id()}
 Content: This is a child ticket
 Queue: 20

 ENDOFCONTENT

You open the content part and inside this you post the queue where the
ticket should be created, this can be a possible error. try this:

===Create-Ticket: Child

Subject: {$Tickets{'TOP'}->Subject} - Child
Queue: 20
Status: new
Parents: TOP
Type: ticket
Refers-To: {$Tickets{'TOP'}->Id()}
Content: This is a child ticket

ENDOFCONTENT

2009/11/13 Baskaraganesan Natarajan 

> Folks,
>
> I am running RT 3 in Fedora 10.
>
> I'm trying to create Child Tickets based on  some conditions using
> Templates but it fails to create child tickets. Please find below, the
> details regarding the child ticket creation error:-
>
> Scrip
> ___
> Description:
> Condition: On Create
> Action: Create Tickets
> Template: child
> Stage: TransactionCreate
>
> 
>
>
> Template:
> ===Create-Ticket: Child
>
>  Subject: {$Tickets{'TOP'}->Subject} - Child
>  Status:new  Parents:TOP
>  Type:ticket
>  Refers-To: {$Tickets{'TOP'}->Id()}
>  Content: This is a child ticket
>  Queue: 20
>
>  ENDOFCONTENT
>
> 
> Error description: Log file
>
> [Thu Nov 12 12:04:27 2009] [debug]: Committing scrip #113 on txn #27712 of
> ticket #1657 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Scrips_Overlay.pm:190)
> [Thu Nov 12 12:04:27 2009] [debug]: In CreateByTemplate
> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:345)
> [Thu Nov 12 12:04:27 2009] [debug]: Workflow: processing create-Child  of
> RT::Ticket=HASH(0xbc63ed94)
> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:360)
> [Thu Nov 12 12:04:27 2009] [debug]: Workflow: evaluating
>  Subject: {$Tickets{'TOP'}->Subject} - Child
>  Status:new
>  Parents:TOP
>  Type:ticket
>  Refers-To: {$Tickets{'TOP'}->Id()}
>  Content: This is a child ticket
>  Queue: 20
>  ENDOFCONTENT
>  (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:653)
> [Thu Nov 12 12:04:27 2009] [debug]: Workflow: yielding  Subject:  - Child
>  Status:new
>  Parents:TOP
>  Type:ticket
>  Refers-To: 1657
>  Content: This is a child ticket
>  Queue: 20
>  ENDOFCONTENT
>  (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:669)
> [Thu Nov 12 12:04:27 2009] [debug]:  not a recognised queue object.
> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:279)
> [Thu Nov 12 12:04:27 2009] [debug]: RT::Ticket=HASH(0xbc726d34) No queue
> given for ticket creation.
> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:284)
> [Thu Nov 12 12:04:27 2009] [error]: Couldn't create related ticket
> create-Child  for 1657 Could not create ticket. Queue not set
> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:391)
> [Thu Nov 12 12:04:27 2009] [warning]: Use of uninitialized value in
> concatenation (.) or string at
> /usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm line 1188.
> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:1188)
>
>
> 
>
> I tried using both Queue name and id ,it resulted in the same error. Any
> help???
>
> Thanks,
>
>
> DISCLAIMER:
>
> ---
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of
> this message without the prior written consent of the author of this e-mail
> is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
>
> ---
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



-- 
MFG

Torsten Brumm

http://www.brumm.me
http://www.elektrofeld.de
___
http://lists.bestpractical.com/

[rt-users] FW: Creation of Child Tickets using templates :Error

2009-11-13 Thread Baskaraganesan Natarajan
Folks,

I am running RT 3 in Fedora 10.

I'm trying to create Child Tickets based on  some conditions using Templates 
but it fails to create child tickets. Please find below, the details regarding 
the child ticket creation error:-

Scrip
___
Description:
Condition: On Create
Action: Create Tickets
Template: child
Stage: TransactionCreate



Template:
===Create-Ticket: Child

 Subject: {$Tickets{'TOP'}->Subject} - Child
 Status:new  Parents:TOP
 Type:ticket
 Refers-To: {$Tickets{'TOP'}->Id()}
 Content: This is a child ticket
 Queue: 20

 ENDOFCONTENT

Error description: Log file

[Thu Nov 12 12:04:27 2009] [debug]: Committing scrip #113 on txn #27712 of 
ticket #1657 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Scrips_Overlay.pm:190)
[Thu Nov 12 12:04:27 2009] [debug]: In CreateByTemplate 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:345)
[Thu Nov 12 12:04:27 2009] [debug]: Workflow: processing create-Child  of 
RT::Ticket=HASH(0xbc63ed94) 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:360)
[Thu Nov 12 12:04:27 2009] [debug]: Workflow: evaluating
 Subject: {$Tickets{'TOP'}->Subject} - Child
 Status:new
 Parents:TOP
 Type:ticket
 Refers-To: {$Tickets{'TOP'}->Id()}
 Content: This is a child ticket
 Queue: 20
 ENDOFCONTENT  
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:653)
[Thu Nov 12 12:04:27 2009] [debug]: Workflow: yielding  Subject:  - Child
 Status:new
 Parents:TOP
 Type:ticket
 Refers-To: 1657
 Content: This is a child ticket
 Queue: 20
 ENDOFCONTENT  
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:669)
[Thu Nov 12 12:04:27 2009] [debug]:  not a recognised queue object. 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:279)
[Thu Nov 12 12:04:27 2009] [debug]: RT::Ticket=HASH(0xbc726d34) No queue given 
for ticket creation. 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:284)
[Thu Nov 12 12:04:27 2009] [error]: Couldn't create related ticket create-Child 
 for 1657 Could not create ticket. Queue not set 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:391)
[Thu Nov 12 12:04:27 2009] [warning]: Use of uninitialized value in 
concatenation (.) or string at 
/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm line 1188. 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/CreateTickets.pm:1188)



I tried using both Queue name and id ,it resulted in the same error. Any help???

Thanks,


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

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

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


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


Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Jason A. Smith
Have you tried running rt-test-dependencies to verify that everything is
installed properly after your update?  I am running rt 3.8.6 on RHEL5.4
with no problems, after manually installing a few modules to satisfy the
dependency test script.  I am not using RTFM though.

~Jason


On Thu, 2009-11-12 at 21:27 -0800, Mike wrote:
> I am disappointed to report that the fix did not resolve my issues.
> 
> I still receive “httpd dead but subsys locked” when restarting httd.
> 
> When I try to get to RT, it attempts to open a .part file. 
> changes each time.
> 
>  
> 
> Are there other cpan modules that I need to install?
> 
> Could there be scripts that are no longer available?
> 
> FYI. I am also running RTFM.
> 
>  
> 
> Thank you in advance,
> 
> -Mike Sitzer
> 
> 707.477-4077
> 
>  
> 
> From: Mathieu Longtin [mailto:math...@closetwork.org] 
> Sent: Wednesday, November 11, 2009 9:02 PM
> To: m...@thesheengroup.com
> Cc: rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] Perl is Broken after Centos 5.4 update
> 
> 
>  
> 
> How to fix it:
> cpan File::Temp
> 
> How to future proof it:
> Setup cpan to install File::Temp in site_perl instead of the default
> location, that way it won't get overwritten next time perl is updated.
> 
> --
> Mathieu Longtin
> 1-514-803-8977
> 
> 
> 
> On Wed, Nov 11, 2009 at 11:48 PM, Mike  wrote:
> 
> Does anyone have suggestions on how to repair perl after Centos-5.4
> upgrade?
> 
>  
> 
> I was running Centos 5.2, mysql and modperl2.
> 
> 
> Update brought down Centos 5.4 and a gazillion other updates. 
> 
> 
> After which: 
> 
> 
> Apache would not start. 
> 
> 
> "make testdeps" will not run with *** No rule to make target
> `testdeps'.  Stop. error.
> 
> 
> installed dependancies using "perl sbin/rt-test-dependencies
> --with-mysql --with-modper2 --install
> 
> 
> Apache starts with “httpd dead but subsys locked” error.
> 
> 
>  
> 
> 
> - yum upgrade perl-File-Temp
> 455 packages excluded due to repository priority protections
> Setting up Upgrade Process
> Package(s) perl-File-Temp available, but not installed.
> No Packages marked for Update
> 
> 
>  
> 
> 
> I see a lot of talk about how redhat messed up perl, but I have not
> seen clear instructions on how to fix or prevent it again.
> 
>  
> 
> -Mike Sitzer
> 
> 
>  
> 
> 
> 
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
> 
> 
>  
> 
> 
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
-- 
/--\
|  Jason A. Smith  Email:  smit...@bnl.gov |
|  Atlas Computing Facility, Bldg. 510MPhone: +1-631-344-4226  |
|  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
|  Upton, NY 11973-5000,  U.S.A.   |
\--/


smime.p7s
Description: S/MIME cryptographic signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Custom queue scrip

2009-11-13 Thread Alessandra Serrau
On Fri, Nov 13, 2009 at 9:42 AM, Alessandra Serrau wrote:

> Hi all,
> I'd like to create a custom scrip for a particular queue, but it doesn't
> work. The same scrip created as global scrip, works.
> Anybody can suggest me the reason?
>
> Thank you
>
> --
> Alessandra Serrau
>
> I don't know why my custum scrip didn't work, but now it is all ok: my
scrip works if defined in a particular queue too. So the problem is solved.

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

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


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

Re: [rt-users] Problems with rt-shredder / rt-validator

2009-11-13 Thread Sven Sternberger
Hi!

On Tue, 2009-11-10 at 14:50 +0100, Brumm, Torsten / Kuehne + Nagel / Ham
MI-ID wrote:
> i remember this problem at our installation some years ago, a hint from Ruz 
> was to check inside the link table for this ticket number and fix the problem 
> directly here (hopefully i remember correctly)

yes this did the trick. I removed a entry in Links (the Target was 
NULL) and afterwards shredder removed the rest of the ticket without
problems.

best regards and thanks to Torsten

sven

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

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


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


[rt-users] Custom queue scrip

2009-11-13 Thread Alessandra Serrau
Hi all,
I'd like to create a custom scrip for a particular queue, but it doesn't
work. The same scrip created as global scrip, works.
Anybody can suggest me the reason?

Thank you

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

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


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