From cloos at netcologne.de Tue Sep 1 02:20:43 2015 From: cloos at netcologne.de (Christian Loos) Date: Tue, 1 Sep 2015 08:20:43 +0200 Subject: [rt-users] RT CLI CF query operators In-Reply-To: References: <55DEA6D5.9090407@netcologne.de> Message-ID: <55E543BB.5020109@netcologne.de> Hi, interesting, pasting your query in the advanced query box doesn't report any errors for me (rt 4.2.12). What is your RT version? Chris Am 29.08.2015 um 03:05 schrieb support at pureview.com: > Loos, > > Thank you for the help but after I rectified the typo. I still getting a > different errors. > > rt list -i 'CF.{Modtrak} > 0 AND Created >= "2015-07-01" AND Created <= > "2015-07-31"' > rt: Invalid query: 'Wrong query, expecting a AGGREGATOR in 'CF.{Modtrak} > > 0 AND Created >='"2015-07-01'>" AND Created <='"<--here2015-07-31'"' at > /opt/rt4/sbin/../lib/RT/SQL.pm line 130. From alex at chmrr.net Tue Sep 1 03:10:38 2015 From: alex at chmrr.net (Alex Vandiver) Date: Tue, 1 Sep 2015 03:10:38 -0400 Subject: [rt-users] Pg FTS query works, RT search returns 0 results ( was: '.' as delimiter/boundary breaks domain name searches) In-Reply-To: <55E45907.3040803@kickflop.net> References: <542C5B13.5070508@kickflop.net> <20141002145656.GE2951@jibsheet.com> <20141002150822.GM11672@aart.rice.edu> <55E45907.3040803@kickflop.net> Message-ID: <20150901071038.GA51617@chmrr.net> On Mon, Aug 31, 2015 at 09:39:19AM -0400, Jeff Blaine wrote: > I'm reviving this one time in case anyone has further ideas. > > * PostgreSQL 8.4.20 (RHEL 6.6) with FTS does the right > thing when parsing an email address[1] > > * An RT 4.2.12 search for the same string returns 0 results[2]. > I'm 98% certain the ticket *is* indexed though as other queries > return it[2]. > > * The rt-fulltext-indexer script runs every 10 minutes and has > no errors. Is the ticket in question a merged ticket? You had a mail from the same timeframe which dealt with merged ticket FTS, which is a known bug: https://issues.bestpractical.com/Ticket/Display.html?id=9370 Sadly, there's not good solution to that bug at this time. Otherwise, seeing the query RT is generating, and stripping clauses out of it until it matches, is likely your best bet. You can see the SQL generated from a TicketSQL query by running: perl -MRT=-init -le '$t=RT::Tickets->new(RT->SystemUser);$t->FromSQL("@ARGV");print $t->BuildSelectQuery' \ "Content LIKE 'foo at domain.com'" - Alex From alex at chmrr.net Tue Sep 1 03:29:42 2015 From: alex at chmrr.net (Alex Vandiver) Date: Tue, 1 Sep 2015 03:29:42 -0400 Subject: [rt-users] scrip to delete a Cc adress in a ticket In-Reply-To: <55E471C3.1030705@keyyo.com> References: <55E471C3.1030705@keyyo.com> Message-ID: <20150901072942.GC51617@chmrr.net> On Mon, Aug 31, 2015 at 05:24:51PM +0200, Lo?c Cadoret wrote: > We are running RT 3.8.11 (update to RT 4.2.x is currently not an option) Your RT instance contains arbitrary remote execution of code, session fixation and hijacking, XSS injection, SQL injection, and weak password hashing that allows trivial reconstruction of passwords from said SQL injection. Whatever your reasons are for 4.2 being "not an option," you should at _very_ least upgrade to 3.8.17, which resolves the worst of those. It will still, of course, be unsupported, and vulnerable to other vulnerabilities (including CVE-2014-9472, a denial-of-service via RT's email gateway, as well as CVE-2015-1165 and CVE-2015-1464, which allow for information disclosure and session hijacking via RT's RSS feeds) but will be slightly less exploitable. Please upgrade. - Alex From jeffrey.pilant at bayer.com Tue Sep 1 13:47:22 2015 From: jeffrey.pilant at bayer.com (Jeffrey Pilant) Date: Tue, 1 Sep 2015 17:47:22 +0000 Subject: [rt-users] RT CLI CF query operators Message-ID: <3135BE7DD2D7484C840CDD011A999B7440E59747@MOXCXR.na.bayer.cnb> Support at pureview.com wrote: > I trying to use RT CLI on a CF for operators and I having a hard time to > get this working. Can any help on this. I do not know what I'm doing > wrong. > rt list -i "'CF.{Modtrak}' > 0 AND Created >= '2015-07-01' AND Create <= > '2015-07-31'" > rt: Invalid query: 'Unknown field 'Create' in ''CF.{Modtrak}' > 0 AND > Created >= '2015-07-01' AND Create <= '2015-07-31'' at > /opt/rt4/sbin/../lib/RT/Tickets.pm line 2943. And later: > Thank you for the help but after I rectified the typo. I still getting a > different errors. > > rt list -i 'CF.{Modtrak} > 0 AND Created >= "2015-07-01" AND Created <= > "2015-07-31"' > rt: Invalid query: 'Wrong query, expecting a AGGREGATOR in 'CF.{Modtrak} > > 0 AND Created >='"2015-07-01'>" AND Created <='"<--here2015-07-31'"' at > /opt/rt4/sbin/../lib/RT/SQL.pm line 130. When you corrected your typo, you also changed your quoting. This can be seen by the error message retyping of your query. Try (as one line): rt list -i "'CF.{Modtrak}' > 0 AND Created >= '2015-07-01' AND Created <= '2015-07-31'" /jeff ________________________________________________________________________ The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender. Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com ________________________________________________________________________ From jcoombs at staff.gwi.net Tue Sep 1 14:46:50 2015 From: jcoombs at staff.gwi.net (Josh Coombs) Date: Tue, 1 Sep 2015 14:46:50 -0400 Subject: [rt-users] ExtractCustomFields for Ticket values Message-ID: I'm working on switching from individual per Queue custom scrips in Perl to using ExtractCustomFields for populating ticket data on creation via incoming email. So far I've gotten the basics working, but I'm running into a brick wall changing the ticket owner. What we had as a scrip, pruned down to just setting the owner: my $Ticket = $self->TicketObj; my $Transaction = $self->TransactionObj; my $Attachment = $Transaction->Attachments; my $AttFirst = $Attachment->First; my $NewRTOwner = $AttFirst->GetHeader('X-NEW-RT-OWNER'); $Ticket->SetOwner($NewRTOwner); With ExtractCustomFields I've setup the standard scrip with the following template: |X-NEW-RT-OWNER|.*|$RT::Ticket->SetOwner($value)| With debug logging lit, the post command is failing saying method SetOwner can't be called on an undefined value. I can see that $value is getting correct set from the debug leading up to that failure, so I suspect this is a scope error on my part? Any guidance would be greatly appreciated. Josh C -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcoombs at staff.gwi.net Tue Sep 1 16:17:55 2015 From: jcoombs at staff.gwi.net (Josh Coombs) Date: Tue, 1 Sep 2015 16:17:55 -0400 Subject: [rt-users] ExtractCustomFields for Ticket values In-Reply-To: References: Message-ID: Solved my own issue, I was mis-reading the error. Final solution for the postcmd: my $ticket = $self->TicketObj; $ticket->SetOwner($value)| Josh C On Tue, Sep 1, 2015 at 2:46 PM, Josh Coombs wrote: > I'm working on switching from individual per Queue custom scrips in Perl > to using ExtractCustomFields for populating ticket data on creation via > incoming email. So far I've gotten the basics working, but I'm running > into a brick wall changing the ticket owner. > > What we had as a scrip, pruned down to just setting the owner: > > my $Ticket = $self->TicketObj; > my $Transaction = $self->TransactionObj; > my $Attachment = $Transaction->Attachments; > my $AttFirst = $Attachment->First; > > my $NewRTOwner = $AttFirst->GetHeader('X-NEW-RT-OWNER'); > > $Ticket->SetOwner($NewRTOwner); > > With ExtractCustomFields I've setup the standard scrip with the following > template: > > |X-NEW-RT-OWNER|.*|$RT::Ticket->SetOwner($value)| > > With debug logging lit, the post command is failing saying method SetOwner > can't be called on an undefined value. I can see that $value is getting > correct set from the debug leading up to that failure, so I suspect this is > a scope error on my part? > > Any guidance would be greatly appreciated. > > Josh C > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lstewart at iweb.com Tue Sep 1 16:29:36 2015 From: lstewart at iweb.com (Landon Stewart) Date: Tue, 1 Sep 2015 20:29:36 +0000 Subject: [rt-users] ExtractCustomFields for Ticket values In-Reply-To: References: Message-ID: <4C02E650-92AE-44F9-BD90-E03B9D2F9CC9@iweb.com> Just an FYI, it might simplify things in the future if you access things as directly as possible. Some prefer to do this, some don't I guess. For Example - instead of: my $ticket = $self->TicketObj; $ticket->SetOwner($value) You might do: $self->TicketObj->SetOwner($value) Or even: $self->TicketObj->SetOwner( $self->TransactionObj->Attachments->First->GetHeader('X-NEW-RT-OWNER') ); On Sep 1, 2015, at 1:17 PM, Josh Coombs > wrote: Solved my own issue, I was mis-reading the error. Final solution for the postcmd: my $ticket = $self->TicketObj; $ticket->SetOwner($value)| Josh C On Tue, Sep 1, 2015 at 2:46 PM, Josh Coombs > wrote: I'm working on switching from individual per Queue custom scrips in Perl to using ExtractCustomFields for populating ticket data on creation via incoming email. So far I've gotten the basics working, but I'm running into a brick wall changing the ticket owner. What we had as a scrip, pruned down to just setting the owner: my $Ticket = $self->TicketObj; my $Transaction = $self->TransactionObj; my $Attachment = $Transaction->Attachments; my $AttFirst = $Attachment->First; my $NewRTOwner = $AttFirst->GetHeader('X-NEW-RT-OWNER'); $Ticket->SetOwner($NewRTOwner); With ExtractCustomFields I've setup the standard scrip with the following template: |X-NEW-RT-OWNER|.*|$RT::Ticket->SetOwner($value)| With debug logging lit, the post command is failing saying method SetOwner can't be called on an undefined value. I can see that $value is getting correct set from the debug leading up to that failure, so I suspect this is a scope error on my part? Any guidance would be greatly appreciated. Josh C -------------- next part -------------- An HTML attachment was scrubbed... URL: From Carl.vanLitsenborgh at za.saabgroup.com Wed Sep 2 03:36:39 2015 From: Carl.vanLitsenborgh at za.saabgroup.com (Carl van Litsenborgh) Date: Wed, 2 Sep 2015 07:36:39 +0000 Subject: [rt-users] RT-Extention-Assets (1.05) - Lifecycle Question Message-ID: Hi, I have updated my Assets_Config.pm file to include a second Asset Lifecycle as follow (added a new state called "devel" under active): Set(%Lifecycles, assets2 => { type => "asset", initial => [ 'new' # loc ], active => [ 'allocated', # loc 'devel', 'in-use' # loc ], inactive => [ 'recycled', # loc 'stolen', # loc 'deleted' # loc ], defaults => { on_create => 'new', }, transitions => { '' => [qw(new allocated in-use)], new => [qw(allocated in-use stolen deleted)], allocated => [qw(in-use recycled stolen deleted)], devel => [qw(allocated in-use)], "in-use" => [qw(allocated recycled stolen deleted)], recycled => [qw(allocated)], stolen => [qw(allocated)], deleted => [qw(allocated)], }, rights => { '* -> *' => 'ModifyAsset', }, actions => { '* -> allocated' => { label => "Allocate" # loc }, '* -> in-use' => { label => "Now in-use" # loc }, '* -> recycled' => { label => "Recycle" # loc }, '* -> devel' => { label => "Under Development" }, '* -> stolen' => { label => "Report stolen" # loc }, }, }, ); When I create a new Catalog, this new lifecycle is shown, and I can create a new Catalog "linked" to this lifecycle (i.e. assets2). When I create a new asset, all is OK, BUT the new status "devel" is NOT in the drop-down list! WHY? Even after creation, I cannot change to this state! Any help is appreciated. Thank you. Carl van Litsenborgh -------------- next part -------------- An HTML attachment was scrubbed... URL: From guadagnino.cristiano at creval.it Wed Sep 2 11:11:52 2015 From: guadagnino.cristiano at creval.it (Guadagnino Cristiano) Date: Wed, 2 Sep 2015 15:11:52 +0000 Subject: [rt-users] RT and Disaster Recovery - problem Message-ID: <55E71198.6040807@creval.it> Hi all, are you using some kind of DR solution with RT? Our RT servers are virtualized on VMware. As a DR solution, we keep virtual machines on our second datacenter in sync with the first one. VMs on the second data center are switched off. If we have problems on the first data center, we power on the VMs on the second and then change our DNS to point to the new VMs. The only difference on the mirrored VMs is that thay have different IPs. So, right after powering them up, we have to connect and change the configuration of those VMs to use the new IPs (at least in those cases where we cannot use DNS aliases). This is acceptable for us, because RT is not such a critical asset that we cannot afford a downtime of a few minutes. However, the problem is that - after reconfiguring the VMs - RT becomes slow as a snail (tens of seconds for each page change/refresh). I lost a couple of days building an exact copy of our production VMs and experimenting with varying IPs and reconfiguring, and I am not able to overcome the problem, nor understand where it comes from. Has anybody ever heard of such a problem? T.I.A. Cris From aaron at heyaaron.com Wed Sep 2 11:26:02 2015 From: aaron at heyaaron.com (Aaron C. de Bruyn) Date: Wed, 2 Sep 2015 08:26:02 -0700 Subject: [rt-users] RT and Disaster Recovery - problem In-Reply-To: <55E71198.6040807@creval.it> References: <55E71198.6040807@creval.it> Message-ID: I have not run into the issue, but we can try and figure out where the slowness is coming from. What OS/distro are you running? Are you using Apache, Nginx or something else to serve up RT? Have you checked that DNS is resolving properly on your machine? (type: host google.com and see how long it takes for an answer) Are commands you run from the shell taking a long time to run, or is it just RT? -A On Wed, Sep 2, 2015 at 8:11 AM, Guadagnino Cristiano wrote: > Hi all, > are you using some kind of DR solution with RT? > > Our RT servers are virtualized on VMware. As a DR solution, we keep > virtual machines on our second datacenter in sync with the first one. > VMs on the second data center are switched off. > > If we have problems on the first data center, we power on the VMs on the > second and then change our DNS to point to the new VMs. > The only difference on the mirrored VMs is that thay have different IPs. > > So, right after powering them up, we have to connect and change the > configuration of those VMs to use the new IPs (at least in those cases > where we cannot use DNS aliases). > > This is acceptable for us, because RT is not such a critical asset that > we cannot afford a downtime of a few minutes. > > However, the problem is that - after reconfiguring the VMs - RT becomes > slow as a snail (tens of seconds for each page change/refresh). > > I lost a couple of days building an exact copy of our production VMs and > experimenting with varying IPs and reconfiguring, and I am not able to > overcome the problem, nor understand where it comes from. > > Has anybody ever heard of such a problem? > > T.I.A. > Cris From guadagnino.cristiano at creval.it Wed Sep 2 11:40:20 2015 From: guadagnino.cristiano at creval.it (Guadagnino Cristiano) Date: Wed, 2 Sep 2015 15:40:20 +0000 Subject: [rt-users] RT and Disaster Recovery - problem In-Reply-To: References: <55E71198.6040807@creval.it> Message-ID: <55E71844.3080403@creval.it> Hi Aaron, and thank you for the quick reply. > What OS/distro are you running? Centos 6.7 > Are you using Apache, Nginx or something else to serve up RT? Apache/2.2.15 (CentOS) Server at localhost Port 80 > Have you checked that DNS is resolving properly on your machine? Yes, DNS is warking properly and very fast. However, on my test VMs I have used only IPs to avoid putting the DNS into the equation. > Are commands you run from the shell taking a long time to run, or is it just RT? Apparently it is just RT Thank you! Cris Cristiano Guadagnino Servizio Sistemi Dipartimentali, Periferici e DB _______________________________ Bankadati Servizi Informatici Soc.Cons.P.A. Gruppo bancario Credito Valtellinese VIA TRENTO, 22 - 23100 SONDRIO tel +39 0342522172 - fax +39 0342522997 guadagnino.cristiano at creval.it www.creval.it Il presente messaggio non ? di natura personale ma inviato per esigenze lavorative; l?eventuale messaggio di risposta potr? essere conosciuto anche da altri soggetti diversi dall?originatore di questo messaggio per dette esigenze o per controllo aziendale. Questo messaggio, corredato dei relativi allegati, contiene informazioni da considerarsi strettamente riservate, ed ? destinato esclusivamente al destinatario sopra indicato, il quale ? l'unico autorizzato ad usarlo, copiarlo e, sotto la propria responsabilit?, diffonderlo. Chiunque ricevesse questo messaggio per errore o comunque lo leggesse senza esserne legittimato ? avvertito che trattenerlo, copiarlo, divulgarlo, distribuirlo a persone diverse dal destinatario ? severamente proibito, ed ? pregato di rinviarlo immediatamente al mittente distruggendone l'originale. -----Messaggio originale----- Da: Aaron C. de Bruyn Inviato: Wed Sep 02 2015 17:26:02 GMT+0200 (CEST) A: Guadagnino Cristiano Cc: "rt-users at lists.bestpractical.com" Oggetto: Re: [rt-users] RT and Disaster Recovery - problem > I have not run into the issue, but we can try and figure out where the > slowness is coming from. > > What OS/distro are you running? > > Are you using Apache, Nginx or something else to serve up RT? > > Have you checked that DNS is resolving properly on your machine? > (type: host google.com and see how long it takes for an answer) > > Are commands you run from the shell taking a long time to run, or is it just RT? > > -A > > > On Wed, Sep 2, 2015 at 8:11 AM, Guadagnino Cristiano > wrote: >> Hi all, >> are you using some kind of DR solution with RT? >> >> Our RT servers are virtualized on VMware. As a DR solution, we keep >> virtual machines on our second datacenter in sync with the first one. >> VMs on the second data center are switched off. >> >> If we have problems on the first data center, we power on the VMs on the >> second and then change our DNS to point to the new VMs. >> The only difference on the mirrored VMs is that thay have different IPs. >> >> So, right after powering them up, we have to connect and change the >> configuration of those VMs to use the new IPs (at least in those cases >> where we cannot use DNS aliases). >> >> This is acceptable for us, because RT is not such a critical asset that >> we cannot afford a downtime of a few minutes. >> >> However, the problem is that - after reconfiguring the VMs - RT becomes >> slow as a snail (tens of seconds for each page change/refresh). >> >> I lost a couple of days building an exact copy of our production VMs and >> experimenting with varying IPs and reconfiguring, and I am not able to >> overcome the problem, nor understand where it comes from. >> >> Has anybody ever heard of such a problem? >> >> T.I.A. >> Cris > -- From scottu at huenix.com Wed Sep 2 12:13:31 2015 From: scottu at huenix.com (Scott Undercofler) Date: Wed, 02 Sep 2015 12:13:31 -0400 Subject: [rt-users] Allowing Users to add other users from Self Service Message-ID: <55E7202B.7040606@huenix.com> Hi all: I have an RT installation that we are expanding to encompass some "hosted" ticketing as part of a larger project. In effect, we have a dozen groups with RT that are part of one company. They have requested that we allow them to add other people within their groups to a ticket. I see the watchAsAdminCC there, but I don't see any way for them to add others. I was wondering if anyone had any suggestions. The groups are set up in a hierarchy where there are a few "core" members that belong to the core group, then a dozen other "team" groups that report to the core group. The core group members are also members of every team group so they get added to every ticket. The only thing I could think of without getting too fancy was to add a customfield to the ticket that only members of these two groups had rights to, and allow the core team the ability to choose one of the other teams from a drop down, then add a scrip to recognize changes to this field and add groups. That seems very cumbersome. Thanks in advance! From alex at chmrr.net Wed Sep 2 13:35:20 2015 From: alex at chmrr.net (Alex Vandiver) Date: Wed, 2 Sep 2015 13:35:20 -0400 Subject: [rt-users] RT and Disaster Recovery - problem In-Reply-To: <55E71198.6040807@creval.it> References: <55E71198.6040807@creval.it> Message-ID: <20150902173520.GA781@chmrr.net> On Wed, Sep 02, 2015 at 03:11:52PM +0000, Guadagnino Cristiano wrote: > Our RT servers are virtualized on VMware. > [snip] > However, the problem is that - after reconfiguring the VMs - RT becomes > slow as a snail (tens of seconds for each page change/refresh). Do the VMs have any snapshots enabled? I know that historically, at least, the mere presence of a snapshot file caused all I/O to be COW, which caused order-of-magnitude I/O bandwidth degradation. - Alex From misilot at fit.edu Wed Sep 2 13:23:56 2015 From: misilot at fit.edu (Tom Misilo) Date: Wed, 2 Sep 2015 17:23:56 +0000 Subject: [rt-users] RT 4.2.12 and CentOS 7 Message-ID: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> Hi, I was wondering if anyone has successfully used "make fixdeps" with Request Tracker on CentOS 7? As it seems like cpan only installs to the local users home directory in a ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid apache does not find any of the modules. Thank you, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From lstewart at iweb.com Wed Sep 2 14:00:34 2015 From: lstewart at iweb.com (Landon Stewart) Date: Wed, 2 Sep 2015 18:00:34 +0000 Subject: [rt-users] RT 4.2.12 and CentOS 7 In-Reply-To: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> References: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> Message-ID: On Sep 2, 2015, at 10:23 AM, Tom Misilo > wrote: Hi, I was wondering if anyone has successfully used ?make fixdeps? with Request Tracker on CentOS 7? As it seems like cpan only installs to the local users home directory in a ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid apache does not find any of the modules. Are you running 'make fixdeps' as root privileges? Landon Stewart : lstewart at iweb.com Lead Specialist, Abuse and Security Management Sp?cialiste principal, gestion des abus et s?curit? http://iweb.com : +1 (888) 909-4932 -------------- next part -------------- An HTML attachment was scrubbed... URL: From amarosi at luminance.us.com Wed Sep 2 14:01:18 2015 From: amarosi at luminance.us.com (Andrew Marosi) Date: Wed, 2 Sep 2015 11:01:18 -0700 Subject: [rt-users] RT 4.2.12 and CentOS 7 In-Reply-To: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> References: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> Message-ID: <15DF9116EFA72B41BA18ECC2ABD870F5087E364829@uslaxmail02> I go it working - wasn't the easiest; but it's working great: [root at uslaxrt ~]# uname -a Linux uslaxrt.corp.xxxxx.com 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [root at uslaxrt ~]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) MySQL + Index tables mysqld (mysqld 5.5.43-MariaDB) [root at uslaxrt ~]# perl -V Summary of my perl5 (revision 5 version 16 subversion 3) configuration: Built under linux Compiled at Mar 6 2015 05:05:52 @INC: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Tom Misilo Sent: Wednesday, September 2, 2015 10:24 AM To: 'rt-users at lists.bestpractical.com' Subject: [rt-users] RT 4.2.12 and CentOS 7 Hi, I was wondering if anyone has successfully used "make fixdeps" with Request Tracker on CentOS 7? As it seems like cpan only installs to the local users home directory in a ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid apache does not find any of the modules. Thank you, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at josephdwagner.info Wed Sep 2 21:23:03 2015 From: joe at josephdwagner.info (Joseph D. Wagner) Date: Wed, 2 Sep 2015 18:23:03 -0700 Subject: [rt-users] RT 4.2.12 and CentOS 7 In-Reply-To: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> References: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> Message-ID: <002601d0e5e7$1564fb90$402ef2b0$@josephdwagner.info> I got it working by doing a complete gut and replacement with the Perl packages from Fedora 21. From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Tom Misilo Sent: Wednesday, September 02, 2015 10:24 AM To: 'rt-users at lists.bestpractical.com' Subject: [rt-users] RT 4.2.12 and CentOS 7 Hi, I was wondering if anyone has successfully used "make fixdeps" with Request Tracker on CentOS 7? As it seems like cpan only installs to the local users home directory in a ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid apache does not find any of the modules. Thank you, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Thu Sep 3 03:20:29 2015 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Thu, 03 Sep 2015 09:20:29 +0200 Subject: [rt-users] RT 4.2.12 and CentOS 7 In-Reply-To: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> References: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> Message-ID: <55E7F4BD.3030900@easter-eggs.com> Le 02/09/2015 19:23, Tom Misilo a ?crit : > Hi, > > > > I was wondering if anyone has successfully used ?make fixdeps? with > Request Tracker on CentOS 7? As it seems like cpan only installs to the > local users home directory in a ~/perl5 folder and not systemwide. Which > when using Request Tracker and mod_fcgid apache does not find any of > the modules. > > just did it and: - most perl packages are available through yum with the epel repository - for last missing cpan modules, you can either try to find them packaged on another place on the web, build them or install through cpan. For CPAN, make sure package "perl-homedir" isn't installed ... Or tweak your cpan configuration. -- Easter-eggs Sp?cialiste GNU/Linux 44-46 rue de l'Ouest - 75014 Paris - France - M?tro Gait? Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76 mailto:elacour at easter-eggs.com - http://www.easter-eggs.com From guadagnino.cristiano at creval.it Thu Sep 3 05:51:48 2015 From: guadagnino.cristiano at creval.it (Guadagnino Cristiano) Date: Thu, 3 Sep 2015 09:51:48 +0000 Subject: [rt-users] RT and Disaster Recovery - problem In-Reply-To: <20150902173520.GA781@chmrr.net> References: <55E71198.6040807@creval.it> <20150902173520.GA781@chmrr.net> Message-ID: <55E81810.3070006@creval.it> Alex, thank you for your reply. No, the VMs do not have any snapshot enabled. Cris -----Messaggio originale----- Da: Alex Vandiver Inviato: Wed Sep 02 2015 19:35:20 GMT+0200 (CEST) A: Guadagnino Cristiano Cc: "rt-users at lists.bestpractical.com" Oggetto: Re: [rt-users] RT and Disaster Recovery - problem > On Wed, Sep 02, 2015 at 03:11:52PM +0000, Guadagnino Cristiano wrote: >> Our RT servers are virtualized on VMware. >> [snip] >> However, the problem is that - after reconfiguring the VMs - RT becomes >> slow as a snail (tens of seconds for each page change/refresh). > > Do the VMs have any snapshots enabled? I know that historically, at > least, the mere presence of a snapshot file caused all I/O to be COW, > which caused order-of-magnitude I/O bandwidth degradation. > - Alex > From misilot at fit.edu Thu Sep 3 06:34:58 2015 From: misilot at fit.edu (Tom Misilo) Date: Thu, 3 Sep 2015 10:34:58 +0000 Subject: [rt-users] RT 4.2.12 and CentOS 7 In-Reply-To: References: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu>, Message-ID: Landon, yes I am running as root. Thanks, Tom -------- Original message -------- From: Landon Stewart Date: 09/02/2015 7:28 PM (GMT-05:00) To: Tom Misilo Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] RT 4.2.12 and CentOS 7 On Sep 2, 2015, at 10:23 AM, Tom Misilo > wrote: Hi, I was wondering if anyone has successfully used ?make fixdeps? with Request Tracker on CentOS 7? As it seems like cpan only installs to the local users home directory in a ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid apache does not find any of the modules. Are you running 'make fixdeps' as root privileges? Landon Stewart : lstewart at iweb.com Lead Specialist, Abuse and Security Management Sp?cialiste principal, gestion des abus et s?curit? http://iweb.com : +1 (888) 909-4932 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter.Zillmann at kzoo.edu Thu Sep 3 10:01:46 2015 From: Peter.Zillmann at kzoo.edu (Peter Zillmann) Date: Thu, 3 Sep 2015 14:01:46 +0000 Subject: [rt-users] creativity and expertise with Assets and lifecycles Message-ID: <231b0b8d58bd45809e4c91cdd6f99cbf@KExchange02.knet.kzoo.edu> Greetings! I've set up Assets on a test server for our staff to evaluate. They like it very much so far, but they've got one need I haven't yet figured out how to meet with Assets. I feel like I've read through documentation, wiki, and mail archives, and I don't think I've found my answer. Our staff want to use Assets to track who has a shareable resource. The resource might be in inventory, or checked out to a patron. The workflow they want needs to be linear, and ideally a single-screen process. They'll want to change "held-by" for a resource, and change the item's lifecycle status (from on-shelf to checked-out). I think we're only going to be able to make this workflow work for them if we can use a Scrip with a custom action. Existing documentation regarding this seems to be written all from a Tickets perspective, leaving me feeling a bit at sea. So, am I wrong to think Assets might be able to meet our need? Or am I thinking of this the wrong way? I thought of trying to use a Comment or Respond action on an asset, but those features don't seem to exist (I've tried configuring them like tickets, but they don't seem to work). Would I be smarter to create a linked ticket for each "check-out"/"check-in"? Would anyone be able to point me in the right direction? Thanks much, Peter -- Peter Zillmann Systems & Networking Associate Information Services Kalamazoo College 1200 Academy Street Kalamazoo, MI, 49006 269.337.5800 Peter.Zillmann at kzoo.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From jblaine at kickflop.net Thu Sep 3 10:32:05 2015 From: jblaine at kickflop.net (Jeff Blaine) Date: Thu, 3 Sep 2015 10:32:05 -0400 Subject: [rt-users] Pg FTS query works, RT search returns 0 results ( was: '.' as delimiter/boundary breaks domain name searches) In-Reply-To: <20150901071038.GA51617@chmrr.net> References: <542C5B13.5070508@kickflop.net> <20141002145656.GE2951@jibsheet.com> <20141002150822.GM11672@aart.rice.edu> <55E45907.3040803@kickflop.net> <20150901071038.GA51617@chmrr.net> Message-ID: <55E859E5.8060907@kickflop.net> >> * An RT 4.2.12 search for the same string returns 0 results[2]. >> I'm 98% certain the ticket *is* indexed though as other queries >> return it[2]. ... > Is the ticket in question a merged ticket? You had a mail from the > same timeframe which dealt with merged ticket FTS, which is a known > bug: https://issues.bestpractical.com/Ticket/Display.html?id=9370 > Sadly, there's not good solution to that bug at this time. I'm losing what little is left of my mind, apparently. I looked last week at the problem ticket and could swear it had no merging in its history. Looking today, I see it *does*. > perl -MRT=-init -le '$t=RT::Tickets->new(RT->SystemUser);$t->FromSQL("@ARGV");print $t->BuildSelectQuery' \ > "Content LIKE 'foo at domain.com'" Handy! Used this to generate the SQL. Pasted the SQL into psql for kicks and got the unfortunately now-expected 0 results. Filed this snippet away for later. Thanks Alex. Jeff From aaron at heyaaron.com Thu Sep 3 13:30:40 2015 From: aaron at heyaaron.com (Aaron C. de Bruyn) Date: Thu, 3 Sep 2015 10:30:40 -0700 Subject: [rt-users] RT and Disaster Recovery - problem In-Reply-To: <55E71844.3080403@creval.it> References: <55E71198.6040807@creval.it> <55E71844.3080403@creval.it> Message-ID: Sorry for the late reply--work exploded. ;) On Wed, Sep 2, 2015 at 8:40 AM, Guadagnino Cristiano wrote: > > Are you using Apache, Nginx or something else to serve up RT? > Apache/2.2.15 (CentOS) Server at localhost Port 80 If it's bound to localhost, how are users accessing it? Or do you have something else on the box that has a public-facing IP that proxies traffic to port 127.0.0.1:80? Or do you have something like spawn_fcgi running on 127.0.0.1:80 with apache proxying? > Yes, DNS is warking properly and very fast. However, on my test VMs I > have used only IPs to avoid putting the DNS into the equation. > Apparently it is just RT Is it the first request, or all requests? I had an issue with spawn_fcgi if I recall correctly, that when the process first started it took ~45 seconds to serve the first page. After that, pages were snappy. -A From ram0502 at gmail.com Thu Sep 3 13:49:14 2015 From: ram0502 at gmail.com (Ram) Date: Thu, 3 Sep 2015 10:49:14 -0700 Subject: [rt-users] RT and Disaster Recovery - problem Message-ID: > > Date: Wed, 2 Sep 2015 13:35:20 -0400 > From: Alex Vandiver > To: Guadagnino Cristiano > Cc: "rt-users at lists.bestpractical.com" > > Subject: Re: [rt-users] RT and Disaster Recovery - problem > Message-ID: <20150902173520.GA781 at chmrr.net> > Content-Type: text/plain; charset=us-ascii > > On Wed, Sep 02, 2015 at 03:11:52PM +0000, Guadagnino Cristiano wrote: > > Our RT servers are virtualized on VMware. > > [snip] > > However, the problem is that - after reconfiguring the VMs - RT becomes > > slow as a snail (tens of seconds for each page change/refresh). > > G, on your DR box time exactly how long the home page takes to load. Three times in a row, each time. The length of the delay may be very telling. -------------- next part -------------- An HTML attachment was scrubbed... URL: From simone.morandini at mix-it.net Thu Sep 3 18:15:09 2015 From: simone.morandini at mix-it.net (Simone Morandini) Date: Fri, 4 Sep 2015 00:15:09 +0200 Subject: [rt-users] Issue with rt-serializer and rt-importer Message-ID: <55E8C66D.3030007@mix-it.net> Hello list, I'm an RT newbie, and I'm having a problem trying to export/import my RT database content. I have a machine running RT 4.2.9 and I need to move the content onto another machine, where I prepared a clean install of the latest RT 4.2.12. On the old box I ran "rt-validator --check" and then "rt-serializer". I moved the content of the output directory onto the new box, where I ran "rt-importer /path/to/dir", but I'm having problems. I can login with my personal username (before importing only the root user was defined), but I cannot see any content: no tickets, no queues. I can see all the "Saved searches" I had previously configured, but they are empty. If I try to open a new ticket, I get the error message "Queue could not be loaded." (none of them is displayed in the drop-down menu). Instead, if I login as root user, I can see everything correctly, and in fact, querying the database using mysql (MariaDB) CLI, the content is there: Tickets and Queues tables, for example, are populated with the correct content. What am I missing? Thanks in advance, Simone. From jvdwege at xs4all.nl Fri Sep 4 08:36:16 2015 From: jvdwege at xs4all.nl (Joop) Date: Fri, 4 Sep 2015 14:36:16 +0200 Subject: [rt-users] Issue with rt-serializer and rt-importer In-Reply-To: <55E8C66D.3030007@mix-it.net> References: <55E8C66D.3030007@mix-it.net> Message-ID: <55E99040.3030604@xs4all.nl> On 4-9-2015 0:15, Simone Morandini wrote: > Hello list, > > I'm an RT newbie, and I'm having a problem trying to export/import my > RT database content. > I have a machine running RT 4.2.9 and I need to move the content onto > another machine, where I prepared a clean install of the latest RT > 4.2.12. > On the old box I ran "rt-validator --check" and then "rt-serializer". > I moved the content of the output directory onto the new box, where I > ran "rt-importer /path/to/dir", but I'm having problems. Why don't you use the export/import tools of the database of you choice? Or are you switching from ABC to mysql/mariadb? Regards, Joop From simone.morandini at mix-it.net Fri Sep 4 08:47:47 2015 From: simone.morandini at mix-it.net (Simone Morandini) Date: Fri, 4 Sep 2015 14:47:47 +0200 Subject: [rt-users] Issue with rt-serializer and rt-importer In-Reply-To: <55E99040.3030604@xs4all.nl> References: <55E8C66D.3030007@mix-it.net> <55E99040.3030604@xs4all.nl> Message-ID: <55E992F3.3040003@mix-it.net> Hello Joop, > On 4-9-2015 0:15, Simone Morandini wrote: >> Hello list, >> >> I'm an RT newbie, and I'm having a problem trying to export/import my >> RT database content. >> I have a machine running RT 4.2.9 and I need to move the content onto >> another machine, where I prepared a clean install of the latest RT >> 4.2.12. >> On the old box I ran "rt-validator --check" and then "rt-serializer". >> I moved the content of the output directory onto the new box, where I >> ran "rt-importer /path/to/dir", but I'm having problems. > Why don't you use the export/import tools of the database of you choice? > Or are you switching from ABC to mysql/mariadb? > actually I'm running mysql on the old server as well, I just thought that the rt-* commands were more suited. And indeed, data is there: if I login as root I can see all the tickets/queues, etc. I just cannot see them if I login as a regular user. It seems some kind of "permission" issue, if it makes sense in the RT world. I actually do not know what to try in order to troubleshoot... Thanks, Simone. From guadagnino.cristiano at creval.it Fri Sep 4 09:04:09 2015 From: guadagnino.cristiano at creval.it (Guadagnino Cristiano) Date: Fri, 4 Sep 2015 13:04:09 +0000 Subject: [rt-users] RT and Disaster Recovery - problem In-Reply-To: References: <55E71198.6040807@creval.it> <55E71844.3080403@creval.it> Message-ID: <55E996A0.2060303@creval.it> Hi Aaron. -----Messaggio originale----- Da: Aaron C. de Bruyn Inviato: Thu Sep 03 2015 19:30:40 GMT+0200 (CEST) A: Guadagnino Cristiano Cc: "rt-users at lists.bestpractical.com" Oggetto: Re: [rt-users] RT and Disaster Recovery - problem >> > Are you using Apache, Nginx or something else to serve up RT? >> Apache/2.2.15 (CentOS) Server at localhost Port 80 > > If it's bound to localhost, how are users accessing it? Or do you > have something else on the box that has a public-facing IP that > proxies traffic to port 127.0.0.1:80? > > Or do you have something like spawn_fcgi running on 127.0.0.1:80 with > apache proxying? RT is accessible only in our intranet. Apache is configured with a few virtual doamins, one of which is dedicated to RT. I don't know why it reports localhost; however this was captured on the working production instance, so no problem here. > Is it the first request, or all requests? > I had an issue with spawn_fcgi if I recall correctly, that when the > process first started it took ~45 seconds to serve the first page. > After that, pages were snappy. > > -A > All requests, unfortuantely. Cris From SJC at qvii.com Fri Sep 4 10:52:51 2015 From: SJC at qvii.com (Cena, Stephen (ext. 300)) Date: Fri, 4 Sep 2015 14:52:51 +0000 Subject: [rt-users] Include Ticket information in full text index Message-ID: <87F81E27495DC8489147E34A4152E2681FD4BBFC@MailStore2010.ogp.qvii.com> I have successfully gotten full text indexing working on our RT 4.2.12 system, MySQL 5.5 back-end. At the present time, only the ticket history is being searched. This is my Sphinx query: sql_query = \ SELECT a.id, a.content FROM Attachments a \ JOIN Transactions txn ON a.TransactionId = txn.id AND txn.ObjectType = 'RT::Ticket' \ JOIN Tickets t ON txn.ObjectId = t.id \ WHERE a.ContentType = ('text/plain' or 'text/html') AND t.Status != 'deleted' Is there a way to modify this query to include some Ticket information (subject, requestor, etc.) in the search, or will users just have to use the Search Builder for more detailed searches? Thanks in advance!! Stephen J. Cena Systems Administrator/Supervisor - MIS/IT Dept Quality Vision International 850 Hudson Ave Rochester,NY 14620 Phone: 585-544-0450 x300 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Please report email problems to: postmaster at qvii.com QVII MIS/IT Dept - We do what we must because we can. "Thank you for helping us help you help us all." * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From simone.morandini at mix-it.net Fri Sep 4 11:37:49 2015 From: simone.morandini at mix-it.net (Simone Morandini) Date: Fri, 4 Sep 2015 17:37:49 +0200 Subject: [rt-users] Issue with rt-serializer and rt-importer In-Reply-To: <55E99040.3030604@xs4all.nl> References: <55E8C66D.3030007@mix-it.net> <55E99040.3030604@xs4all.nl> Message-ID: <55E9BACD.5020209@mix-it.net> Il 04/09/15 14:36, Joop ha scritto: > On 4-9-2015 0:15, Simone Morandini wrote: >> Hello list, >> >> I'm an RT newbie, and I'm having a problem trying to export/import my >> RT database content. >> I have a machine running RT 4.2.9 and I need to move the content onto >> another machine, where I prepared a clean install of the latest RT >> 4.2.12. >> On the old box I ran "rt-validator --check" and then "rt-serializer". >> I moved the content of the output directory onto the new box, where I >> ran "rt-importer /path/to/dir", but I'm having problems. > Why don't you use the export/import tools of the database of you choice? > Or are you switching from ABC to mysql/mariadb? > > just for the records: exporting with mysqldump and then importing with mysql solved the issue. Thanks, Simone. From ewanchic at elifestream.com Fri Sep 4 12:45:56 2015 From: ewanchic at elifestream.com (ewanchic) Date: Fri, 4 Sep 2015 09:45:56 -0700 (MST) Subject: [rt-users] Customize QuickSearch for RT 4.0.19 - Removing all Message-ID: <1441385156649-60600.post@n7.nabble.com> Hello, Everytime I do a quicksearch, it inculdes this addition criteria: AND ( Status = 'new' OR Status = 'open' OR Status = 'stalled') I don't remember it doing this in 3.6.6 / 3.6.8 I've looked up various other forums and posts. They've mentioned: modifying Quicksearch, Quicksearch.html, QueueSummary* (which is now two different files), Adding 'Set(@ActiveStatus, qw());' to RT_SiteConfig.pm, or modifying the Lifecycles. I'm not Looking to change the Lifecycles because that look fine to me, but I would like to just remove all the extra criteria and just focus on the criteria requested in the Quick Search. Is this possible? Thanks Eric -- View this message in context: http://requesttracker.8502.n7.nabble.com/Customize-QuickSearch-for-RT-4-0-19-Removing-all-tp60600.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From alex at chmrr.net Fri Sep 4 20:55:51 2015 From: alex at chmrr.net (Alex Vandiver) Date: Fri, 4 Sep 2015 20:55:51 -0400 Subject: [rt-users] Customize QuickSearch for RT 4.0.19 - Removing all In-Reply-To: <1441385156649-60600.post@n7.nabble.com> References: <1441385156649-60600.post@n7.nabble.com> Message-ID: <20150905005551.GE6884@chmrr.net> On Fri, Sep 04, 2015 at 09:45:56AM -0700, ewanchic wrote: > I'm not Looking to change the Lifecycles because that look fine to me, but I > would like to just remove all the extra criteria and just focus on the > criteria requested in the Quick Search. Is this possible? Thanks https://docs.bestpractical.com/RT_Config#OnlySearchActiveTicketsInSimpleSearch Set this to 0 in your RT_SiteConfig.pm: Set( $OnlySearchActiveTicketsInSimpleSearch, 0); - Alex From joe at josephdwagner.info Sun Sep 6 02:22:48 2015 From: joe at josephdwagner.info (Joseph D. Wagner) Date: Sat, 5 Sep 2015 23:22:48 -0700 Subject: [rt-users] rt-mailgate needs http for comment Message-ID: <55EBDBB8.4060804@josephdwagner.info> I had apache set to allow rt over https only. Trying over http would fail. rt-mailgate was working perfectly fine over https when using "--action correspond". However, when using "--action comment", it fails saying it is unable to connect. When I changed my apache configuration to allow http on local connections, it started working. I suspect there is some code in the comment path of rt-mailgate that is forcing it over the http connection, rather than properly deriving the connection from the url parameter. Being new to rt, I am open to the possibility I misconfigured something. Is anyone else able to reproduce this? Joseph D. Wagner From alex at chmrr.net Sun Sep 6 02:32:53 2015 From: alex at chmrr.net (Alex Vandiver) Date: Sun, 6 Sep 2015 02:32:53 -0400 Subject: [rt-users] rt-mailgate needs http for comment In-Reply-To: <55EBDBB8.4060804@josephdwagner.info> References: <55EBDBB8.4060804@josephdwagner.info> Message-ID: <20150906063253.GA31227@chmrr.net> On Sat, Sep 05, 2015 at 11:22:48PM -0700, Joseph D. Wagner wrote: > I had apache set to allow rt over https only. Trying over http would fail. > > rt-mailgate was working perfectly fine over https when using > "--action correspond". However, when using "--action comment", it > fails saying it is unable to connect. > > When I changed my apache configuration to allow http on local > connections, it started working. > > I suspect there is some code in the comment path of rt-mailgate that > is forcing it over the http connection, rather than properly > deriving the connection from the url parameter. > > Being new to rt, I am open to the possibility I misconfigured > something. Is anyone else able to reproduce this? I strongly suspect misconfiguration in your /etc/aliases. The only difference between correspond and comment paths is the value of a query parameter that they POST: https://github.com/bestpractical/rt/blob/stable/bin/rt-mailgate.in#L168-L170 Check to make sure that you have https:// on all of your aliases, and that you've run newaliases (or equivalent) after updating them. - Alex From joe at josephdwagner.info Sun Sep 6 03:31:28 2015 From: joe at josephdwagner.info (Joseph D. Wagner) Date: Sun, 6 Sep 2015 00:31:28 -0700 Subject: [rt-users] rt-mailgate needs http for comment In-Reply-To: <20150906063253.GA31227@chmrr.net> References: <55EBDBB8.4060804@josephdwagner.info> <20150906063253.GA31227@chmrr.net> Message-ID: <55EBEBD0.2030606@josephdwagner.info> Here it is. I left everything intact except the url. prc: "|/usr/bin/rt-mailgate --queue 'Performance Review' --action correspond --url https://xxxx.xxxx/rt" prc-staff: "|/usr/bin/rt-mailgate --queue 'Performance Review' --action comment --url https://xxxx.xxxx/rt" Joe On 09/05/2015 11:32 PM, Alex Vandiver wrote: > On Sat, Sep 05, 2015 at 11:22:48PM -0700, Joseph D. Wagner wrote: >> I had apache set to allow rt over https only. Trying over http would fail. >> >> rt-mailgate was working perfectly fine over https when using >> "--action correspond". However, when using "--action comment", it >> fails saying it is unable to connect. >> >> When I changed my apache configuration to allow http on local >> connections, it started working. >> >> I suspect there is some code in the comment path of rt-mailgate that >> is forcing it over the http connection, rather than properly >> deriving the connection from the url parameter. >> >> Being new to rt, I am open to the possibility I misconfigured >> something. Is anyone else able to reproduce this? > I strongly suspect misconfiguration in your /etc/aliases. The only > difference between correspond and comment paths is the value of a > query parameter that they POST: > > https://github.com/bestpractical/rt/blob/stable/bin/rt-mailgate.in#L168-L170 > > Check to make sure that you have https:// on all of your aliases, and > that you've run newaliases (or equivalent) after updating them. > - Alex From alex at chmrr.net Sun Sep 6 15:13:05 2015 From: alex at chmrr.net (Alex Vandiver) Date: Sun, 6 Sep 2015 15:13:05 -0400 Subject: [rt-users] rt-mailgate needs http for comment In-Reply-To: <55EBEBD0.2030606@josephdwagner.info> References: <55EBDBB8.4060804@josephdwagner.info> <20150906063253.GA31227@chmrr.net> <55EBEBD0.2030606@josephdwagner.info> Message-ID: <20150906191305.GB31227@chmrr.net> On Sun, Sep 06, 2015 at 12:31:28AM -0700, Joseph D. Wagner wrote: > Here it is. I left everything intact except the url. > [snip] Those look fine. Double-check that you have not multiply-defined prc-staff elsewhere in aliases, and that you've run `newaliases`. Short of that, my only suggestion is to turn on bug logging in your MTA -- I can say with certainty that rt-mailgate doesn't deal differently with correspond vs comment and http/https connections. - Alex From joe at josephdwagner.info Sun Sep 6 19:16:52 2015 From: joe at josephdwagner.info (Joseph D. Wagner) Date: Sun, 6 Sep 2015 16:16:52 -0700 Subject: [rt-users] rt-mailgate needs http for comment In-Reply-To: <20150906191305.GB31227@chmrr.net> References: <55EBDBB8.4060804@josephdwagner.info> <20150906063253.GA31227@chmrr.net> <55EBEBD0.2030606@josephdwagner.info> <20150906191305.GB31227@chmrr.net> Message-ID: <55ECC964.1010406@josephdwagner.info> Ok, I'm inching closer. I found out that it works if I run it from the command line, but not when sendmail fires it off. (This probably gave me the false sense that it worked by switching to HTTP.) I turned on debug level logging in RT. It logged a bunch of stuff when run from the command line, but it didn't log anything when sendmail did it. Joseph D. Wagner From joe at josephdwagner.info Sun Sep 6 21:41:09 2015 From: joe at josephdwagner.info (Joseph D. Wagner) Date: Sun, 6 Sep 2015 18:41:09 -0700 Subject: [rt-users] rt-mailgate needs http for comment In-Reply-To: <20150906191305.GB31227@chmrr.net> References: <55EBDBB8.4060804@josephdwagner.info> <20150906063253.GA31227@chmrr.net> <55EBEBD0.2030606@josephdwagner.info> <20150906191305.GB31227@chmrr.net> Message-ID: <55ECEB35.1000808@josephdwagner.info> Figured it out. I created a catch-all address in virtusertable. Unknown to me, virtusertable gets processed before aliases, so it was hitting the catch-all and never made it to aliases. Joseph D. Wagner On 09/06/2015 12:13 PM, Alex Vandiver wrote: > On Sun, Sep 06, 2015 at 12:31:28AM -0700, Joseph D. Wagner wrote: >> Here it is. I left everything intact except the url. >> [snip] > Those look fine. Double-check that you have not multiply-defined > prc-staff elsewhere in aliases, and that you've run `newaliases`. > Short of that, my only suggestion is to turn on bug logging in your > MTA -- I can say with certainty that rt-mailgate doesn't deal > differently with correspond vs comment and http/https connections. > - Alex From chrilde at gmail.com Mon Sep 7 08:27:52 2015 From: chrilde at gmail.com (Chrilly Cheng) Date: Mon, 7 Sep 2015 20:27:52 +0800 Subject: [rt-users] Custom Field use External values based on queue In-Reply-To: References: Message-ID: Hi All, Does anyone have the same requirement? I think it is reasonable to use Custom Field values based on Queue. Any suggestions please? BR, Chrilly On Fri, Aug 7, 2015 at 7:40 PM, Chrilly Cheng wrote: > Hi All, > > Any idea on this requirement? Is there any way doable? Please kindly > suggest, thanks. > > > BR, > Vodar > > On Tue, Aug 4, 2015 at 8:26 PM, Chrilly Cheng wrote: > >> Hi All, >> >> I'm trying to reach a requirement that we want one global custom field, >> which is using external values that populated with some REST API, to has >> different drop-down list filtered by Queue name. Is this possible to config >> in /lib/RT/CustomFieldValues/xx.pm file? Or is there any other way to >> accomplish this requirement? >> >> Any comments would be appreciated. Thanks a lot. >> >> >> Best Regards, >> Chrilly >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnagel at willingminds.com Mon Sep 7 13:57:53 2015 From: mnagel at willingminds.com (Mark D. Nagel) Date: Mon, 7 Sep 2015 10:57:53 -0700 Subject: [rt-users] RT 4.2.12 and CentOS 7 In-Reply-To: References: <62CE05ACA8D0F145A68573455B2F6BF6D3466A9E@EX10-BE1.fit.edu> Message-ID: <55EDD021.2010401@willingminds.com> To add to the other responses, I have determined for some time that trying to get the myriad dependencies loaded into the system Perl on any RHEL flavor is a losing battle. I generally have a self-contained Perl deployment (e.g., installed into /opt/rt or similar) with all modules installed there via CPAN distinct from the system packages. This requires some additional care when installing extensions, setting up fcgid, etc., but it saves so much hassle it is well worth the effort. These days, I would consider doing this in Docker to make spinning up new instances even simpler, Regards, Mark On 9/3/2015 3:34 AM, Tom Misilo wrote: > Landon, > > yes I am running as root. > > Thanks, > > Tom > > > -------- Original message -------- > From: Landon Stewart > Date: 09/02/2015 7:28 PM (GMT-05:00) > To: Tom Misilo > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] RT 4.2.12 and CentOS 7 > > On Sep 2, 2015, at 10:23 AM, Tom Misilo > wrote: >> >> Hi, >> >> I was wondering if anyone has successfully used ?make fixdeps? with Request Tracker on >> CentOS 7? As it seems like cpan only installs to the local users home directory in a >> ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid >> apache does not find any of the modules. > > Are you running 'make fixdeps' as root privileges? > > > > Landon Stewart : lstewart at iweb.com > Lead Specialist, Abuse and Security Management > Sp?cialiste principal, gestion des abus et s?curit? > http://iweb.com > : +1 (888) > 909-4932 > > This message has been scanned by CanIt-PRO. -- Mark D. Nagel, CCIE #3177 Emeritus Principal Consultant, Willing Minds LLC (http://www.willingminds.com) cell: 949-279-5817, desk: 714-495-4001, fax: 714-844-4698 ** For faster support response time, please ** email support at willingminds.com or call 714-495-4000 -------------- next part -------------- An HTML attachment was scrubbed... URL: From arekm at maven.pl Tue Sep 8 02:56:53 2015 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Tue, 8 Sep 2015 08:56:53 +0200 Subject: [rt-users] forwarding correspondence lacks important data in headers Message-ID: <201509080856.54094.arekm@maven.pl> Hi. rt 4.2.12, scenario - there is a ticket, user enters new correspondence via web interface which is send via email to requestor. Then user clicks "forward" near that correspondence and forwards it to third email address / third person. Unfortunately that email sent to third person is lacking important information. It lacks From, To, Subject headers in attached forwarded message. Example - this is what third person gets as attached forwarded message, no more headers than these: MIME-Version: 1.0 X-RT-Interface: Web X-Mailer: MIME-tools 5.505 (Entity 5.505) X-RT-Original-Encoding: utf-8 Content-Type: multipart/mixed; boundary="----------=_14261232133-20661-12746" Message-ID: In-Reply-To: References: RT-Send-CC: Content-Length: 0 X-UID: 0 [here body of forwarded message follows] Is this how this always worked? If not, there is a bug somewhere. I would expect to see proper From, To, Subject, Date (like in original correspondence) and possibly other headers, too. Also there is ncorrect Content-Length in it. -- Arkadiusz Mi?kiewicz, arekm / ( maven.pl | pld-linux.org ) From alex at chmrr.net Tue Sep 8 03:35:46 2015 From: alex at chmrr.net (Alex Vandiver) Date: Tue, 8 Sep 2015 03:35:46 -0400 Subject: [rt-users] forwarding correspondence lacks important data in headers In-Reply-To: <201509080856.54094.arekm@maven.pl> References: <201509080856.54094.arekm@maven.pl> Message-ID: <20150908073546.GG31227@chmrr.net> On Tue, Sep 08, 2015 at 08:56:53AM +0200, Arkadiusz Mi?kiewicz wrote: > > Hi. > > rt 4.2.12, scenario - there is a ticket, user enters new correspondence via > web interface which is send via email to requestor. > > Then user clicks "forward" near that correspondence and forwards it to third > email address / third person. > > Unfortunately that email sent to third person is lacking important > information. It lacks From, To, Subject headers in attached forwarded message. This should have been fixed in 4.2.10: https://bestpractical.com/release-notes/rt/4.2.10 https://github.com/bestpractical/rt/commit/134a478be1b63ca418380fc355923ea849812bfa Are you still seeing a lack of such headers for tickets created since your upgrade to 4.2.12? Tickets created _prior_ to an upgrade to 4.2.10 will still lack the headers in their Create transactions, of course. > I would expect to see proper From, To, Subject, Date (like in original > correspondence) and possibly other headers, too. Also there is incorrect > Content-Length in it. Hm -- the content-length problem doesn't seem to be replicated on issues.bestpractical.com. Are you seeing it with a vanilla 4.2.12 install? - Alex From alex at chmrr.net Tue Sep 8 03:39:57 2015 From: alex at chmrr.net (Alex Vandiver) Date: Tue, 8 Sep 2015 03:39:57 -0400 Subject: [rt-users] forwarding correspondence lacks important data in headers In-Reply-To: <20150908073546.GG31227@chmrr.net> References: <201509080856.54094.arekm@maven.pl> <20150908073546.GG31227@chmrr.net> Message-ID: <20150908073957.GH31227@chmrr.net> On Tue, Sep 08, 2015 at 03:35:46AM -0400, Alex Vandiver wrote: > > I would expect to see proper From, To, Subject, Date (like in original > > correspondence) and possibly other headers, too. Also there is incorrect > > Content-Length in it. > > Hm -- the content-length problem doesn't seem to be replicated on > issues.bestpractical.com. Are you seeing it with a vanilla 4.2.12 > install? Wait, the content-length of a multipart/mixed part should indeed be 0 -- it itself has no content. It is the sub-parts that have content. Arguably Content-Length should be entirely omitted on multipart/* parts, but its presence is unlikely to cause interoperability concerns. But that does beg the question -- are you seeing the headers bug only on multipart/mixed messages? How are you creating them via the web UI, by adding attachments? - Alex From arekm at maven.pl Tue Sep 8 04:05:17 2015 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Tue, 8 Sep 2015 10:05:17 +0200 Subject: [rt-users] forwarding correspondence lacks important data in headers In-Reply-To: <20150908073546.GG31227@chmrr.net> References: <201509080856.54094.arekm@maven.pl> <20150908073546.GG31227@chmrr.net> Message-ID: <201509081005.17608.arekm@maven.pl> On Tuesday 08 of September 2015, Alex Vandiver wrote: > On Tue, Sep 08, 2015 at 08:56:53AM +0200, Arkadiusz Mi?kiewicz wrote: > > Hi. > > > > rt 4.2.12, scenario - there is a ticket, user enters new correspondence > > via web interface which is send via email to requestor. > > > > Then user clicks "forward" near that correspondence and forwards it to > > third email address / third person. > > > > Unfortunately that email sent to third person is lacking important > > information. It lacks From, To, Subject headers in attached forwarded > > message. > > This should have been fixed in 4.2.10: > https://bestpractical.com/release-notes/rt/4.2.10 > > https://github.com/bestpractical/rt/commit/134a478be1b63ca418380fc355923ea > 849812bfa > > Are you still seeing a lack of such headers for tickets created since > your upgrade to 4.2.12? Tickets created _prior_ to an upgrade to > 4.2.10 will still lack the headers in their Create transactions, of > course. I've checked forwarding of a single correspondence (one correspondence entry, not entire ticket) where ticket and that correspondence was created on 4.2.12. Unfortunately the problem persist - headers are missing information. How to reproducte: - create ticket via web UI - add correspondence with some text and attach pdf file to it; via web UI) - click forward near that correspondence (we want to forward only that one correspondence entry, not entire ticket); again via web UI - enter some email address "email address" receives message with missing headers. > > I would expect to see proper From, To, Subject, Date (like in original > > correspondence) and possibly other headers, too. Also there is incorrect > > Content-Length in it. > > Hm -- the content-length problem doesn't seem to be replicated on > issues.bestpractical.com. Are you seeing it with a vanilla 4.2.12 > install? > - Alex -- Arkadiusz Mi?kiewicz, arekm / ( maven.pl | pld-linux.org ) From web at nmss.org Tue Sep 8 17:49:22 2015 From: web at nmss.org (Matthew Wong) Date: Tue, 8 Sep 2015 16:49:22 -0500 (CDT) Subject: [rt-users] Please Support Me! Message-ID: <825413675.218861441748964442.JavaMail.www@app310.cl3int.convio.net> Mile by mile and dollar by dollar, Bike MS is changing lives.. That's why I registered for Bike MS and why I'm asking you to support my fundraising efforts with a tax-deductible donation. The National Multiple Sclerosis Society is dedicated to creating a world free of MS, but they can't do it without our help. It's faster and easier than ever to support this cause. Simply click the link below to visit my page and make a donation. Your donation supports cutting-edge research and programs and services for everyone impacted by MS. Ending MS means no one will receive an MS diagnosis again. Every dollar helps. Every person makes a difference.. Please visit National MS Society today!

Click here to visit my personal page.
If the text above does not appear as a clickable link, you can visit the web address:
http://main.nationalmssociety.org/site/TR?px=12627943&pg=personal&fr_id=26036&et=Nm7h0syLRAp1QqarZcZCPw&s_tafId=409880

If you no longer wish to receive email messages sent from your friends on behalf of this organization, please follow the link below: http://main.nationalmssociety.org/site/TellFriendOpt?action=optout&toe=389fe5c9951b652215f87b69d5b0331b20264f1193e03f84117f0eec58e029dac157793613dbaef5

National MS Society | http://www.nationalmssociety.org/index.aspx Forward to a Friend | http://main.nationalmssociety.org/site/TellAFriend Privacy Policy | http://www.nationalmssociety.org/legal-notice-privacy-policy/index.aspx Unsubscribe http://main.nationalmssociety.org/site/CO 733 Third Avenue, New York, New York 10017 | 1-800-FIGHT-MS (344-4867) FOLLOW US? Facebook ? Twitter ? YouTube ? LinkiedIn ? Blogger ? Flickr ? MS Connection https://www.facebook.com/nationalmssociety https://twitter.com/mssociety http://www.youtube.com/nationalmssociety http://www.linkedin.com/company/national-ms-society http://www.msconnection.org/Blog http://www.flickr.com/photos/nationalmssociety http://www.msconnection.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From borepstein at gmail.com Wed Sep 9 10:50:00 2015 From: borepstein at gmail.com (Boris Epstein) Date: Wed, 9 Sep 2015 10:50:00 -0400 Subject: [rt-users] what is Feeds->Shredder? Message-ID: Hi all, In the Search/Reports interface alongside the iCal and Spreadsheet items under Feeds one finds something ominously named "Shredder". What is it? What does it shred, if anything? :) Thanks. Boris. -------------- next part -------------- An HTML attachment was scrubbed... URL: From borepstein at gmail.com Wed Sep 9 10:54:53 2015 From: borepstein at gmail.com (Boris Epstein) Date: Wed, 9 Sep 2015 10:54:53 -0400 Subject: [rt-users] logs locations Message-ID: Hello all, Where would logs relevant to RT4 be located. I would think they would all be in the following locations: /opt/rt4/var/log /var/log and subdirectories thereof. Is there anywhere else I should look as well? Thanks. Cheers, Boris. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jphilipsen at georgefox.edu Wed Sep 9 10:59:04 2015 From: jphilipsen at georgefox.edu (Josiah Philipsen) Date: Wed, 9 Sep 2015 07:59:04 -0700 Subject: [rt-users] logs locations In-Reply-To: References: Message-ID: The default logs for me were in /var/log/apache2/error.log You can also specify where they are stored it your RT_Siteconfig. Thanks, Josiah On Wednesday, September 9, 2015, Boris Epstein wrote: > Hello all, > > Where would logs relevant to RT4 be located. I would think they would all > be in the following locations: > > /opt/rt4/var/log > /var/log > > and subdirectories thereof. Is there anywhere else I should look as well? > > Thanks. > > Cheers, > > Boris. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From borepstein at gmail.com Wed Sep 9 11:02:20 2015 From: borepstein at gmail.com (Boris Epstein) Date: Wed, 9 Sep 2015 11:02:20 -0400 Subject: [rt-users] logs locations In-Reply-To: References: Message-ID: Josiah, Thanks! Good point - I didn't think the HTTP server could log quite a bit (though, notably, it is under the /var/log tree; for me under /var/log/httpd but that's details). And log lots of stuff it sure does:) Great help - thank you very much! Cheers, Boris. On Wed, Sep 9, 2015 at 10:59 AM, Josiah Philipsen wrote: > The default logs for me were in /var/log/apache2/error.log > > You can also specify where they are stored it your RT_Siteconfig. > > Thanks, > Josiah > > > On Wednesday, September 9, 2015, Boris Epstein > wrote: > >> Hello all, >> >> Where would logs relevant to RT4 be located. I would think they would all >> be in the following locations: >> >> /opt/rt4/var/log >> /var/log >> >> and subdirectories thereof. Is there anywhere else I should look as well? >> >> Thanks. >> >> Cheers, >> >> Boris. >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From borepstein at gmail.com Wed Sep 9 17:42:25 2015 From: borepstein at gmail.com (Boris Epstein) Date: Wed, 9 Sep 2015 17:42:25 -0400 Subject: [rt-users] what is Feeds->Shredder? In-Reply-To: References: Message-ID: Landon, Thank you very much! Wow, this is a dangerous link:) Boris. On Wed, Sep 9, 2015 at 1:01 PM, Landon Stewart wrote: > On Sep 9, 2015, at 7:50 AM, Boris Epstein wrote: > > > Hi all, > > In the Search/Reports interface alongside the iCal and Spreadsheet items > under Feeds one finds something ominously named "Shredder". What is it? > What does it shred, if anything? :) > > > It definitely shreds. > > > https://www.bestpractical.com/docs/rt/latest/RT/Shredder.html#Web-based-interface-WebUI > -------------- next part -------------- An HTML attachment was scrubbed... URL: From borepstein at gmail.com Wed Sep 9 17:52:41 2015 From: borepstein at gmail.com (Boris Epstein) Date: Wed, 9 Sep 2015 17:52:41 -0400 Subject: [rt-users] XLS export balks Message-ID: Hello listmates, I have an RT 4.2.0 installation using Postgresql as DB engine running on a CentOS 6 server where every attempt to extract a search to XLS results in a failure. The failure manifests itself in the following way. The user's browser displays the following message: *An internal RT error has occurred. Your administrator can find more details in RT's log files.* The Apache/HTTPD log displays the following: *[27915] [Wed Sep 9 21:20:27 2015] [error]: Undefined subroutine &RT::SQL::PossibleCustomFields called at /opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls line 80.* *Stack:* * [/opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls:80]* * [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:680]* * [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:368]* * [/opt/rt4/share/html/autohandler:53] (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:211)* Here is what I think is the relevant excerpt from /opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls *...* *my $col_entry = sub {* * my $col = shift;* * # in tsv output, "#" is often a comment character but we use it for "id"* * delete $col->{title}* * if $col->{title} and $col->{title} =~ /^\s*#\s*$/;* * return {* * header => loc($col->{title} || $col->{attribute}),* * map => $m->comp(* * "/Elements/ColumnMap",* * Name => $col->{attribute},* * Attr => 'value'* * ),* *...* Line 80 is the line that says: my $col = shift; Has anyone encountered something like this? Any idea what this may be? Thanks. Boris. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mzagrabe at d.umn.edu Wed Sep 9 17:53:33 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Wed, 9 Sep 2015 16:53:33 -0500 Subject: [rt-users] what is Feeds->Shredder? In-Reply-To: References: Message-ID: On Wed, Sep 9, 2015 at 4:42 PM, Boris Epstein wrote: > Landon, > > Thank you very much! > > Wow, this is a dangerous link:) It is only there because of rights granted (admin) to your user. Normal users won't see that link. -m From borepstein at gmail.com Wed Sep 9 17:59:57 2015 From: borepstein at gmail.com (Boris Epstein) Date: Wed, 9 Sep 2015 17:59:57 -0400 Subject: [rt-users] XLS export balks In-Reply-To: References: Message-ID: Perhaps this is related: https://rt.cpan.org/Public/Bug/Display.html?id=92168 Boris. On Wed, Sep 9, 2015 at 5:52 PM, Boris Epstein wrote: > Hello listmates, > > I have an RT 4.2.0 installation using Postgresql as DB engine running on a > CentOS 6 server where every attempt to extract a search to XLS results in a > failure. > > The failure manifests itself in the following way. The user's browser > displays the following message: > > *An internal RT error has occurred. Your administrator can find more > details in RT's log files.* > > The Apache/HTTPD log displays the following: > > *[27915] [Wed Sep 9 21:20:27 2015] [error]: Undefined subroutine > &RT::SQL::PossibleCustomFields called at > /opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls > line 80.* > > *Stack:* > * > [/opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls:80]* > * [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:680]* > * [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:368]* > * [/opt/rt4/share/html/autohandler:53] > (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:211)* > > Here is what I think is the relevant excerpt > from /opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls > > *...* > *my $col_entry = sub {* > * my $col = shift;* > * # in tsv output, "#" is often a comment character but we use it for > "id"* > * delete $col->{title}* > * if $col->{title} and $col->{title} =~ /^\s*#\s*$/;* > * return {* > * header => loc($col->{title} || $col->{attribute}),* > * map => $m->comp(* > * "/Elements/ColumnMap",* > * Name => $col->{attribute},* > * Attr => 'value'* > * ),* > *...* > > Line 80 is the line that says: my $col = shift; > > Has anyone encountered something like this? Any idea what this may be? > > Thanks. > > Boris. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From borepstein at gmail.com Thu Sep 10 05:06:43 2015 From: borepstein at gmail.com (Boris Epstein) Date: Thu, 10 Sep 2015 05:06:43 -0400 Subject: [rt-users] XLS export balks In-Reply-To: References: Message-ID: Hate to say it but perhaps it is something different as our XLS is extension is version 0.08 which apparently is the right version. So search goes on... Boris. On Wed, Sep 9, 2015 at 5:59 PM, Boris Epstein wrote: > Perhaps this is related: > > https://rt.cpan.org/Public/Bug/Display.html?id=92168 > > Boris. > > On Wed, Sep 9, 2015 at 5:52 PM, Boris Epstein > wrote: > >> Hello listmates, >> >> I have an RT 4.2.0 installation using Postgresql as DB engine running on >> a CentOS 6 server where every attempt to extract a search to XLS results in >> a failure. >> >> The failure manifests itself in the following way. The user's browser >> displays the following message: >> >> *An internal RT error has occurred. Your administrator can find more >> details in RT's log files.* >> >> The Apache/HTTPD log displays the following: >> >> *[27915] [Wed Sep 9 21:20:27 2015] [error]: Undefined subroutine >> &RT::SQL::PossibleCustomFields called at >> /opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls >> line 80.* >> >> *Stack:* >> * >> [/opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls:80]* >> * [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:680]* >> * [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:368]* >> * [/opt/rt4/share/html/autohandler:53] >> (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:211)* >> >> Here is what I think is the relevant excerpt >> from /opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls >> >> *...* >> *my $col_entry = sub {* >> * my $col = shift;* >> * # in tsv output, "#" is often a comment character but we use it for >> "id"* >> * delete $col->{title}* >> * if $col->{title} and $col->{title} =~ /^\s*#\s*$/;* >> * return {* >> * header => loc($col->{title} || $col->{attribute}),* >> * map => $m->comp(* >> * "/Elements/ColumnMap",* >> * Name => $col->{attribute},* >> * Attr => 'value'* >> * ),* >> *...* >> >> Line 80 is the line that says: my $col = shift; >> >> Has anyone encountered something like this? Any idea what this may be? >> >> Thanks. >> >> Boris. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Thu Sep 10 05:16:58 2015 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Thu, 10 Sep 2015 11:16:58 +0200 Subject: [rt-users] XLS export balks In-Reply-To: References: Message-ID: <55F14A8A.8090300@easter-eggs.com> Le 09/09/2015 23:52, Boris Epstein a ?crit : > Hello listmates, > > I have an RT 4.2.0 installation using Postgresql as DB engine running on > a CentOS 6 server where every attempt to extract a search to XLS results > in a failure. > > The failure manifests itself in the following way. The user's browser > displays the following message: > > *An internal RT error has occurred. Your administrator can find more > details in RT's log files.* > > The Apache/HTTPD log displays the following: > > *[27915] [Wed Sep 9 21:20:27 2015] [error]: Undefined subroutine > &RT::SQL::PossibleCustomFields called at > /opt/rt4/local/plugins/RT-Extension-SearchResults-XLS/html/Search/Results.xls > line 80.* > * > there is no call to PossibleCustomFields in latest (0.08) extension version. Seems you are running an old version, double check this ... Extension is running fine here on severals setup similar to your :) -- Easter-eggs Sp?cialiste GNU/Linux 44-46 rue de l'Ouest - 75014 Paris - France - M?tro Gait? Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76 mailto:elacour at easter-eggs.com - http://www.easter-eggs.com From Armen.Tashjian at sce.com Thu Sep 10 19:24:57 2015 From: Armen.Tashjian at sce.com (Armen Tashjian) Date: Thu, 10 Sep 2015 23:24:57 +0000 Subject: [rt-users] Advanced searches using SQL Message-ID: I am interested in creating searches with actual SQL. For example, I would like to create a seach using "count" or "join". These searches will eventually be used in dashboards. If possible, I'd like to make some charts out of these searches as well. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: From borepstein at gmail.com Fri Sep 11 05:29:20 2015 From: borepstein at gmail.com (Boris Epstein) Date: Fri, 11 Sep 2015 05:29:20 -0400 Subject: [rt-users] XLS export balks In-Reply-To: <55F2878D.1010706@easter-eggs.com> References: <55F14A8A.8090300@easter-eggs.com> <55F2878D.1010706@easter-eggs.com> Message-ID: Emmanuel, This is interesting. So are you saying you run a special GIT repository just for your RT installation(s)? Boris. On Fri, Sep 11, 2015 at 3:49 AM, Emmanuel Lacour wrote: > Le 10/09/2015 11:20, Boris Epstein a ?crit : > > Emmanuel, thank you very much. Will do. > > > > Is there a standardized way to tell and track the version numbers of RT > > extensions/components? > > > > > I'don't know. > > Here I track every RT instalation using git :) > > > -- > Easter-eggs Sp?cialiste GNU/Linux > 44-46 rue de l'Ouest - 75014 Paris - France - M?tro Gait? > Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76 > mailto:elacour at easter-eggs.com - http://www.easter-eggs.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mc at unistra.fr Fri Sep 11 05:43:00 2015 From: mc at unistra.fr (Marc Chantreux) Date: Fri, 11 Sep 2015 11:43:00 +0200 Subject: [rt-users] XLS export balks In-Reply-To: References: <55F14A8A.8090300@easter-eggs.com> <55F2878D.1010706@easter-eggs.com> Message-ID: <20150911094300.GA29348@ramirez.u-strasbg.fr> On Fri, Sep 11, 2015 at 05:29:20AM -0400, Boris Epstein wrote: > > Here I track every RT instalation using git :) so do i > This is interesting. So are you saying you run a special GIT repository > just for your RT installation(s)? just a git init && git add . && git commit -m "just installed" after the installation and g commit -a when i changed something -- Marc Chantreux, Mes coordonn?es: http://annuaire.unistra.fr/chercher?n=chantreux Direction Informatique, Universit? de Strasbourg (http://unistra.fr) "Don't believe everything you read on the Internet" -- Abraham Lincoln From elacour at easter-eggs.com Fri Sep 11 09:08:03 2015 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Fri, 11 Sep 2015 15:08:03 +0200 Subject: [rt-users] XLS export balks In-Reply-To: <20150911094300.GA29348@ramirez.u-strasbg.fr> References: <55F14A8A.8090300@easter-eggs.com> <55F2878D.1010706@easter-eggs.com> <20150911094300.GA29348@ramirez.u-strasbg.fr> Message-ID: <55F2D233.3000905@easter-eggs.com> Le 11/09/2015 11:43, Marc Chantreux a ?crit : > On Fri, Sep 11, 2015 at 05:29:20AM -0400, Boris Epstein wrote: >>> Here I track every RT instalation using git :) > > so do i > >> This is interesting. So are you saying you run a special GIT repository >> just for your RT installation(s)? > > just a > > git init && git add . && git commit -m "just installed" > > after the installation and > > g commit -a > > when i changed something > > you would better use a branch for upstream and one for your (or many if you have prod/staging/...). It's easier when you need to upgrade RT or compare your patches with upstream... -- Easter-eggs Sp?cialiste GNU/Linux 44-46 rue de l'Ouest - 75014 Paris - France - M?tro Gait? Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76 mailto:elacour at easter-eggs.com - http://www.easter-eggs.com From mc at unistra.fr Fri Sep 11 09:45:51 2015 From: mc at unistra.fr (Marc Chantreux) Date: Fri, 11 Sep 2015 15:45:51 +0200 Subject: [rt-users] XLS export balks In-Reply-To: <55F2D233.3000905@easter-eggs.com> References: <55F14A8A.8090300@easter-eggs.com> <55F2878D.1010706@easter-eggs.com> <20150911094300.GA29348@ramirez.u-strasbg.fr> <55F2D233.3000905@easter-eggs.com> Message-ID: <20150911134551.GA9047@ramirez.u-strasbg.fr> > you would better use a branch for upstream and one for your (or many if > you have prod/staging/...). i really would like but i don't know how to run RT from the sources (it seems you need to install it somewhere and run it from this place). > It's easier when you need to upgrade RT or compare your patches with > upstream... i patch the installed versions and maintain my own repos :( this is sad and i would be really happy to change it. regards -- Marc Chantreux, Mes coordonn?es: http://annuaire.unistra.fr/chercher?n=chantreux Direction Informatique, Universit? de Strasbourg (http://unistra.fr) "Don't believe everything you read on the Internet" -- Abraham Lincoln From kobus.bensch at trustpayglobal.com Fri Sep 11 09:47:30 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Fri, 11 Sep 2015 14:47:30 +0100 Subject: [rt-users] RT Approvals Message-ID: <55F2DB72.9040901@trustpayglobal.com> Hi I have setup approvals following this doc: https://www.bestpractical.com/docs/rt/4.2.12/customizing/approvals.html. I would like to setup multiple approvers based on a value in a custom field. Is this possible and if so can anybody point me in the right direction or to a doc that I can read that will help me to achieve this? Thank you Kobus -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. From mc at unistra.fr Fri Sep 11 09:58:58 2015 From: mc at unistra.fr (Marc Chantreux) Date: Fri, 11 Sep 2015 15:58:58 +0200 Subject: [rt-users] External module publication on CPAN? Message-ID: <20150911135858.GB9047@ramirez.u-strasbg.fr> Hello, I wrote a script to supply initial datas to RT from an spreadsheet (excel and libreoffice are repported as working). if some advices can be given about publishing it (on CPAN), it would be appreciated (a good name for the module, a place to register it...). my module is on gh: https://github.com/eiro/p5-rtx-provision-read-speadsheet/blob/master/bin/rt-provision-spreadsheet and my cpan account is: https://metacpan.org/author/MARCC -- Marc Chantreux, Mes coordonn?es: http://annuaire.unistra.fr/chercher?n=chantreux Direction Informatique, Universit? de Strasbourg (http://unistra.fr) "Don't believe everything you read on the Internet" -- Abraham Lincoln From elacour at easter-eggs.com Fri Sep 11 10:05:52 2015 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Fri, 11 Sep 2015 16:05:52 +0200 Subject: [rt-users] XLS export balks In-Reply-To: <20150911134551.GA9047@ramirez.u-strasbg.fr> References: <55F14A8A.8090300@easter-eggs.com> <55F2878D.1010706@easter-eggs.com> <20150911094300.GA29348@ramirez.u-strasbg.fr> <55F2D233.3000905@easter-eggs.com> <20150911134551.GA9047@ramirez.u-strasbg.fr> Message-ID: <55F2DFC0.7020900@easter-eggs.com> Le 11/09/2015 15:45, Marc Chantreux a ?crit : >> you would better use a branch for upstream and one for your (or many if >> you have prod/staging/...). > > i really would like but i don't know how to run RT from the sources > (it seems you need to install it somewhere and run it from this place). > >> It's easier when you need to upgrade RT or compare your patches with >> upstream... > > i patch the installed versions and maintain my own repos :( this is sad > and i would be really happy to change it. > > I ended up storing a configured version in my upstream branch for the same problem. So here is the process used here: - I do a clean ./configure ... and make install of RT (no edition of config files) - I put this in git in a branch upstrean/4.2 and tag the release - I checkout this in a branch "prod" - I make my custom configuration/patches in prod - when I need to install an extension, I first install it in upstream branch and merge it in prod (thus I can patch it in prod if needed) a new RT release comes: - I run the same ./configure...make install as previously done - I put the result in upstream branch and commit this as upgrade to RT 4.2.x - I merge upstream in prod you can do it with pure sources, but you won't be able to "easily" deploy it on servers. And FYI our developpement rules: For html files - uses callback and put them in local directory - no callback, add the missing one in share/html (patch) (submit it to upstream if it may be of any interest for anyone else) and add the callback file in local directory - need a new mason component: put it in local/html directory - need to really patch an existing one: do it in place in share/html (*never copy the file to local dir*, upgrades will be a pain!) For lib files - put new methods in local/lib/RT/xxx_Local.pm - put new objects in local/lib/RT/... - need to patch an existing method: try to do so by creating a local/lib/RT/xxx_Local.pm with: my $old_method = \&Method; *Method = sub { my $self = shift; my %args = ( @_ ); .... $old_method->($self, @_); .... - if you really need to patch the method, do it inplace in lib/RT/..., *never copy a lib file/method to local dir* or upgrades will be a pain! et voil? ;) tip: I just discovered git "submodules" feature that may be used for RT extensions ... maybe -- Easter-eggs Sp?cialiste GNU/Linux 44-46 rue de l'Ouest - 75014 Paris - France - M?tro Gait? Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76 mailto:elacour at easter-eggs.com - http://www.easter-eggs.com From elacour at easter-eggs.com Fri Sep 11 10:10:28 2015 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Fri, 11 Sep 2015 16:10:28 +0200 Subject: [rt-users] External module publication on CPAN? In-Reply-To: <20150911135858.GB9047@ramirez.u-strasbg.fr> References: <20150911135858.GB9047@ramirez.u-strasbg.fr> Message-ID: <55F2E0D4.9040207@easter-eggs.com> Le 11/09/2015 15:58, Marc Chantreux a ?crit : > Hello, > > I wrote a script to supply initial datas to RT from an spreadsheet > (excel and libreoffice are repported as working). if some advices > can be given about publishing it (on CPAN), it would be appreciated > (a good name for the module, a place to register it...). > > my module is on gh: > > https://github.com/eiro/p5-rtx-provision-read-speadsheet/blob/master/bin/rt-provision-spreadsheet > > and my cpan account is: > > https://metacpan.org/author/MARCC > > Have a look here (if not already) for technical aspects: https://bestpractical.com/docs/rt/4.2/writing_extensions.html -- Easter-eggs Sp?cialiste GNU/Linux 44-46 rue de l'Ouest - 75014 Paris - France - M?tro Gait? Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76 mailto:elacour at easter-eggs.com - http://www.easter-eggs.com From ktm at rice.edu Fri Sep 11 11:48:12 2015 From: ktm at rice.edu (ktm at rice.edu) Date: Fri, 11 Sep 2015 10:48:12 -0500 Subject: [rt-users] 'Started' not being set when ticket status changes from 'New' -> 'xxx' Message-ID: <20150911154812.GS18476@aart.rice.edu> Hi, I am debugging a problem where the 'Started' Date is not being set when the ticket status changes from 'new' to 'open' or 'resolved'. I found the code for when the 'Started' date is set using 'SetStarted()' that changes the status from 'new' to 'open', but not the code setting the 'Started' field when the status changes. Can someone give me a pointer or an idea about where to look? Regards, Ken From ktm at rice.edu Fri Sep 11 15:55:47 2015 From: ktm at rice.edu (ktm at rice.edu) Date: Fri, 11 Sep 2015 14:55:47 -0500 Subject: [rt-users] 'Started' not being set when ticket status changes from 'New' -> 'xxx' In-Reply-To: <20150911154812.GS18476@aart.rice.edu> References: <20150911154812.GS18476@aart.rice.edu> Message-ID: <20150911195547.GB18476@aart.rice.edu> On Fri, Sep 11, 2015 at 10:48:12AM -0500, ktm at rice.edu wrote: > Hi, > > I am debugging a problem where the 'Started' Date is not being > set when the ticket status changes from 'new' to 'open' or 'resolved'. > I found the code for when the 'Started' date is set using 'SetStarted()' > that changes the status from 'new' to 'open', but not the code setting > the 'Started' field when the status changes. Can someone give me a > pointer or an idea about where to look? > > Regards, > Ken > Just to follow-up. I made a global scrip to set the 'Started' date field when it is un-set and the transaction is a status change from 'new' to either 'open' or 'resolved'. I thought that this was handled by RT internally when the status changed from 'new' but I could not find any place in the code that handled it. Regards, Ken From alex at chmrr.net Sat Sep 12 16:37:51 2015 From: alex at chmrr.net (Alex Vandiver) Date: Sat, 12 Sep 2015 13:37:51 -0700 Subject: [rt-users] 'Started' not being set when ticket status changes from 'New' -> 'xxx' In-Reply-To: <20150911195547.GB18476@aart.rice.edu> References: <20150911154812.GS18476@aart.rice.edu> <20150911195547.GB18476@aart.rice.edu> Message-ID: <20150912133751.3e06dc47@umgah.localdomain> On Fri, 11 Sep 2015 14:55:47 -0500 "ktm at rice.edu" wrote: > Just to follow-up. I made a global scrip to set the 'Started' date > field when it is un-set and the transaction is a status change from > 'new' to either 'open' or 'resolved'. I thought that this was handled > by RT internally when the status changed from 'new' but I could not > find any place in the code that handled it. This was in core code in RT 4.0, but was moved to a global scrip in RT 4.2: https://bestpractical.com/docs/rt/4.2/UPGRADING-4.2.html (search for Started) If this was an RT instance that was upgraded from 4.0, the lack of this behavior my imply that not all upgrade steps were run. - Alex From alex at chmrr.net Sat Sep 12 16:53:15 2015 From: alex at chmrr.net (Alex Vandiver) Date: Sat, 12 Sep 2015 13:53:15 -0700 Subject: [rt-users] 'Started' not being set when ticket status changes from 'New' -> 'xxx' In-Reply-To: <20150912133751.3e06dc47@umgah.localdomain> References: <20150911154812.GS18476@aart.rice.edu> <20150911195547.GB18476@aart.rice.edu> <20150912133751.3e06dc47@umgah.localdomain> Message-ID: <20150912135315.7433fff8@umgah.localdomain> On Sat, 12 Sep 2015 13:37:51 -0700 Alex Vandiver wrote: > On Fri, 11 Sep 2015 14:55:47 -0500 "ktm at rice.edu" > wrote: > > Just to follow-up. I made a global scrip to set the 'Started' date > > field when it is un-set and the transaction is a status change from > > 'new' to either 'open' or 'resolved'. I thought that this was > > handled by RT internally when the status changed from 'new' but I > > could not find any place in the code that handled it. > > This was in core code in RT 4.0, but was moved to a global scrip in RT > 4.2: [snip] Sorry, I mis-read your question; the scrip in question is for the opposite (opening the ticket if Started is set). The code that sets Started when a ticket is moved to a non-initial state is: https://github.com/bestpractical/rt/blob/stable/lib/RT/Ticket.pm#L2393-L2403 The only thing that could be causing that to not fire is if you have a custom lifecycle with all-Initial statuses. - Alex From Gaston at huot.me Sun Sep 13 12:32:07 2015 From: Gaston at huot.me (huotg01) Date: Sun, 13 Sep 2015 09:32:07 -0700 (MST) Subject: [rt-users] RT- Gantt chart Possible to increase the length allowed to display the task name ? In-Reply-To: References: Message-ID: <1442161927154-60644.post@n7.nabble.com> Peter I missed your answer in last December... Searching again for the same request, I just found your solution... Thank you so much, it works perfectly. Gaston -- View this message in context: http://requesttracker.8502.n7.nabble.com/RT-Gantt-chart-Possible-to-increase-the-length-allowed-to-display-the-task-name-tp59149p60644.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From Gaston at huot.me Sun Sep 13 15:15:34 2015 From: Gaston at huot.me (Gaston Huot) Date: Sun, 13 Sep 2015 16:15:34 -0300 Subject: [rt-users] Listing requests reporting to a specific request number (children, grand children, etc) Message-ID: Hello! What is the search formula used to list all children reporting to a main request (in a parent-child relationship), whatever how deep it is ? Thanks Gaston 514.823-7202 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gaston at huot.me Sun Sep 13 15:09:17 2015 From: Gaston at huot.me (Gaston Huot) Date: Sun, 13 Sep 2015 16:09:17 -0300 Subject: [rt-users] Fwd: JS Gantt - Time period displayed on the screen In-Reply-To: References: Message-ID: Is it possible to increase the JSGantt time period displayed on the screen ?. Right now, the results are displayed on about 3/4 of the page, and there is an arrow to see further future dates. Is there a way to extend the period actually displayed ? Thanks Gaston -------------- next part -------------- An HTML attachment was scrubbed... URL: From kobus.bensch at trustpayglobal.com Mon Sep 14 04:27:46 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Mon, 14 Sep 2015 09:27:46 +0100 Subject: [rt-users] RT Approvals Message-ID: <55F68502.5010006@trustpayglobal.com> Hi I have setup approvals following this doc: https://www.bestpractical.com/docs/rt/4.2.12/customizing/approvals.html. I would like to setup multiple approvers based on a value in a custom field. Is this possible and if so can anybody point me in the right direction or to a doc that I can read that will help me to achieve this? Thank you Kobus -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. From rraineyjay at gmail.com Mon Sep 14 05:01:58 2015 From: rraineyjay at gmail.com (Lorraine Johnson) Date: Mon, 14 Sep 2015 09:01:58 +0000 Subject: [rt-users] Error with extensions installation Message-ID: Hi Y'all Good morning, I installed RT- activity report and I get this error "An internal RT error has occurred. Your administrator can find more details in RT's log files." Please I need help. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From kobus.bensch at trustpayglobal.com Mon Sep 14 05:09:14 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Mon, 14 Sep 2015 10:09:14 +0100 Subject: [rt-users] Error with extensions installation In-Reply-To: References: Message-ID: <55F68EBA.9050806@trustpayglobal.com> |The answer is in the logs, but if you performed this step rm -fr /opt/rt4/var/mason_data/obj and restarted, then you need to chmod -R ||apache:apache /opt/rt4/var/mason_data| This is on Centos anyway. HTH On 14/09/2015 10:01, Lorraine Johnson wrote: > Hi Y'all > > Good morning, I installed RT- activity report and I get this error "An > internal RT error has occurred. Your administrator can find more > details in RT's log files." > > > Please I need help. > > Thank you -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI: 0207 871 3958 Tel: 0207 871 3890 Email: kobus.bensch at trustpayglobal.com -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TrustPayGlobal_email_footer.png Type: image/png Size: 8901 bytes Desc: not available URL: From elacour at easter-eggs.com Mon Sep 14 06:12:59 2015 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 14 Sep 2015 12:12:59 +0200 Subject: [rt-users] RT Approvals In-Reply-To: <55F68502.5010006@trustpayglobal.com> References: <55F68502.5010006@trustpayglobal.com> Message-ID: <55F69DAB.30806@easter-eggs.com> Le 14/09/2015 10:27, Kobus Bensch a ?crit : > Hi > > I have setup approvals following this doc: > https://www.bestpractical.com/docs/rt/4.2.12/customizing/approvals.html. > > I would like to setup multiple approvers based on a value in a custom > field. Is this possible and if so can anybody point me in the right > direction or to a doc that I can read that will help me to achieve this? > > you'll have to write code yourself ;) You cannot use groups for this? Here is sample untested code (that needs more time to think of) to get users with a user cf corresponding to ticket cf. Just an idea ... I would create a new method in local/lib/Ticket_Overlay.pm like: sub GetApprovers { my $self = shift; my $cf_value = $self->FirstCustomFieldValue( 'CF' ); my $Users = RT::Users->new( self->CurrentUser ); $Users->LimitCUstomField( CUSTOMFIELD => 'CF', VALUE => $cf_value ); my @approvers; while ( my $User = $Users->Next) { push @approvers, $User->id; } return join(',', @approvers); } Then in the approval template, something like: AdminCc: { $Tickets{TOP}->GetApprovers; } NB: - you can put all of the code in the template, but having an API method is a bit better for code maintenance. - double think of this, using groups is maybe a better idea - not sure what arguments is accepted in AdminCc (list of users id, email, ...), see lib/RT/Action/CreateTickets.pm -- Easter-eggs Sp?cialiste GNU/Linux 44-46 rue de l'Ouest - 75014 Paris - France - M?tro Gait? Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76 mailto:elacour at easter-eggs.com - http://www.easter-eggs.com From kobus.bensch at trustpayglobal.com Mon Sep 14 06:16:54 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Mon, 14 Sep 2015 11:16:54 +0100 Subject: [rt-users] Error with extensions installation In-Reply-To: References: <55F68EBA.9050806@trustpayglobal.com> Message-ID: <55F69E96.8040904@trustpayglobal.com> Sorry my bad. It should be chown not chmod and if the directory does not exist create it first then do the chown. On 14/09/2015 10:49, Lorraine Johnson wrote: > I again tried the solution you gave me, but am getting this error > invalid mode ' apache:apache'. > > > Please I am a newbie, kindly help me out. > > Thank you so much > > On Mon, Sep 14, 2015 at 9:45 AM, Lorraine Johnson > > wrote: > > Thank you Kobus Bensch for your quick response > > Mine is also on centos RT 4.0, when I tail -r > /opt/rt4/var/log/apache2 it says No such file or directory. > > Please help > > On Mon, Sep 14, 2015 at 9:09 AM, Kobus Bensch > > wrote: > > |The answer is in the logs, but if you performed this step rm > -fr /opt/rt4/var/mason_data/obj and restarted, then you need > to chmod -R ||apache:apache /opt/rt4/var/mason_data| > > This is on Centos anyway. > > HTH > > > > On 14/09/2015 10:01, Lorraine Johnson wrote: >> Hi Y'all >> >> Good morning, I installed RT- activity report and I get this >> error "An internal RT error has occurred. Your administrator >> can find more details in RT's log files." >> >> >> Please I need help. >> >> Thank you > > -- > Kobus Bensch > Senior Systems Administrator > Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey > | GU2 7YD > DDI: 0207 871 3958 > Tel: 0207 871 3890 > Email: kobus.bensch at trustpayglobal.com > > > Trustpay Global Limited is an authorised Electronic Money > Institution regulated by the Financial Conduct Authority > registration number 900043. Company No 07427913 Registered in > England and Wales with registered address 130 Wood Street, > London, EC2V 6DL, United Kingdom. > > For further details please visit our website at > www.trustpayglobal.com . > > The information in this email and any attachments are > confidential and remain the property of Trustpay Global Ltd > unless agreed by contract. It is intended solely for the > person to whom or the entity to which it is addressed. If you > are not the intended recipient you may not use, disclose, > copy, distribute, print or rely on the content of this email > or its attachments. If this email has been received by you in > error please advise the sender and delete the email from your > system. Trustpay Global Ltd does not accept any liability for > any personal view expressed in this message. > > > -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI: 0207 871 3958 Tel: 0207 871 3890 Email: kobus.bensch at trustpayglobal.com -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 8901 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TrustPayGlobal_email_footer.png Type: image/png Size: 8901 bytes Desc: not available URL: From rraineyjay at gmail.com Mon Sep 14 07:14:37 2015 From: rraineyjay at gmail.com (Lorraine Johnson) Date: Mon, 14 Sep 2015 11:14:37 +0000 Subject: [rt-users] Error with extensions installation In-Reply-To: <55F69E96.8040904@trustpayglobal.com> References: <55F68EBA.9050806@trustpayglobal.com> <55F69E96.8040904@trustpayglobal.com> Message-ID: Thank you very much Kobus, the chown command worked. Unfortunately I cant find the activity report. I used the link https:///Reports/Activity/index.html but I get this error " The page you requested could not be found Please check the URL and try again." Dont know if I should do the installation again. Please help On Mon, Sep 14, 2015 at 10:16 AM, Kobus Bensch < kobus.bensch at trustpayglobal.com> wrote: > Sorry my bad. It should be chown not chmod and if the directory does not > exist create it first then do the chown. > > > On 14/09/2015 10:49, Lorraine Johnson wrote: > > I again tried the solution you gave me, but am getting this error invalid > mode ' apache:apache'. > > > Please I am a newbie, kindly help me out. > > Thank you so much > > On Mon, Sep 14, 2015 at 9:45 AM, Lorraine Johnson < > rraineyjay at gmail.com> wrote: > >> Thank you Kobus Bensch for your quick response >> >> Mine is also on centos RT 4.0, when I tail -r /opt/rt4/var/log/apache2 >> it says No such file or directory. >> >> Please help >> >> On Mon, Sep 14, 2015 at 9:09 AM, Kobus Bensch < >> kobus.bensch at trustpayglobal.com> wrote: >> >>> The answer is in the logs, but if you performed this step rm -fr /opt/rt4/var/mason_data/obj and restarted, then you need to chmod -R apache:apache /opt/rt4/var/mason_data >>> >>> This is on Centos anyway. >>> >>> HTH >>> >>> >>> >>> On 14/09/2015 10:01, Lorraine Johnson wrote: >>> >>> Hi Y'all >>> >>> Good morning, I installed RT- activity report and I get this error "An >>> internal RT error has occurred. Your administrator can find more details in >>> RT's log files." >>> >>> >>> Please I need help. >>> >>> Thank you >>> >>> >>> -- >>> Kobus Bensch >>> Senior Systems Administrator >>> Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD >>> DDI: 0207 871 3958 >>> Tel: 0207 871 3890 >>> Email: kobus.bensch at trustpayglobal.com >>> >>> Trustpay Global Limited is an authorised Electronic Money Institution >>> regulated by the Financial Conduct Authority registration number 900043. >>> Company No 07427913 Registered in England and Wales with registered address >>> 130 Wood Street, London, EC2V 6DL, United Kingdom. >>> >>> For further details please visit our website at >>> www.trustpayglobal.com. >>> >>> The information in this email and any attachments are confidential and >>> remain the property of Trustpay Global Ltd unless agreed by contract. It is >>> intended solely for the person to whom or the entity to which it is >>> addressed. If you are not the intended recipient you may not use, disclose, >>> copy, distribute, print or rely on the content of this email or its >>> attachments. If this email has been received by you in error please advise >>> the sender and delete the email from your system. Trustpay Global Ltd does >>> not accept any liability for any personal view expressed in this message. >>> >> >> > > -- > Kobus Bensch > Senior Systems Administrator > Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD > DDI: 0207 871 3958 > Tel: 0207 871 3890 > Email: kobus.bensch at trustpayglobal.com > > Trustpay Global Limited is an authorised Electronic Money Institution > regulated by the Financial Conduct Authority registration number 900043. > Company No 07427913 Registered in England and Wales with registered address > 130 Wood Street, London, EC2V 6DL, United Kingdom. > > For further details please visit our website at www.trustpayglobal.com. > > The information in this email and any attachments are confidential and > remain the property of Trustpay Global Ltd unless agreed by contract. It is > intended solely for the person to whom or the entity to which it is > addressed. If you are not the intended recipient you may not use, disclose, > copy, distribute, print or rely on the content of this email or its > attachments. If this email has been received by you in error please advise > the sender and delete the email from your system. Trustpay Global Ltd does > not accept any liability for any personal view expressed in this message. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TrustPayGlobal_email_footer.png Type: image/png Size: 8901 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 8901 bytes Desc: not available URL: From kobus.bensch at trustpayglobal.com Mon Sep 14 10:00:00 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Mon, 14 Sep 2015 15:00:00 +0100 Subject: [rt-users] Error with extensions installation In-Reply-To: References: <55F68EBA.9050806@trustpayglobal.com> <55F69E96.8040904@trustpayglobal.com> Message-ID: <55F6D2E0.9020803@trustpayglobal.com> Not sure. Did you restart apache after the install and after the chown? I have that plugin install and all is working fine for me. On 14/09/2015 12:14, Lorraine Johnson wrote: > Thank you very much Kobus, the chown command worked. > > Unfortunately I cant find the activity report. I used the link > https:///Reports/Activity/index.html but I get > this error > > " > > > The page you requested could not be found > > Please check the URL and try again." > > Dont know if I should do the installation again. > > Please help > > On Mon, Sep 14, 2015 at 10:16 AM, Kobus Bensch > > wrote: > > Sorry my bad. It should be chown not chmod and if the directory > does not exist create it first then do the chown. > > > On 14/09/2015 10:49, Lorraine Johnson wrote: >> I again tried the solution you gave me, but am getting this error >> invalid mode ' apache:apache'. >> >> >> Please I am a newbie, kindly help me out. >> >> Thank you so much >> >> On Mon, Sep 14, 2015 at 9:45 AM, Lorraine Johnson >> > wrote: >> >> Thank you Kobus Bensch for your quick response >> >> Mine is also on centos RT 4.0, when I tail -r >> /opt/rt4/var/log/apache2 it says No such file or directory. >> >> Please help >> >> On Mon, Sep 14, 2015 at 9:09 AM, Kobus Bensch >> > > wrote: >> >> |The answer is in the logs, but if you performed this step >> rm -fr /opt/rt4/var/mason_data/obj and restarted, then >> you need to chmod -R ||apache:apache /opt/rt4/var/mason_data| >> >> This is on Centos anyway. >> >> HTH >> >> >> >> On 14/09/2015 10:01, Lorraine Johnson wrote: >>> Hi Y'all >>> >>> Good morning, I installed RT- activity report and I get >>> this error "An internal RT error has occurred. Your >>> administrator can find more details in RT's log files." >>> >>> >>> Please I need help. >>> >>> Thank you >> >> -- >> Kobus Bensch >> Senior Systems Administrator >> Address: 22 & 24 | Frederick Sanger Road | Guildford | >> Surrey | GU2 7YD >> DDI: 0207 871 3958 >> Tel: 0207 871 3890 >> Email: kobus.bensch at trustpayglobal.com >> >> >> Trustpay Global Limited is an authorised Electronic Money >> Institution regulated by the Financial Conduct Authority >> registration number 900043. Company No 07427913 >> Registered in England and Wales with registered address >> 130 Wood Street, London, EC2V 6DL, United Kingdom. >> >> For further details please visit our website at >> www.trustpayglobal.com . >> >> The information in this email and any attachments are >> confidential and remain the property of Trustpay Global >> Ltd unless agreed by contract. It is intended solely for >> the person to whom or the entity to which it is >> addressed. If you are not the intended recipient you may >> not use, disclose, copy, distribute, print or rely on the >> content of this email or its attachments. If this email >> has been received by you in error please advise the >> sender and delete the email from your system. Trustpay >> Global Ltd does not accept any liability for any personal >> view expressed in this message. >> >> >> > > -- > Kobus Bensch > Senior Systems Administrator > Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | > GU2 7YD > DDI: 0207 871 3958 > Tel: 0207 871 3890 > Email: kobus.bensch at trustpayglobal.com > > > Trustpay Global Limited is an authorised Electronic Money > Institution regulated by the Financial Conduct Authority > registration number 900043. Company No 07427913 Registered in > England and Wales with registered address 130 Wood Street, London, > EC2V 6DL, United Kingdom. > > For further details please visit our website at > www.trustpayglobal.com . > > The information in this email and any attachments are confidential > and remain the property of Trustpay Global Ltd unless agreed by > contract. It is intended solely for the person to whom or the > entity to which it is addressed. If you are not the intended > recipient you may not use, disclose, copy, distribute, print or > rely on the content of this email or its attachments. If this > email has been received by you in error please advise the sender > and delete the email from your system. Trustpay Global Ltd does > not accept any liability for any personal view expressed in this > message. > > -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI: 0207 871 3958 Tel: 0207 871 3890 Email: kobus.bensch at trustpayglobal.com -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 8901 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 8901 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TrustPayGlobal_email_footer.png Type: image/png Size: 8901 bytes Desc: not available URL: From gregory.pickett at hellfiresecurity.com Mon Sep 14 15:05:02 2015 From: gregory.pickett at hellfiresecurity.com (Gregory Pickett) Date: Mon, 14 Sep 2015 14:05:02 -0500 Subject: [rt-users] Missing RTIR Queues and Groups Message-ID: <675f5565a7dce72ce2724819a21751d5@hellfiresecurity.com> Hello, I have a new RTIR installation with Gossamer Threads. The menus are there, just none of the queues or groups. I didn't even notice until I tried restarting mod_perl after some other modifications. It failed because of the missing queues. They fixed the start-up failure, and I presumed that they fixed it by adding the queues but this was not the case. Anyway, I figured that I would have them reinstall the IR extension but I have two questions before I do. 1) Do you think that the reinstall will fix the problem? 2) Will it wipe out any of the non-RTIR related customization? Greg -- Gregory Pickett, CISSP, GCIA, GPEN Cybersecurity Operations Hellfire Security 1608 S. Ashland Ave. #49583 Chicago, IL 60608 (312) 436-0133 www.hellfiresecurity.com [1] Links: ------ [1] http://www.hellfiresecurity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bernhard.Eierschmalz at scheppach.com Mon Sep 14 18:51:13 2015 From: Bernhard.Eierschmalz at scheppach.com (Eierschmalz, Bernhard) Date: Mon, 14 Sep 2015 22:51:13 +0000 Subject: [rt-users] Tickets from other Ticketsystem In-Reply-To: <97344147CBA1644584462D6D81C43CE4A365E3BA@svex.scheppach.local> References: <97344147CBA1644584462D6D81C43CE413815C77@svex.scheppach.local> <20140822140048.GF3071@jibsheet.com> <97344147CBA1644584462D6D81C43CE41381B244@svex.scheppach.local> <20140903203330.GA11662@jibsheet.com> <97344147CBA1644584462D6D81C43CE4A365E3BA@svex.scheppach.local> Message-ID: <97344147CBA1644584462D6D81C43CE4CFF5AEFB@svex.scheppach.local> Hello Kevin, I found a solution on my own now - maybe interesting for somebody. Quick discription: 1. I recognize the external ticket number with regex from subject and write this number to a Custom Field 2. search for existing tickets with same value in same Custom Field and merge the tickets Now how I did: Step 1: create a custom field for all queues used for the external ticket number. Step 2: Create the following Scrip: CustomIsApplicableCode: (at this part we check with if a ticket is created from a valid address with a valid regex-syntax for external ticket system) # only on creating tickets return 0 unless $self->TransactionObj->Type eq "Create"; my $subject = $self->TransactionObj->Subject; return 0 unless defined($subject); # mail-addresses from other ticket systems my @ticketsender = ('...'); #<-- this is an array of addresses or parts of addresses wich are recognized for other ticketsystem-verification. my $ticketRequestor = lc($self->TicketObj->RequestorAddresses); if ( $subject =~ / \[plus ticket\d{8}\]/) #<-- regex-code for other external ticket numbers in message subject { foreach (@ticketsender) { if ($ticketRequestor =~ /$_/) #<-- check if sender is permitted { return 1; } } } return 0; CustomPrepareCode (at this part we write the external ticket number to the custom field) my $subject = $self->TransactionObj->Subject; $subject =~ s/.*\[plus ticket//; my $cfval = "PLUS".substr($subject,0,8); # <-- cfval contains the Value number of the external ticket plus some first letters to identify - this is to be able to add more external ticket numbers # write to CustomField my $cf = RT::CustomField->new ( $RT::SystemUser ); $cf->Load('21'); #<-- ID of the custom field from step 1 $self->TicketObj->AddCustomFieldValue ( Field => $cf, Value => $cfval ); return 1; CustomCommitCode (at this part we search for already existing tickets with same CF and merge them) my $extnr = $self->TicketObj->FirstCustomFieldValue('21'); #<-- load the custom field value # find all the ticket to the reference number from ticketsystem my $search = new RT::Tickets(RT->SystemUser); $search->LimitCustomField(CUSTOMFIELD => '21', OPERATOR => '=', VALUE => $extnr); while (my $ticket = $search->Next) { # ignore if finding the new ticket itself next if $self->TicketObj->Id == $ticket->Id; my $id = $ticket->Id; # Logging $RT::Logger->info("Merging ticket " . $self->TicketObj->Id . " into $id because of Reference number $extnr match."); # merge Tickets $self->TicketObj->MergeInto($id); } best regards, Bernhard -----Urspr?ngliche Nachricht----- Von: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Eierschmalz, Bernhard Gesendet: Montag, 11. Mai 2015 10:44 An: rt-users at lists.bestpractical.com Cc: falcone at bestpractical.com Betreff: Re: [rt-users] Tickets from other Ticketsystem Hello Kevin, I know this is a very old mail below. I didn't install the plugin in this times, because it was not so urgent. But now I have the same problem again. I read about the extension you mentioned. But I think there is one problem. What I understood about the extension is: - when there is a new mail to an existing resolved ticket with defined ticket number - open a new ticket What I need is the following - when there is a new mail to a new ticket AND the subject is starting with defined syntax - check if there is any ticket with almost the same subject - attach the new mail to the existing ticket instead of opening a new one. So the difference is that the extension searches for a ticket with defined number - what I need is to search for any existing ticket with a defined syntax. Are you sure the extension would work in my case? Can you tell me how to use it? Best regards Bernhard -----Urspr?ngliche Nachricht----- Von: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Kevin Falcone Gesendet: Mittwoch, 3. September 2014 22:34 An: rt-users at lists.bestpractical.com Betreff: Re: [rt-users] Tickets from other Ticketsystem On Mon, Aug 25, 2014 at 08:27:00AM +0000, Eierschmalz, Bernhard wrote: > Hello Kevin, > > I already thought about creating a scrip like > Condition: > Transaction obj = "create" > Subject contains "[plus ticket#" > > Action: > Search tickets with same plus-ticket no. > If one exists, combine > > What do you think about this solution? Or would you prefer the strongly modified plugin? > Scrip runs after the second ticket is created and sends email. You then Merge it. The plugin never allows the second ticket to be created. -kevin > > > -----Urspr?ngliche Nachricht----- > Von: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] Im > Auftrag von Kevin Falcone > Gesendet: Freitag, 22. August 2014 16:01 > An: rt-users at lists.bestpractical.com > Betreff: Re: [rt-users] Tickets from other Ticketsystem > > On Tue, Aug 19, 2014 at 05:36:04AM +0000, Eierschmalz, Bernhard wrote: > > we have one customer using its own ticket system. This customer > > sends us mails with an information about his own ticket in the subject. > > > > i.e. [PLUS.DE Ticket#PD077994] > > > > sometimes when this customer answers, he doesn?t send our ticket > > number in subject, so he opens a new ticket. > > > > Is it possible to identify a mail by this PLUS ticket number and add > > to our already opened ticket instead of open a new one? > > Look at the code in > https://github.com/bestpractical/rt-extension-repliestoresolved > > The function it hooks can be used to lie to RT and return a ticket id of the existing ticket (as opposed to what this extension does, which is suppress the ticket id so that a new ticket will be created). > > -kevin > -- > RT Training - Boston, September 9-10 > http://bestpractical.com/training From barton at bywatersolutions.com Mon Sep 14 22:22:50 2015 From: barton at bywatersolutions.com (Barton Chittenden) Date: Mon, 14 Sep 2015 22:22:50 -0400 Subject: [rt-users] Reports with vairables? Message-ID: I can write a report that looks like this... Status = 'open' AND Queue = 'Bugs' AND 'CF.{Community Bug}' LIKE 6499 Is it possible to write a report where one of the elements is to be filled in later, e.g. Status = 'open' AND Queue = 'Bugs' AND 'CF.{Community Bug}' LIKE ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmurray at whoi.edu Tue Sep 15 14:43:17 2015 From: jmurray at whoi.edu (Jonathan Murray) Date: Tue, 15 Sep 2015 14:43:17 -0400 Subject: [rt-users] DBD:mysql>=2.1018 ...MISSING Message-ID: <55F866C5.70804@whoi.edu> I'm setting up an RT server with the following: RT 4.2.9 postgres 9.4 apache 2.2.15 When I get to the part of the install where I'm trying to resolve the perl dependencies and I run make testdeps make fixdeps it always comes back with MYSQL missing dependencies: DBD::mysql >= 2.1018 ...MISSING Perl library path for /usr/bin/perl: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . make: *** [fixdeps] Error 1 We're using postgres not mysql. It sounds like something we don't need. Is there a way to skip this or remove it as a dependency? Any idea how to resolve this? Thank you, Jonathan Murray From mzagrabe at d.umn.edu Tue Sep 15 14:55:16 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Tue, 15 Sep 2015 13:55:16 -0500 Subject: [rt-users] DBD:mysql>=2.1018 ...MISSING In-Reply-To: <55F866C5.70804@whoi.edu> References: <55F866C5.70804@whoi.edu> Message-ID: On Tue, Sep 15, 2015 at 1:43 PM, Jonathan Murray wrote: > I'm setting up an RT server with the following: > > RT 4.2.9 > postgres 9.4 > apache 2.2.15 > > When I get to the part of the install where I'm trying to resolve the perl > dependencies and I run > > make testdeps > make fixdeps > > it always comes back with > > MYSQL missing dependencies: > DBD::mysql >= 2.1018 ...MISSING > > Perl library path for /usr/bin/perl: > /usr/local/lib64/perl5 > /usr/local/share/perl5 > /usr/lib64/perl5/vendor_perl > /usr/share/perl5/vendor_perl > /usr/lib64/perl5 > /usr/share/perl5 > . > make: *** [fixdeps] Error 1 > > We're using postgres not mysql. It sounds like something we don't need. Is > there a way to skip this or remove it as a dependency? > Any idea how to resolve this? ./configure --with-db-type=Pg --with-db-dba=postgres There are other configure options you might want. FWIW, here is my configure incantation: ./configure --enable-graphviz --enable-gd --enable-gpg --with-rt-group=root --with-web-user=www-data --with-web-group=www-data --with-web-handler=fastcgi --with-libs-group=root --with-db-type=Pg --with-db-dba=postgres You (generally) can see the configure options using: ./configure --help -m From jmurray at whoi.edu Tue Sep 15 15:51:16 2015 From: jmurray at whoi.edu (Jonathan Murray) Date: Tue, 15 Sep 2015 15:51:16 -0400 Subject: [rt-users] DBD:mysql>=2.1018 ...MISSING In-Reply-To: References: <55F866C5.70804@whoi.edu> Message-ID: <55F876B4.2060902@whoi.edu> On 09/15/2015 02:55 PM, Matt Zagrabelny wrote: > On Tue, Sep 15, 2015 at 1:43 PM, Jonathan Murray wrote: >> I'm setting up an RT server with the following: >> >> RT 4.2.9 >> postgres 9.4 >> apache 2.2.15 >> >> When I get to the part of the install where I'm trying to resolve the perl >> dependencies and I run >> >> make testdeps >> make fixdeps >> >> it always comes back with >> >> MYSQL missing dependencies: >> DBD::mysql >= 2.1018 ...MISSING >> >> Perl library path for /usr/bin/perl: >> /usr/local/lib64/perl5 >> /usr/local/share/perl5 >> /usr/lib64/perl5/vendor_perl >> /usr/share/perl5/vendor_perl >> /usr/lib64/perl5 >> /usr/share/perl5 >> . >> make: *** [fixdeps] Error 1 >> >> We're using postgres not mysql. It sounds like something we don't need. Is >> there a way to skip this or remove it as a dependency? >> Any idea how to resolve this? > > ./configure --with-db-type=Pg --with-db-dba=postgres > > There are other configure options you might want. FWIW, here is my > configure incantation: > > ./configure --enable-graphviz --enable-gd --enable-gpg > --with-rt-group=root --with-web-user=www-data > --with-web-group=www-data --with-web-handler=fastcgi > --with-libs-group=root --with-db-type=Pg --with-db-dba=postgres > > You (generally) can see the configure options using: > > ./configure --help > > -m > It's a different error now, but some progress as it's not related to mysql. I'm using this as my configure: ./configure --with-web-user=apache --with-web-group=apache --enable-graphviz --enable-gd --with-db-type=Pg I'm assuming that "Pg" means postgres. (configure --help doesn't actually specify postgres, just Pg) then: make testdeps make fixdeps Configuring DBD::Pg 3.5.1 Path to pg_config? /usr/pgsql-9.4/bin/pg_config then I get this SOME DEPENDENCIES WERE MISSING. PG missing dependencies: DBD::Pg >= 1.43 ...MISSING Is it looking for postgres in a special location? I can only find one pg_config on my system: /usr/pgsql-9.4/bin/pg_config I got my postgres from here: http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm Is it possible I'm using the wrong version of Postgres (9.4.1) with this version of RT (4.2.9)? Thank you, Jonathan From mzagrabe at d.umn.edu Tue Sep 15 16:02:18 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Tue, 15 Sep 2015 15:02:18 -0500 Subject: [rt-users] DBD:mysql>=2.1018 ...MISSING In-Reply-To: <55F876B4.2060902@whoi.edu> References: <55F866C5.70804@whoi.edu> <55F876B4.2060902@whoi.edu> Message-ID: On Tue, Sep 15, 2015 at 2:51 PM, Jonathan Murray wrote: > On 09/15/2015 02:55 PM, Matt Zagrabelny wrote: >> >> On Tue, Sep 15, 2015 at 1:43 PM, Jonathan Murray wrote: >>> >>> I'm setting up an RT server with the following: >>> >>> RT 4.2.9 >>> postgres 9.4 >>> apache 2.2.15 >>> >>> When I get to the part of the install where I'm trying to resolve the >>> perl >>> dependencies and I run >>> >>> make testdeps >>> make fixdeps >>> >>> it always comes back with >>> >>> MYSQL missing dependencies: >>> DBD::mysql >= 2.1018 ...MISSING >>> >>> Perl library path for /usr/bin/perl: >>> /usr/local/lib64/perl5 >>> /usr/local/share/perl5 >>> /usr/lib64/perl5/vendor_perl >>> /usr/share/perl5/vendor_perl >>> /usr/lib64/perl5 >>> /usr/share/perl5 >>> . >>> make: *** [fixdeps] Error 1 >>> >>> We're using postgres not mysql. It sounds like something we don't need. >>> Is >>> there a way to skip this or remove it as a dependency? >>> Any idea how to resolve this? >> >> >> ./configure --with-db-type=Pg --with-db-dba=postgres >> >> There are other configure options you might want. FWIW, here is my >> configure incantation: >> >> ./configure --enable-graphviz --enable-gd --enable-gpg >> --with-rt-group=root --with-web-user=www-data >> --with-web-group=www-data --with-web-handler=fastcgi >> --with-libs-group=root --with-db-type=Pg --with-db-dba=postgres >> >> You (generally) can see the configure options using: >> >> ./configure --help >> >> -m >> > > It's a different error now, but some progress as it's not related to mysql. > I'm using this as my configure: > > ./configure --with-web-user=apache --with-web-group=apache --enable-graphviz > --enable-gd --with-db-type=Pg > > I'm assuming that "Pg" means postgres. (configure --help doesn't actually > specify postgres, just Pg) > > then: > > make testdeps > make fixdeps > > Configuring DBD::Pg 3.5.1 > Path to pg_config? /usr/pgsql-9.4/bin/pg_config I don't use the "make fixdeps". Perhaps someone else can chime in on this. > then I get this > SOME DEPENDENCIES WERE MISSING. > PG missing dependencies: > DBD::Pg >= 1.43 ...MISSING If you want to install perl modules separate from the install process for RT, you could check your package repositories or metacpan.org for the upstream source. > Is it looking for postgres in a special location? I can only find one > pg_config on my system: > > /usr/pgsql-9.4/bin/pg_config Perhaps try symlinking that to /usr/local/bin or /usr/bin. The Debian package puts pg_config in /usr/bin. > > I got my postgres from here: > > http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm Sure. > Is it possible I'm using the wrong version of Postgres (9.4.1) with this > version of RT (4.2.9)? I would be shocked if 9.4 could not work with 4.2. I wouldn't worry about this detail. -m From rtusers-20090205 at billmail.scconsult.com Tue Sep 15 20:43:02 2015 From: rtusers-20090205 at billmail.scconsult.com (Bill Cole) Date: Tue, 15 Sep 2015 20:43:02 -0400 Subject: [rt-users] mysql>=2.1018 ...MISSING In-Reply-To: <55F876B4.2060902@whoi.edu> References: <55F866C5.70804@whoi.edu> <55F876B4.2060902@whoi.edu> Message-ID: <4D8A4118-C1A3-4F9D-B20E-233AC66570B5@billmail.scconsult.com> On 15 Sep 2015, at 15:51, Jonathan Murray wrote: [...] > > It's a different error now, but some progress as it's not related to > mysql. > I'm using this as my configure: > > ./configure --with-web-user=apache --with-web-group=apache > --enable-graphviz --enable-gd --with-db-type=Pg > > I'm assuming that "Pg" means postgres. (configure --help doesn't > actually specify postgres, just Pg) > > then: > > make testdeps > make fixdeps > > Configuring DBD::Pg 3.5.1 > Path to pg_config? /usr/pgsql-9.4/bin/pg_config > > then I get this > SOME DEPENDENCIES WERE MISSING. > PG missing dependencies: > DBD::Pg >= 1.43 ...MISSING > > Is it looking for postgres in a special location? No, as it says: it is failing to find the DBD::Pg perl module, version 1.43 or greater. Why it isn't able to use the one that seems to have been just configured (v3.5.1) is the key question. Perhaps something about how you're running fixdeps is installing that module in a place that testdeps can't find? Maybe you have SELinux enabled but the module is being installed without a proper label? You can see in the Makefile that testdeps and fixdeps both run sbin/rt-test-dependencies, and all it does to check for dependencies to to see if a "use" statement for each module fails. > I can only find one pg_config on my system: > > /usr/pgsql-9.4/bin/pg_config > > I got my postgres from here: > > http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm > > Is it possible I'm using the wrong version of Postgres (9.4.1) with > this version of RT (4.2.9)? Very unlikely, and that certainly isn't the cause of THIS error. From sidj at dtu.dk Wed Sep 16 04:22:23 2015 From: sidj at dtu.dk (Sidsel Jensen) Date: Wed, 16 Sep 2015 08:22:23 +0000 Subject: [rt-users] mysql>=2.1018 ...MISSING In-Reply-To: <4D8A4118-C1A3-4F9D-B20E-233AC66570B5@billmail.scconsult.com> Message-ID: On 16/09/15 02:43, "Bill Cole" wrote: >On 15 Sep 2015, at 15:51, Jonathan Murray wrote: > >[...] >> >> It's a different error now, but some progress as it's not related to >> mysql. >> I'm using this as my configure: >> >> ./configure --with-web-user=apache --with-web-group=apache >> --enable-graphviz --enable-gd --with-db-type=Pg >> >> I'm assuming that "Pg" means postgres. (configure --help doesn't >> actually specify postgres, just Pg) >> >> then: >> >> make testdeps >> make fixdeps >> >> Configuring DBD::Pg 3.5.1 >> Path to pg_config? /usr/pgsql-9.4/bin/pg_config >> >> then I get this >> SOME DEPENDENCIES WERE MISSING. >> PG missing dependencies: >> DBD::Pg >= 1.43 ...MISSING >> >> Is it looking for postgres in a special location? > >No, as it says: it is failing to find the DBD::Pg perl module, version >1.43 or greater. Why it isn't able to use the one that seems to have >been just configured (v3.5.1) is the key question. Perhaps something >about how you're running fixdeps is installing that module in a place >that testdeps can't find? Maybe you have SELinux enabled but the module >is being installed without a proper label? > >You can see in the Makefile that testdeps and fixdeps both run >sbin/rt-test-dependencies, and all it does to check for dependencies to >to see if a "use" statement for each module fails. If it?s failing under the run of fixdeps - I?ve had that error. I did: [root at rt4 rt-4.2.9]# cpanm DBD::Pg~1.43 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "iso_8859_1", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). --> Working on DBD::Pg Fetching http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.0.tar.gz ... OK Configuring DBD-Pg-3.5.0 ... N/A ! Configure failed for DBD-Pg-3.5.0. See /root/.cpanm/work/1420992240.3990/build.log for details. Expiring 91 work directories. This might take a while... And in that build.log it said: No POSTGRES_HOME defined, cannot find automatically Configuring DBD::Pg 3.5.0 -> N/A -> FAIL Configure failed for DBD-Pg-3.5.0. See /root/.cpanm/work/1420992240.3990/build.log for details. Expiring 91 work directories. This might take a while... I solved it by installing the postgres-devel and postgres-contrib packages and then manually installing DBD::Pg via cpanminus afterwards confirming that the DBD::Pg perl package was properly installed and then running fixdeps again. also I put /usr/pgsql-9.3/bin in my path so it could find pg_config properly - in your case that would be /usr/pgsql-9.4/bin [root at rt4 ~]# which pg_config /usr/bin/which: no pg_config in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin: /usr/bin:/root/bin) [root at rt4 ~]# locate pg_config [root at rt4 bin]# PATH=$PATH:/usr/pgsql-9.3/bin/ [root at rt4 bin]# echo $PATH /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/ usr/bin:/root/bin:/usr/pgsql-9.3/bin/ [root at rt4 bin]# which pg_config /usr/pgsql-9.3/bin/pg_config [root at rt4 bin]# cpanm DBD::Pg~1.43 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "iso_8859_1", LANG = "C" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). --> Working on DBD::Pg Fetching http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.0.tar.gz ... OK Configuring DBD-Pg-3.5.0 ... OK Building and testing DBD-Pg-3.5.0 ... OK Successfully installed DBD-Pg-3.5.0 1 distribution installed Hope it helps Best, Sidsel > > >> I can only find one pg_config on my system: >> >> /usr/pgsql-9.4/bin/pg_config >> >> I got my postgres from here: >> >> >>http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.no >>arch.rpm >> >> Is it possible I'm using the wrong version of Postgres (9.4.1) with >> this version of RT (4.2.9)? > >Very unlikely, and that certainly isn't the cause of THIS error. > From jmurray at whoi.edu Wed Sep 16 13:17:07 2015 From: jmurray at whoi.edu (Jonathan Murray) Date: Wed, 16 Sep 2015 13:17:07 -0400 Subject: [rt-users] mysql>=2.1018 ...MISSING In-Reply-To: References: Message-ID: <55F9A413.6040802@whoi.edu> On 09/16/2015 04:22 AM, Sidsel Jensen wrote: > > > On 16/09/15 02:43, "Bill Cole" > wrote: > >> On 15 Sep 2015, at 15:51, Jonathan Murray wrote: >> >> [...] >>> >>> It's a different error now, but some progress as it's not related to >>> mysql. >>> I'm using this as my configure: >>> >>> ./configure --with-web-user=apache --with-web-group=apache >>> --enable-graphviz --enable-gd --with-db-type=Pg >>> >>> I'm assuming that "Pg" means postgres. (configure --help doesn't >>> actually specify postgres, just Pg) >>> >>> then: >>> >>> make testdeps >>> make fixdeps >>> >>> Configuring DBD::Pg 3.5.1 >>> Path to pg_config? /usr/pgsql-9.4/bin/pg_config >>> >>> then I get this >>> SOME DEPENDENCIES WERE MISSING. >>> PG missing dependencies: >>> DBD::Pg >= 1.43 ...MISSING >>> >>> Is it looking for postgres in a special location? >> >> No, as it says: it is failing to find the DBD::Pg perl module, version >> 1.43 or greater. Why it isn't able to use the one that seems to have >> been just configured (v3.5.1) is the key question. Perhaps something >> about how you're running fixdeps is installing that module in a place >> that testdeps can't find? Maybe you have SELinux enabled but the module >> is being installed without a proper label? >> >> You can see in the Makefile that testdeps and fixdeps both run >> sbin/rt-test-dependencies, and all it does to check for dependencies to >> to see if a "use" statement for each module fails. > > If it?s failing under the run of fixdeps - I?ve had that error. > > I did: > > [root at rt4 rt-4.2.9]# cpanm DBD::Pg~1.43 > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LC_CTYPE = "iso_8859_1", > LANG = "C" > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > --> Working on DBD::Pg > Fetching http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.0.tar.gz > ... OK > Configuring DBD-Pg-3.5.0 ... N/A > ! Configure failed for DBD-Pg-3.5.0. See > /root/.cpanm/work/1420992240.3990/build.log for details. > Expiring 91 work directories. This might take a while... > > And in that build.log it said: > No POSTGRES_HOME defined, cannot find automatically > Configuring DBD::Pg 3.5.0 > -> N/A > -> FAIL Configure failed for DBD-Pg-3.5.0. See > /root/.cpanm/work/1420992240.3990/build.log for details. > Expiring 91 work directories. This might take a while... > > I solved it by installing the postgres-devel and postgres-contrib packages > and then manually installing DBD::Pg via cpanminus afterwards confirming > that the DBD::Pg perl package was properly installed and then running > fixdeps again. > > > also I put /usr/pgsql-9.3/bin in my path so it could find pg_config > properly - in your case that would be /usr/pgsql-9.4/bin > > [root at rt4 ~]# which pg_config > /usr/bin/which: no pg_config in > (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin: > /usr/bin:/root/bin) > [root at rt4 ~]# locate pg_config > > [root at rt4 bin]# PATH=$PATH:/usr/pgsql-9.3/bin/ > [root at rt4 bin]# echo $PATH > /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/ > usr/bin:/root/bin:/usr/pgsql-9.3/bin/ > [root at rt4 bin]# which pg_config > /usr/pgsql-9.3/bin/pg_config > [root at rt4 bin]# cpanm DBD::Pg~1.43 > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LC_CTYPE = "iso_8859_1", > LANG = "C" > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > --> Working on DBD::Pg > Fetching http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.0.tar.gz > ... OK > Configuring DBD-Pg-3.5.0 ... OK > Building and testing DBD-Pg-3.5.0 ... OK > Successfully installed DBD-Pg-3.5.0 > 1 distribution installed > > > > Hope it helps > > Best, > Sidsel > >> >> >>> I can only find one pg_config on my system: >>> >>> /usr/pgsql-9.4/bin/pg_config >>> >>> I got my postgres from here: >>> >>> >>> http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.no >>> arch.rpm >>> >>> Is it possible I'm using the wrong version of Postgres (9.4.1) with >>> this version of RT (4.2.9)? >> >> Very unlikely, and that certainly isn't the cause of THIS error. >> > Thanks for all the tips, it allowed me to get it installed: setenforce 0 [root at rtdev etc]# getenforce Permissive I installed postgresql94-devel.x86_64 then ran make testdeps fix testdeps "Congratulations. RT is now installed." and it's not even Friday yet. Probably should set SELinux to Enforcing. Time for some additional tests. Thank you, Jonathan From jmurray at whoi.edu Wed Sep 16 13:19:47 2015 From: jmurray at whoi.edu (Jonathan Murray) Date: Wed, 16 Sep 2015 13:19:47 -0400 Subject: [rt-users] mysql>=2.1018 ...MISSING In-Reply-To: <55F9A413.6040802@whoi.edu> References: <55F9A413.6040802@whoi.edu> Message-ID: <55F9A4B3.1040604@whoi.edu> On 09/16/2015 01:17 PM, Jonathan Murray wrote: > On 09/16/2015 04:22 AM, Sidsel Jensen wrote: >> >> >> On 16/09/15 02:43, "Bill Cole" >> wrote: >> >>> On 15 Sep 2015, at 15:51, Jonathan Murray wrote: >>> >>> [...] >>>> >>>> It's a different error now, but some progress as it's not related to >>>> mysql. >>>> I'm using this as my configure: >>>> >>>> ./configure --with-web-user=apache --with-web-group=apache >>>> --enable-graphviz --enable-gd --with-db-type=Pg >>>> >>>> I'm assuming that "Pg" means postgres. (configure --help doesn't >>>> actually specify postgres, just Pg) >>>> >>>> then: >>>> >>>> make testdeps >>>> make fixdeps >>>> >>>> Configuring DBD::Pg 3.5.1 >>>> Path to pg_config? /usr/pgsql-9.4/bin/pg_config >>>> >>>> then I get this >>>> SOME DEPENDENCIES WERE MISSING. >>>> PG missing dependencies: >>>> DBD::Pg >= 1.43 ...MISSING >>>> >>>> Is it looking for postgres in a special location? >>> >>> No, as it says: it is failing to find the DBD::Pg perl module, version >>> 1.43 or greater. Why it isn't able to use the one that seems to have >>> been just configured (v3.5.1) is the key question. Perhaps something >>> about how you're running fixdeps is installing that module in a place >>> that testdeps can't find? Maybe you have SELinux enabled but the module >>> is being installed without a proper label? >>> >>> You can see in the Makefile that testdeps and fixdeps both run >>> sbin/rt-test-dependencies, and all it does to check for dependencies to >>> to see if a "use" statement for each module fails. >> >> If it?s failing under the run of fixdeps - I?ve had that error. >> >> I did: >> >> [root at rt4 rt-4.2.9]# cpanm DBD::Pg~1.43 >> perl: warning: Setting locale failed. >> perl: warning: Please check that your locale settings: >> LANGUAGE = (unset), >> LC_ALL = (unset), >> LC_CTYPE = "iso_8859_1", >> LANG = "C" >> are supported and installed on your system. >> perl: warning: Falling back to the standard locale ("C"). >> --> Working on DBD::Pg >> Fetching http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.0.tar.gz >> ... OK >> Configuring DBD-Pg-3.5.0 ... N/A >> ! Configure failed for DBD-Pg-3.5.0. See >> /root/.cpanm/work/1420992240.3990/build.log for details. >> Expiring 91 work directories. This might take a while... >> >> And in that build.log it said: >> No POSTGRES_HOME defined, cannot find automatically >> Configuring DBD::Pg 3.5.0 >> -> N/A >> -> FAIL Configure failed for DBD-Pg-3.5.0. See >> /root/.cpanm/work/1420992240.3990/build.log for details. >> Expiring 91 work directories. This might take a while... >> >> I solved it by installing the postgres-devel and postgres-contrib packages >> and then manually installing DBD::Pg via cpanminus afterwards confirming >> that the DBD::Pg perl package was properly installed and then running >> fixdeps again. >> >> >> also I put /usr/pgsql-9.3/bin in my path so it could find pg_config >> properly - in your case that would be /usr/pgsql-9.4/bin >> >> [root at rt4 ~]# which pg_config >> /usr/bin/which: no pg_config in >> (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin: >> /usr/bin:/root/bin) >> [root at rt4 ~]# locate pg_config >> >> [root at rt4 bin]# PATH=$PATH:/usr/pgsql-9.3/bin/ >> [root at rt4 bin]# echo $PATH >> /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/ >> usr/bin:/root/bin:/usr/pgsql-9.3/bin/ >> [root at rt4 bin]# which pg_config >> /usr/pgsql-9.3/bin/pg_config >> [root at rt4 bin]# cpanm DBD::Pg~1.43 >> perl: warning: Setting locale failed. >> perl: warning: Please check that your locale settings: >> LANGUAGE = (unset), >> LC_ALL = (unset), >> LC_CTYPE = "iso_8859_1", >> LANG = "C" >> are supported and installed on your system. >> perl: warning: Falling back to the standard locale ("C"). >> --> Working on DBD::Pg >> Fetching http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.5.0.tar.gz >> ... OK >> Configuring DBD-Pg-3.5.0 ... OK >> Building and testing DBD-Pg-3.5.0 ... OK >> Successfully installed DBD-Pg-3.5.0 >> 1 distribution installed >> >> >> >> Hope it helps >> >> Best, >> Sidsel >> >>> >>> >>>> I can only find one pg_config on my system: >>>> >>>> /usr/pgsql-9.4/bin/pg_config >>>> >>>> I got my postgres from here: >>>> >>>> >>>> http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.no >>>> arch.rpm >>>> >>>> Is it possible I'm using the wrong version of Postgres (9.4.1) with >>>> this version of RT (4.2.9)? >>> >>> Very unlikely, and that certainly isn't the cause of THIS error. >>> >> > > Thanks for all the tips, it allowed me to get it installed: > > setenforce 0 > > [root at rtdev etc]# getenforce > Permissive > > I installed > postgresql94-devel.x86_64 > > then ran > > make testdeps > fix testdeps > > "Congratulations. RT is now installed." and it's not even Friday yet. > > Probably should set SELinux to Enforcing. Time for some additional tests. > > Thank you, > > Jonathan > Actually, it was: make testdeps make fixdeps make testdeps make install From maik.nergert at uni-hamburg.de Thu Sep 17 08:12:27 2015 From: maik.nergert at uni-hamburg.de (Maik Nergert) Date: Thu, 17 Sep 2015 14:12:27 +0200 Subject: [rt-users] Migration from MySQL to PostreSQL - corrupt characters (german umlaut) Message-ID: <55FAAE2B.7030205@uni-hamburg.de> Hi RT Users, I'm testing the migration from MySQL to PostgreSQL and I'm experiencing problems with LATIN1 characters (particularly German umlauts) after the migration. They look like ?? instead ? Hexcode from ? ? c3 bc is encoded again to ? c3 83 (?) and c2 bc (?) (http://www.utf8-zeichentabelle.de/) First I've upgraded RT from 3.8 to 4.2 with mysql db (utf8) and everything went smoothly. New server with fresh installed RT, MySQL, Postgresql from package manager System (Debian Jessie) request-tracker: 4.2.8-3+deb8u1 mysql-server: 5.5.44-0+deb8u1 postresql: 9.4.4-0+deb8u1 apache: 2.4.10-10+deb8u3 php: 5.6.13+dfsg-0+deb8u1 Now I followed this tutorial to migrate the DB http://requesttracker.wikia.com/wiki/MigrateMysql2PostgresqlV4 The binary files, generated by rt-serializer --clone, include characters like ??? so I suppose that there is something going wrong while importing to Pg. 'rt-setup-database' creates the Pg DB as UTF8. postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges -----------+----------+-----------+---------+-------+----------------------- postgres | postgres | SQL_ASCII | C | C | rt4 | rt_user | UTF8 | C | C | template0 | postgres | SQL_ASCII | C | C | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | SQL_ASCII | C | C | =c/postgres + | | | | | postgres=CTc/postgres postgres=# show server_encoding; server_encoding ----------------- SQL_ASCII (1 row) postgres=# show client_encoding; client_encoding ----------------- UTF8 (1 row) rt4=# select subject from tickets where id=82527; subject ---------------------------------------------------------- Hardware pr??fen (1 row) Newly created tickets with umlauts are displayed correctly only the imported are corrupt! Switching the client_encoding via ?set client_encoding='LATIN1';? or directly in /etc/postgresql/9.4/main/postgresql.conf client_encoding = latin1 #(default would be the database encoding utf8) rt4=# set client_encoding='LATIN1'; SET rt4=# select subject from tickets where id=82527; subject ---------------------------------------------------------- Hardware pr?fen (1 row) Can someone help me to migrate the db with a full utf8 setup? Best, Maik -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5413 bytes Desc: S/MIME Cryptographic Signature URL: From ssn at ebi.ac.uk Thu Sep 17 10:05:42 2015 From: ssn at ebi.ac.uk (Sunny) Date: Thu, 17 Sep 2015 15:05:42 +0100 Subject: [rt-users] "localtime" without parentheses is ambiguous present in version 4.2.12 Message-ID: <55FAC8B6.3010602@ebi.ac.uk> Hi all, We upgraded RT from 4.2.8 to 4.2.12 The following warning appeared Warning: Use of "localtime" without parentheses is ambiguous at /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 526. This link below provided a solution for a user running version 4.2.11 http://requesttracker.8502.n7.nabble.com/RT-4-2-Use-of-quot-localtime-quot-without-parentheses-is-ambiguous-td60291.html#a60452 vi RT/Interface/Email.pm +526 print $fh "From $ENV{USER}\@localhost ".localtime."\n"; added parentheses after localtime print $fh "From $ENV{USER}\@localhost ".localtime*()*."\n"; This seems to have stopped the warning messages. Is this a bug that is in 4.2.11 and still in version 4.2.12? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From michiel.beijen at gmail.com Thu Sep 17 10:27:16 2015 From: michiel.beijen at gmail.com (Michiel Beijen) Date: Thu, 17 Sep 2015 16:27:16 +0200 Subject: [rt-users] "localtime" without parentheses is ambiguous present in version 4.2.12 In-Reply-To: <55FAC8B6.3010602@ebi.ac.uk> References: <55FAC8B6.3010602@ebi.ac.uk> Message-ID: Hi, On Thu, Sep 17, 2015 at 4:05 PM, Sunny wrote: > We upgraded RT from 4.2.8 to 4.2.12 > > The following warning appeared > > Warning: Use of "localtime" without parentheses is ambiguous at > /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 526. > > > This link below provided a solution for a user running version 4.2.11 > http://requesttracker.8502.n7.nabble.com/RT-4-2-Use-of-quot-localtime-quot-without-parentheses-is-ambiguous-td60291.html#a60452 > > vi RT/Interface/Email.pm +526 > print $fh "From $ENV{USER}\@localhost ".localtime."\n"; > > added parentheses after localtime > print $fh "From $ENV{USER}\@localhost ".localtime()."\n"; > > This seems to have stopped the warning messages. > > Is this a bug that is in 4.2.11 and still in version 4.2.12? The error is indeed part of in 4.2.11 and 4.2.12; it's fixed in 4.2-trunk though https://github.com/bestpractical/rt/commit/0cf3eb779a8ce2a26771bf9378ef44553ce2437c -- Michiel From kobus.bensch at trustpayglobal.com Thu Sep 17 12:27:43 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Thu, 17 Sep 2015 17:27:43 +0100 Subject: [rt-users] New ticket layout change Message-ID: <55FAE9FF.9050300@trustpayglobal.com> Hi I am in the process of creating an electronic change request system in RT. At the moment the layout is as follows: --------------------------------------------------------------------------------------------------------------------------------- | Create new ticket | Basics | Requestor | Queue | CC | Status | Admin CC | Owner | Subject |------------------------------------------- | Describe Issue |Assets | |------------------------------------------- | |Custom Fields | |CF1 | |cf2 | |cf3 | |cf4 | |cfr5 | |cf6 | |cf7 | |etc --------------------------------------------------------------------------------------------------------------------------------- How do I move the Custom field section to the left and across the whole page for this one queue if possible? How do I change the filed sizes for CF's on a per field basis? Thanks in advance. Kobus P.S. I have searched for the 2 queries. On the first found no answers. The second there are multiple answers, but I could not get any of them to work on a per field basis. Maybe just missing something. -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. From asanka_gunasekera at yahoo.co.uk Fri Sep 18 02:03:03 2015 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Fri, 18 Sep 2015 07:03:03 +0100 Subject: [rt-users] RT putes socket in to CLOSE_WAIT Message-ID: <1442556183.65803.YahooMailBasic@web171505.mail.ir2.yahoo.com> Hi All, I just got RT installed and below are the details OS - CentOS release 6.5 (Final) Apache - httpd-2.2.31 mod_perl - mod_perl-2.0.9 perl - perl-5.22.0 RT - rt-4.2.11 Once I log in to the system and click on some button, menu or any link I can see there is a new socket opend and the old one is put on CLOSE_WAIT state and this accumulates as below. tcp 1 0 x.x.x.x:80 y.y.y.y:58815 CLOSE_WAIT 26371/../bin/httpd Please let me know what information is required to find a solution for this and is this a bug in the new version with my combination of software versions Thanks and Best Regards From kobus.bensch at trustpayglobal.com Fri Sep 18 06:27:27 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Fri, 18 Sep 2015 11:27:27 +0100 Subject: [rt-users] New ticket layout change Message-ID: <55FBE70F.8070207@trustpayglobal.com> Hi I am in the process of creating an electronic change request system in RT. At the moment the layout is as follows: --------------------------------------------------------------------------------------------------------------------------------- | Create new ticket | Basics | Requestor | Queue | CC | Status | Admin CC | Owner | Subject |------------------------------------------- | Describe Issue |Assets | |------------------------------------------- | |Custom Fields | |CF1 | |cf2 | |cf3 | |cf4 | |cfr5 | |cf6 | |cf7 | |etc --------------------------------------------------------------------------------------------------------------------------------- How do I move the Custom field section to the left and across the whole page for this one queue if possible? How do I change the filed sizes for CF's on a per field basis? Thanks in advance. Kobus P.S. I have searched for the 2 queries. On the first found no answers. The second there are multiple answers, but I could not get any of them to work on a per field basis. Maybe just missing something. -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. From mzagrabe at d.umn.edu Fri Sep 18 10:58:51 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Fri, 18 Sep 2015 09:58:51 -0500 Subject: [rt-users] New ticket layout change In-Reply-To: <55FBE70F.8070207@trustpayglobal.com> References: <55FBE70F.8070207@trustpayglobal.com> Message-ID: On Fri, Sep 18, 2015 at 5:27 AM, Kobus Bensch wrote: > Hi > > I am in the process of creating an electronic change request system in RT. > At the moment the layout is as follows: > > --------------------------------------------------------------------------------------------------------------------------------- > | Create new ticket | Basics > | Requestor | Queue > | CC | Status > | Admin CC | Owner > | Subject |------------------------------------------- > | Describe Issue |Assets > | |------------------------------------------- > | |Custom Fields > | |CF1 > | |cf2 > | |cf3 > | |cf4 > | |cfr5 > | |cf6 > | |cf7 > | |etc > --------------------------------------------------------------------------------------------------------------------------------- > How do I move the Custom field section to the left and across the whole page > for this one queue if possible? JavaScript. I've not rearranged the page with JS, but I'd imagine it could be done. Good luck. > How do I change the filed sizes for CF's on a per field basis? JavaScript. I have done quite a bit of work with CFs via JS and there is some overhead to pay to get initially setup due to the JS needing to use the 'id' of the element. I'd be happy to write up what I've done, but let me know if you're serious about the undertaking - it'll probably take 10 or 20 minutes to write it up. Cheers, -m From todd at bestpractical.com Fri Sep 18 13:06:24 2015 From: todd at bestpractical.com (Todd Wade) Date: Fri, 18 Sep 2015 13:06:24 -0400 Subject: [rt-users] Migration from MySQL to PostreSQL - corrupt characters (german umlaut) In-Reply-To: <55FAAE2B.7030205@uni-hamburg.de> References: <55FAAE2B.7030205@uni-hamburg.de> Message-ID: <55FC4490.3000806@bestpractical.com> On 9/17/15 8:12 AM, Maik Nergert wrote: > Hexcode from ? ? c3 bc > is encoded again to ? c3 83 (?) and c2 bc (?) > (http://www.utf8-zeichentabelle.de/) > > > First I've upgraded RT from 3.8 to 4.2 with mysql db (utf8) and > everything went smoothly. Can you confirm that the umlaut can be sucessfully added to the database after the upgrade but before the postgres migration? I'm trying to determine if the issue happened during the upgrade or because of rt-serializer. From bparish at cognex.com Fri Sep 18 18:55:45 2015 From: bparish at cognex.com (Parish, Brent) Date: Fri, 18 Sep 2015 22:55:45 +0000 Subject: [rt-users] New ticket layout change In-Reply-To: References: <55FBE70F.8070207@trustpayglobal.com> Message-ID: <71aa59aa82ca4e8298c0d8e425a716b3@USNAEXCP1.pc.cognex.com> I suspect the JavaScript answer is probably the cleanest and most flexible way. In our environment, I have a number of departments that have all asked for their own (small) customizations for the SelfService Create Ticket page. First I copied the CreateTicketInQueue.html page into local/html/SelfService. Then I made a simple change to it: An 'if' statement that checks for the presence of an HTML file in the same SelfService directory, matching the queue name. If that HTML file is found, it will load that HTML file instead of the default 'Create.html' file. For example, If I have a queue named "Helpdesk" and a local/html/SelfService/Helpdesk.html file is found, RT loads that one. --- CreateTicketInQueue.html.orig 2015-06-19 22:46:35.970131253 -0400 +++ CreateTicketInQueue.html 2015-05-15 12:33:16.802273062 -0400 @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -47,16 +47,21 @@ %# END BPS TAGGED BLOCK }}} <& Elements/Header, Title => loc("Create a ticket") &> -

<&|/l&>Select a queue for your new ticket

+

<&|/l&>Please select a queue (department) for your new ticket

-
+ % while (my $queue = $queues->Next) { % next unless $queue->CurrentUserHasRight('CreateTicket'); -
<%$queue->Name%>
-
<%$queue->Description%>
+% my $QueueName = $queue->Name; +% if (-e "/opt/rt4/local/html/SelfService/$QueueName.html") { + +% } else { + % } - + +% } +
<%$queue->Name%>
<%$queue->Name%><%$queue->Description%>
<%init> my $queues = RT::Queues->new($session{'CurrentUser'}); $queues->UnLimit; Then within each of the queue name HTML files I customize which fields are available (Sometimes), change how they appear on the page, add 'help' text for some fields, etc. - Brent -----Original Message----- From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Matt Zagrabelny Sent: Friday, September 18, 2015 10:59 AM To: Kobus Bensch Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] New ticket layout change On Fri, Sep 18, 2015 at 5:27 AM, Kobus Bensch wrote: > Hi > > I am in the process of creating an electronic change request system in RT. > At the moment the layout is as follows: > > ---------------------------------------------------------------------- > ----------------------------------------------------------- > | Create new ticket | Basics > | Requestor | Queue > | CC | Status > | Admin CC | Owner > | Subject |------------------------------------------- > | Describe Issue |Assets > | |------------------------------------------- > | |Custom Fields > | |CF1 > | |cf2 > | |cf3 > | |cf4 > | |cfr5 > | |cf6 > | |cf7 > | |etc > ---------------------------------------------------------------------- > ----------------------------------------------------------- > How do I move the Custom field section to the left and across the > whole page for this one queue if possible? JavaScript. I've not rearranged the page with JS, but I'd imagine it could be done. Good luck. > How do I change the filed sizes for CF's on a per field basis? JavaScript. I have done quite a bit of work with CFs via JS and there is some overhead to pay to get initially setup due to the JS needing to use the 'id' of the element. I'd be happy to write up what I've done, but let me know if you're serious about the undertaking - it'll probably take 10 or 20 minutes to write it up. Cheers, -m From todd at bestpractical.com Fri Sep 18 22:45:40 2015 From: todd at bestpractical.com (Todd Wade) Date: Fri, 18 Sep 2015 22:45:40 -0400 Subject: [rt-users] RT Approvals In-Reply-To: <55F2DB72.9040901@trustpayglobal.com> References: <55F2DB72.9040901@trustpayglobal.com> Message-ID: <55FCCC54.4030305@bestpractical.com> On 9/11/15 9:47 AM, Kobus Bensch wrote: > I have setup approvals following this doc: > https://www.bestpractical.com/docs/rt/4.2.12/customizing/approvals.html. > > I would like to setup multiple approvers based on a value in a custom > field. Is this possible and if so can anybody point me in the right > direction or to a doc that I can read that will help me to achieve this? Note this section of the documentation: https://www.bestpractical.com/docs/rt/latest/customizing/approvals.html#Approvers Where it says: Requestors: {$Tickets{TOP}->RequestorAddresses} The content in the brackets is perl code. And it also talks about different ways you can assign to people or notify different groups. So combining that, you can put some code in for the AdminCcGroup: value (or whatever would fit your workflow) to programmatically determine who to send the approval to: AdminCcGroup: { $Tickets{TOP}->FirstCustomFieldValue('ApprovalGroup') } Regards, From gnemsid at gmx.com Sat Sep 19 13:16:48 2015 From: gnemsid at gmx.com (Gnemsid) Date: Sat, 19 Sep 2015 10:16:48 -0700 (MST) Subject: [rt-users] Custom Role in RT4.2.8 Message-ID: <1442683008840-60676.post@n7.nabble.com> Hi, I've had a look at the wiki and the documentation and from what I can tell it is possible to add custom roles to RT. Unfortunately I'm not sure where to start when it comes to creating them. I'm would like to add a custom role similar to Admin CC and CC where the person creating the call can add the correct users to the ticket. Each separate role will have different permissions thus allowing certain things to be seen and for emails to be sent out etc... I'm running 4.2.8 on a Debian Server G -- View this message in context: http://requesttracker.8502.n7.nabble.com/Custom-Role-in-RT4-2-8-tp60676.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From todd at bestpractical.com Sat Sep 19 14:07:08 2015 From: todd at bestpractical.com (Todd Wade) Date: Sat, 19 Sep 2015 14:07:08 -0400 Subject: [rt-users] Custom Role in RT4.2.8 In-Reply-To: <1442683008840-60676.post@n7.nabble.com> References: <1442683008840-60676.post@n7.nabble.com> Message-ID: <55FDA44C.8020700@bestpractical.com> On 9/19/15 1:16 PM, Gnemsid wrote: > I've had a look at the wiki and the documentation and from what I can tell > it is possible to add custom roles to RT. Unfortunately I'm not sure where > to start when it comes to creating them. > > I'm would like to add a custom role similar to Admin CC and CC where the > person creating the call can add the correct users to the ticket. Each > separate role will have different permissions thus allowing certain things > to be seen and for emails to be sent out etc... RT::Extension::Assets is a good example, it creates roles for accessing the catalogs and assets. From mzagrabe at d.umn.edu Sat Sep 19 14:13:00 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Sat, 19 Sep 2015 13:13:00 -0500 Subject: [rt-users] Custom Role in RT4.2.8 In-Reply-To: <1442683008840-60676.post@n7.nabble.com> References: <1442683008840-60676.post@n7.nabble.com> Message-ID: 4.4 should have custom roles. My employer is sponsoring the work. -m On Sat, Sep 19, 2015 at 12:16 PM, Gnemsid wrote: > Hi, > > I've had a look at the wiki and the documentation and from what I can tell > it is possible to add custom roles to RT. Unfortunately I'm not sure where > to start when it comes to creating them. > > I'm would like to add a custom role similar to Admin CC and CC where the > person creating the call can add the correct users to the ticket. Each > separate role will have different permissions thus allowing certain things > to be seen and for emails to be sent out etc... > > I'm running 4.2.8 on a Debian Server > > G > > > > -- > View this message in context: http://requesttracker.8502.n7.nabble.com/Custom-Role-in-RT4-2-8-tp60676.html > Sent from the Request Tracker - User mailing list archive at Nabble.com. From maik.nergert at uni-hamburg.de Mon Sep 21 03:54:19 2015 From: maik.nergert at uni-hamburg.de (Maik Nergert) Date: Mon, 21 Sep 2015 09:54:19 +0200 Subject: [rt-users] Migration from MySQL to PostreSQL - corrupt characters (german umlaut) In-Reply-To: <55FC4490.3000806@bestpractical.com> References: <55FAAE2B.7030205@uni-hamburg.de> <55FC4490.3000806@bestpractical.com> Message-ID: <55FFB7AB.6090202@uni-hamburg.de> RT 4.2.8 and MySQL: old and new tickets looks perfectly, also the serialized data seems to be ok. With locale LANG=en_US.UTF-8 ^^test ticket with umlaut ?^@^@^@^GSubject locale LANG=POSIX ^^test ticket with umlaut ^@^@^@^GSubject Maybe rt-importer or perl opens the binary files with wrong locales and while writing to the utf8 Pg DB all characters () are being re-encoded? I'm now testing to serialize mysql and import to mysql again. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5413 bytes Desc: S/MIME Cryptographic Signature URL: From asanka_gunasekera at yahoo.co.uk Mon Sep 21 06:39:35 2015 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Mon, 21 Sep 2015 11:39:35 +0100 Subject: [rt-users] Installing GD components Message-ID: <1442831975.66217.YahooMailBasic@web171502.mail.ir2.yahoo.com> Hi All, I am trying to install RT rt-4.2.12 on CentOS 6.5 (64 bit) configuration goes with out any issue but when I try to do a make testdeps it gives me below error SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD ...MISSING GD::Text ...MISSING and when I try to install GD components I am getting below error, can some one tell me how to overcome this situation. I am doing below to install GD perl -MCPAN -e'install "GD"' Error est Summary Report ------------------- t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) Failed tests: 1-9 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 9. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.05 sys + 0.12 cusr 0.06 csys = 0.28 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed. LDS/GD-2.56.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LDS/GD-2.56.tar.gz How can I over come above situation? Can I by pass force installation? Will there be any issue? Thanks and Best Regards Asanka From kobus.bensch at trustpayglobal.com Mon Sep 21 06:56:05 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Mon, 21 Sep 2015 11:56:05 +0100 Subject: [rt-users] Installing GD components In-Reply-To: <1442831975.66217.YahooMailBasic@web171502.mail.ir2.yahoo.com> References: <1442831975.66217.YahooMailBasic@web171502.mail.ir2.yahoo.com> Message-ID: <55FFE245.5070206@trustpayglobal.com> Paste some more error info. I had this error and the solution was in the detail. For me some GD system packages needed installing. On 21/09/2015 11:39, Asanka Gunasekera wrote: > Hi All, I am trying to install RT rt-4.2.12 on CentOS 6.5 (64 bit) configuration goes with out any issue but when I try to do a make testdeps it gives me below error > > SOME DEPENDENCIES WERE MISSING. > GD missing dependencies: > GD::Graph >= 1.47 ...MISSING > GD ...MISSING > GD::Text ...MISSING > > and when I try to install GD components I am getting below error, can some one tell me how to overcome this situation. I am doing below to install GD > > perl -MCPAN -e'install "GD"' > > Error > > est Summary Report > ------------------- > t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) > Failed tests: 1-9 > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 11 tests but ran 9. > t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 1 tests but ran 0. > Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.05 sys + 0.12 cusr 0.06 csys = 0.28 CPU) > Result: FAIL > Failed 2/2 test programs. 9/9 subtests failed. > LDS/GD-2.56.tar.gz > ./Build test -- NOT OK > //hint// to see the cpan-testers results for installing this module, try: > reports LDS/GD-2.56.tar.gz > > How can I over come above situation? > Can I by pass force installation? > Will there be any issue? > > Thanks and Best Regards > > Asanka -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI: 0207 871 3958 Tel: 0207 871 3890 Email: kobus.bensch at trustpayglobal.com -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TrustPayGlobal_email_footer.png Type: image/png Size: 8901 bytes Desc: not available URL: From asanka_gunasekera at yahoo.co.uk Mon Sep 21 07:03:40 2015 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Mon, 21 Sep 2015 12:03:40 +0100 Subject: [rt-users] Installing GD components In-Reply-To: <55FFE245.5070206@trustpayglobal.com> Message-ID: <1442833420.3424.YahooMailBasic@web171501.mail.ir2.yahoo.com> Hi Kobus, thanks for the reply I have installed some packages regarding to gd-devel, zlib.x86_64, zlib, freetype.x86_64, libgd and gdlib-config and below is the full output [root at rt rt-4.2.12]# make testdeps /usr/local/bin/perl ./sbin/rt-test-dependencies --verbose --with-Oracle --with-fastcgi perl: >=5.10.1(5.22.0) ...found users: rt group (apache) ...found bin owner (root) ...found libs owner (root) ...found libs group (bin) ...found web owner (apache) ...found web group (apache) ...found CLI dependencies: HTTP::Request::Common ...found Text::ParseWords ...found LWP ...found Term::ReadLine ...found Getopt::Long >= 2.24 ...found Term::ReadKey ...found CORE dependencies: CGI >= 4 ...found HTML::Quoted ...found Log::Dispatch >= 2.30 ...found DateTime::Format::Natural >= 0.67 ...found Digest::base ...found File::Spec >= 0.8 ...found Email::Address::List >= 0.02 ...found Plack::Handler::Starlet ...found DBI >= 1.37 ...found Text::WikiFormat >= 0.76 ...found MIME::Entity >= 5.504 ...found Devel::GlobalDestruction ...found Digest::SHA ...found Regexp::Common ...found Text::Wrapper ...found Date::Extract >= 0.02 ...found Class::Accessor::Fast ...found LWP::Simple ...found HTML::RewriteAttributes >= 0.05 ...found Locale::Maketext >= 1.06 ...found Errno ...found Symbol::Global::Name >= 0.05 ...found Storable >= 2.08 ...found File::Glob ...found File::Temp >= 0.19 ...found Text::Password::Pronounceable ...found DBIx::SearchBuilder >= 1.65 ...found Net::CIDR ...found HTML::Mason >= 1.43 ...found Scalar::Util ...found Mail::Mailer >= 1.57 ...found DateTime::Locale >= 0.40 ...found Devel::StackTrace >= 1.19 ...found Crypt::Eksblowfish ...found CSS::Squish >= 0.06 ...found IPC::Run3 ...found Digest::MD5 >= 2.27 ...found Data::GUID ...found Sys::Syslog >= 0.16 ...found CGI::Emulate::PSGI ...found Regexp::IPv6 ...found CGI::PSGI >= 0.12 ...found UNIVERSAL::require ...found Module::Versions::Report >= 1.05 ...found HTTP::Message >= 6.0 ...found Apache::Session >= 1.53 ...found HTML::Scrubber >= 0.08 ...found Mail::Header >= 2.12 ...found Text::Template >= 1.44 ...found CGI::Cookie >= 1.20 ...found Locale::Maketext::Fuzzy >= 0.11 ...found Plack >= 1.0002 ...found Time::HiRes ...found HTML::FormatText::WithLinks >= 0.14 ...found HTML::FormatText::WithLinks::AndTables ...found HTML::Mason::PSGIHandler >= 0.52 ...found Email::Address >= 1.897 ...found Tree::Simple >= 1.04 ...found List::MoreUtils ...found HTML::Entities ...found File::ShareDir ...found Locale::Maketext::Lexicon >= 0.32 ...found DateTime >= 0.44 ...found Role::Basic >= 0.12 ...found Time::ParseDate ...found Regexp::Common::net::CIDR ...found Encode >= 2.64 ...found Date::Manip ...found Module::Refresh >= 0.03 ...found JSON ...found Text::Quoted >= 2.07 ...found XML::RSS >= 1.05 ...found DASHBOARDS dependencies: URI::QueryParam ...found MIME::Types ...found URI >= 1.59 ...found FASTCGI dependencies: FCGI::ProcManager ...found FCGI >= 0.74 ...found GD dependencies: GD::Text ...MISSING GD::Graph >= 1.47 ...MISSING GD ...MISSING GPG dependencies: File::Which ...found GnuPG::Interface ...found PerlIO::eol ...found GRAPHVIZ dependencies: GraphViz ...found IPC::Run >= 0.90 ...found ICAL dependencies: Data::ICal ...found MAILGATE dependencies: Net::SSL ...found Mozilla::CA ...found Getopt::Long ...found Crypt::SSLeay ...found LWP::UserAgent >= 6.0 ...found Pod::Usage ...found LWP::Protocol::https ...found ORACLE dependencies: DBD::Oracle ...found SMIME dependencies: Crypt::X509 ...found File::Which ...found String::ShellQuote ...found USERLOGO dependencies: Convert::Color ...found SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD::Text ...MISSING GD ...MISSING Perl library path for /usr/local/bin/perl: /usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.22.0 /usr/local/lib/perl5/5.22.0/x86_64-linux /usr/local/lib/perl5/5.22.0 . make: *** [testdeps] Error 1 [root at rt rt-4.2.12]# Thanks and Regards -------------------------------------------- On Mon, 21/9/15, Kobus Bensch wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com Date: Monday, 21 September, 2015, 16:56 Paste some more error info. I had this error and the solution was in the detail. For me some GD system packages needed installing. On 21/09/2015 11:39, Asanka Gunasekera wrote: Hi All, I am trying to install RT rt-4.2.12 on CentOS 6.5 (64 bit) configuration goes with out any issue but when I try to do a make testdeps it gives me below error SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD ...MISSING GD::Text ...MISSING and when I try to install GD components I am getting below error, can some one tell me how to overcome this situation. I am doing below to install GD perl -MCPAN -e'install "GD"' Error est Summary Report ------------------- t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) Failed tests: 1-9 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 9. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.05 sys + 0.12 cusr 0.06 csys = 0.28 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed. LDS/GD-2.56.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LDS/GD-2.56.tar.gz How can I over come above situation? Can I by pass force installation? Will there be any issue? Thanks and Best Regards Asanka -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address:??22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI:??0207 871 3958 Tel:??0207 871 3890 Email:??kobus.bensch at trustpayglobal.com Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. From steveh at brendata.co.uk Mon Sep 21 07:00:00 2015 From: steveh at brendata.co.uk (Steve Hanselman) Date: Mon, 21 Sep 2015 12:00:00 +0100 Subject: [rt-users] (no subject) Message-ID: <6B8895CA39846F4DB78FAE7979D9D77E010648A8@prodntsc2.brendata> Unsubscribe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: SpamAssassinReport.txt URL: From asanka_gunasekera at yahoo.co.uk Mon Sep 21 07:09:23 2015 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Mon, 21 Sep 2015 12:09:23 +0100 Subject: [rt-users] Installing GD components In-Reply-To: <1442833420.3424.YahooMailBasic@web171501.mail.ir2.yahoo.com> Message-ID: <1442833763.37862.YahooMailBasic@web171504.mail.ir2.yahoo.com> Hi Kobus, I can see GD.so under /usr/lib64/perl5/auto/GD/GD.so after using yum to install the GD module. Why is compiler unable to file this GD.so? And compiler only look in to the directories Perl library path for /usr/local/bin/perl: /usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.22.0 /usr/local/lib/perl5/5.22.0/x86_64-linux /usr/local/lib/perl5/5.22.0 Do I need to link or do some sort of registration Thanks and Regards -------------------------------------------- On Mon, 21/9/15, Asanka Gunasekera wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com, "Kobus Bensch" Date: Monday, 21 September, 2015, 17:03 Hi Kobus, thanks for the reply I have installed some packages regarding to gd-devel, zlib.x86_64, zlib, freetype.x86_64, libgd and gdlib-config and below is the full output [root at rt rt-4.2.12]# make testdeps /usr/local/bin/perl ./sbin/rt-test-dependencies --verbose --with-Oracle --with-fastcgi perl: ? ? ? ? >=5.10.1(5.22.0) ...found users: ? ? ? ? rt group (apache) ...found ? ? ? ? bin owner (root) ...found ? ? ? ? libs owner (root) ...found ? ? ? ? libs group (bin) ...found ? ? ? ? web owner (apache) ...found ? ? ? ? web group (apache) ...found CLI dependencies: ? ? ? ? HTTP::Request::Common ...found ? ? ? ? Text::ParseWords ...found ? ? ? ? LWP ...found ? ? ? ? Term::ReadLine ...found ? ? ? ? Getopt::Long >= 2.24 ...found ? ? ? ? Term::ReadKey ...found CORE dependencies: ? ? ? ? CGI >= 4 ...found ? ? ? ? HTML::Quoted ...found ? ? ? ? Log::Dispatch >= 2.30 ...found ? ? ? ? DateTime::Format::Natural >= 0.67 ...found ? ? ? ? Digest::base ...found ? ? ? ? File::Spec >= 0.8 ...found ? ? ? ? Email::Address::List >= 0.02 ...found ? ? ? ? Plack::Handler::Starlet ...found ? ? ? ? DBI >= 1.37 ...found ? ? ? ? Text::WikiFormat >= 0.76 ...found ? ? ? ? MIME::Entity >= 5.504 ...found ? ? ? ? Devel::GlobalDestruction ...found ? ? ? ? Digest::SHA ...found ? ? ? ? Regexp::Common ...found ? ? ? ? Text::Wrapper ...found ? ? ? ? Date::Extract >= 0.02 ...found ? ? ? ? Class::Accessor::Fast ...found ? ? ? ? LWP::Simple ...found ? ? ? ? HTML::RewriteAttributes >= 0.05 ...found ? ? ? ? Locale::Maketext >= 1.06 ...found ? ? ? ? Errno ...found ? ? ? ? Symbol::Global::Name >= 0.05 ...found ? ? ? ? Storable >= 2.08 ...found ? ? ? ? File::Glob ...found ? ? ? ? File::Temp >= 0.19 ...found ? ? ? ? Text::Password::Pronounceable ...found ? ? ? ? DBIx::SearchBuilder >= 1.65 ...found ? ? ? ? Net::CIDR ...found ? ? ? ? HTML::Mason >= 1.43 ...found ? ? ? ? Scalar::Util ...found ? ? ? ? Mail::Mailer >= 1.57 ...found ? ? ? ? DateTime::Locale >= 0.40 ...found ? ? ? ? Devel::StackTrace >= 1.19 ...found ? ? ? ? Crypt::Eksblowfish ...found ? ? ? ? CSS::Squish >= 0.06 ...found ? ? ? ? IPC::Run3 ...found ? ? ? ? Digest::MD5 >= 2.27 ...found ? ? ? ? Data::GUID ...found ? ? ? ? Sys::Syslog >= 0.16 ...found ? ? ? ? CGI::Emulate::PSGI ...found ? ? ? ? Regexp::IPv6 ...found ? ? ? ? CGI::PSGI >= 0.12 ...found ? ? ? ? UNIVERSAL::require ...found ? ? ? ? Module::Versions::Report >= 1.05 ...found ? ? ? ? HTTP::Message >= 6.0 ...found ? ? ? ? Apache::Session >= 1.53 ...found ? ? ? ? HTML::Scrubber >= 0.08 ...found ? ? ? ? Mail::Header >= 2.12 ...found ? ? ? ? Text::Template >= 1.44 ...found ? ? ? ? CGI::Cookie >= 1.20 ...found ? ? ? ? Locale::Maketext::Fuzzy >= 0.11 ...found ? ? ? ? Plack >= 1.0002 ...found ? ? ? ? Time::HiRes ...found ? ? ? ? HTML::FormatText::WithLinks >= 0.14 ...found ? ? ? ? HTML::FormatText::WithLinks::AndTables ...found ? ? ? ? HTML::Mason::PSGIHandler >= 0.52 ...found ? ? ? ? Email::Address >= 1.897 ...found ? ? ? ? Tree::Simple >= 1.04 ...found ? ? ? ? List::MoreUtils ...found ? ? ? ? HTML::Entities ...found ? ? ? ? File::ShareDir ...found ? ? ? ? Locale::Maketext::Lexicon >= 0.32 ...found ? ? ? ? DateTime >= 0.44 ...found ? ? ? ? Role::Basic >= 0.12 ...found ? ? ? ? Time::ParseDate ...found ? ? ? ? Regexp::Common::net::CIDR ...found ? ? ? ? Encode >= 2.64 ...found ? ? ? ? Date::Manip ...found ? ? ? ? Module::Refresh >= 0.03 ...found ? ? ? ? JSON ...found ? ? ? ? Text::Quoted >= 2.07 ...found ? ? ? ? XML::RSS >= 1.05 ...found DASHBOARDS dependencies: ? ? ? ? URI::QueryParam ...found ? ? ? ? MIME::Types ...found ? ? ? ? URI >= 1.59 ...found FASTCGI dependencies: ? ? ? ? FCGI::ProcManager ...found ? ? ? ? FCGI >= 0.74 ...found GD dependencies: ? ? ? ? GD::Text ...MISSING ? ? ? ? GD::Graph >= 1.47 ...MISSING ? ? ? ? GD ...MISSING GPG dependencies: ? ? ? ? File::Which ...found ? ? ? ? GnuPG::Interface ...found ? ? ? ? PerlIO::eol ...found GRAPHVIZ dependencies: ? ? ? ? GraphViz ...found ? ? ? ? IPC::Run >= 0.90 ...found ICAL dependencies: ? ? ? ? Data::ICal ...found MAILGATE dependencies: ? ? ? ? Net::SSL ...found ? ? ? ? Mozilla::CA ...found ? ? ? ? Getopt::Long ...found ? ? ? ? Crypt::SSLeay ...found ? ? ? ? LWP::UserAgent >= 6.0 ...found ? ? ? ? Pod::Usage ...found ? ? ? ? LWP::Protocol::https ...found ORACLE dependencies: ? ? ? ? DBD::Oracle ...found SMIME dependencies: ? ? ? ? Crypt::X509 ...found ? ? ? ? File::Which ...found ? ? ? ? String::ShellQuote ...found USERLOGO dependencies: ? ? ? ? Convert::Color ...found SOME DEPENDENCIES WERE MISSING. GD missing dependencies: ? ? ? ? GD::Graph >= 1.47 ...MISSING ? ? ? ? GD::Text ...MISSING ? ? ? ? GD ...MISSING Perl library path for /usr/local/bin/perl: ? ? /usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux ? ? /usr/local/lib/perl5/site_perl/5.22.0 ? ? /usr/local/lib/perl5/5.22.0/x86_64-linux ? ? /usr/local/lib/perl5/5.22.0 ? ? . make: *** [testdeps] Error 1 [root at rt rt-4.2.12]# Thanks and Regards -------------------------------------------- On Mon, 21/9/15, Kobus Bensch wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com Date: Monday, 21 September, 2015, 16:56 ? ???Paste some more error info. I had this error and the solution was in ? ???the detail. For me some GD system packages needed installing. ? ??? ? ???On 21/09/2015 11:39, Asanka Gunasekera ? ? ???wrote: ? ??? ? ??? ? ? ???Hi All, I am trying to install RT rt-4.2.12 on CentOS 6.5 (64 bit)? configuration goes with out any issue but when I try to do a make testdeps it gives me below error SOME DEPENDENCIES WERE MISSING. GD missing dependencies: ? ? ? ???GD::Graph >= 1.47 ...MISSING ? ? ? ???GD ...MISSING ? ? ? ???GD::Text ...MISSING and when I try to install GD components I am getting below error, can some one tell me how to overcome this situation. I am doing below to install GD perl -MCPAN -e'install "GD"' Error est Summary Report ------------------- t/GD.t? ? ? (Wstat: 65280 Tests: 9 Failed: 9) ???Failed tests:? 1-9 ???Non-zero exit status: 255 ???Parse errors: Bad plan.? You planned 11 tests but ran 9. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) ???Non-zero exit status: 2 ???Parse errors: Bad plan.? You planned 1 tests but ran 0. Files=2, Tests=9,? 0 wallclock secs ( 0.05 usr? 0.05 sys + 0.12 cusr? 0.06 csys =? 0.28 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed. ???LDS/GD-2.56.tar.gz ???./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: ???reports LDS/GD-2.56.tar.gz How can I over come above situation? Can I by pass force installation? Will there be any issue? Thanks and Best Regards Asanka ? ??? ? ??? ? ???-- ? ? ???Kobus Bensch Trustpay Global LTD email signature ? ? ???Kobus Bensch ? ? ???Senior Systems Administrator ? ? ???Address:??22 & 24 | Frederick Sanger Road | Guildford | Surrey ? ? ???| GU2 7YD ? ? ???DDI:??0207 871 3958 ? ? ???Tel:??0207 871 3890 ? ? ???Email:??kobus.bensch at trustpayglobal.com ? ? ??? ? ??? ??? Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. From kobus.bensch at trustpayglobal.com Mon Sep 21 07:09:26 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Mon, 21 Sep 2015 12:09:26 +0100 Subject: [rt-users] Installing GD components In-Reply-To: <1442833420.3424.YahooMailBasic@web171501.mail.ir2.yahoo.com> References: <1442833420.3424.YahooMailBasic@web171501.mail.ir2.yahoo.com> Message-ID: <55FFE566.50406@trustpayglobal.com> What happens when you try to install the module manually using CPAN? Whats the output from that? On 21/09/2015 12:03, Asanka Gunasekera wrote: > Hi Kobus, thanks for the reply I have installed some packages regarding to gd-devel, zlib.x86_64, zlib, freetype.x86_64, libgd and gdlib-config and below is the full output > > [root at rt rt-4.2.12]# make testdeps > /usr/local/bin/perl ./sbin/rt-test-dependencies --verbose --with-Oracle --with-fastcgi > perl: > >=5.10.1(5.22.0) ...found > users: > rt group (apache) ...found > bin owner (root) ...found > libs owner (root) ...found > libs group (bin) ...found > web owner (apache) ...found > web group (apache) ...found > CLI dependencies: > HTTP::Request::Common ...found > Text::ParseWords ...found > LWP ...found > Term::ReadLine ...found > Getopt::Long >= 2.24 ...found > Term::ReadKey ...found > CORE dependencies: > CGI >= 4 ...found > HTML::Quoted ...found > Log::Dispatch >= 2.30 ...found > DateTime::Format::Natural >= 0.67 ...found > Digest::base ...found > File::Spec >= 0.8 ...found > Email::Address::List >= 0.02 ...found > Plack::Handler::Starlet ...found > DBI >= 1.37 ...found > Text::WikiFormat >= 0.76 ...found > MIME::Entity >= 5.504 ...found > Devel::GlobalDestruction ...found > Digest::SHA ...found > Regexp::Common ...found > Text::Wrapper ...found > Date::Extract >= 0.02 ...found > Class::Accessor::Fast ...found > LWP::Simple ...found > HTML::RewriteAttributes >= 0.05 ...found > Locale::Maketext >= 1.06 ...found > Errno ...found > Symbol::Global::Name >= 0.05 ...found > Storable >= 2.08 ...found > File::Glob ...found > File::Temp >= 0.19 ...found > Text::Password::Pronounceable ...found > DBIx::SearchBuilder >= 1.65 ...found > Net::CIDR ...found > HTML::Mason >= 1.43 ...found > Scalar::Util ...found > Mail::Mailer >= 1.57 ...found > DateTime::Locale >= 0.40 ...found > Devel::StackTrace >= 1.19 ...found > Crypt::Eksblowfish ...found > CSS::Squish >= 0.06 ...found > IPC::Run3 ...found > Digest::MD5 >= 2.27 ...found > Data::GUID ...found > Sys::Syslog >= 0.16 ...found > CGI::Emulate::PSGI ...found > Regexp::IPv6 ...found > CGI::PSGI >= 0.12 ...found > UNIVERSAL::require ...found > Module::Versions::Report >= 1.05 ...found > HTTP::Message >= 6.0 ...found > Apache::Session >= 1.53 ...found > HTML::Scrubber >= 0.08 ...found > Mail::Header >= 2.12 ...found > Text::Template >= 1.44 ...found > CGI::Cookie >= 1.20 ...found > Locale::Maketext::Fuzzy >= 0.11 ...found > Plack >= 1.0002 ...found > Time::HiRes ...found > HTML::FormatText::WithLinks >= 0.14 ...found > HTML::FormatText::WithLinks::AndTables ...found > HTML::Mason::PSGIHandler >= 0.52 ...found > Email::Address >= 1.897 ...found > Tree::Simple >= 1.04 ...found > List::MoreUtils ...found > HTML::Entities ...found > File::ShareDir ...found > Locale::Maketext::Lexicon >= 0.32 ...found > DateTime >= 0.44 ...found > Role::Basic >= 0.12 ...found > Time::ParseDate ...found > Regexp::Common::net::CIDR ...found > Encode >= 2.64 ...found > Date::Manip ...found > Module::Refresh >= 0.03 ...found > JSON ...found > Text::Quoted >= 2.07 ...found > XML::RSS >= 1.05 ...found > DASHBOARDS dependencies: > URI::QueryParam ...found > MIME::Types ...found > URI >= 1.59 ...found > FASTCGI dependencies: > FCGI::ProcManager ...found > FCGI >= 0.74 ...found > GD dependencies: > GD::Text ...MISSING > GD::Graph >= 1.47 ...MISSING > GD ...MISSING > GPG dependencies: > File::Which ...found > GnuPG::Interface ...found > PerlIO::eol ...found > GRAPHVIZ dependencies: > GraphViz ...found > IPC::Run >= 0.90 ...found > ICAL dependencies: > Data::ICal ...found > MAILGATE dependencies: > Net::SSL ...found > Mozilla::CA ...found > Getopt::Long ...found > Crypt::SSLeay ...found > LWP::UserAgent >= 6.0 ...found > Pod::Usage ...found > LWP::Protocol::https ...found > ORACLE dependencies: > DBD::Oracle ...found > SMIME dependencies: > Crypt::X509 ...found > File::Which ...found > String::ShellQuote ...found > USERLOGO dependencies: > Convert::Color ...found > > SOME DEPENDENCIES WERE MISSING. > GD missing dependencies: > GD::Graph >= 1.47 ...MISSING > GD::Text ...MISSING > GD ...MISSING > > Perl library path for /usr/local/bin/perl: > /usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux > /usr/local/lib/perl5/site_perl/5.22.0 > /usr/local/lib/perl5/5.22.0/x86_64-linux > /usr/local/lib/perl5/5.22.0 > . > make: *** [testdeps] Error 1 > [root at rt rt-4.2.12]# > > Thanks and Regards > > -------------------------------------------- > On Mon, 21/9/15, Kobus Bensch wrote: > > Subject: Re: [rt-users] Installing GD components > To: rt-users at lists.bestpractical.com > Date: Monday, 21 September, 2015, 16:56 > > > Paste some more error info. I had this error and the > solution was in > the detail. For me some GD system packages needed > installing. > > > > On 21/09/2015 11:39, > Asanka Gunasekera > wrote: > > > > Hi All, I am trying to install RT rt-4.2.12 on > CentOS 6.5 (64 bit) configuration goes with out any issue > but when I try to do a make testdeps it gives me below error > > SOME DEPENDENCIES WERE MISSING. > GD missing dependencies: > GD::Graph >= 1.47 ...MISSING > GD ...MISSING > GD::Text ...MISSING > > and when I try to install GD components I am getting below > error, can some one tell me how to overcome this situation. > I am doing below to install GD > > perl -MCPAN -e'install "GD"' > > Error > > est Summary Report > ------------------- > t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) > Failed tests: 1-9 > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 11 tests but ran 9. > t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 1 tests but ran 0. > Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.05 sys + > 0.12 cusr 0.06 csys = 0.28 CPU) > Result: FAIL > Failed 2/2 test programs. 9/9 subtests failed. > LDS/GD-2.56.tar.gz > ./Build test -- NOT OK > //hint// to see the cpan-testers results for installing this > module, try: > reports LDS/GD-2.56.tar.gz > > How can I over come above situation? > Can I by pass force installation? > Will there be any issue? > > Thanks and Best Regards > > Asanka > > > > > -- > > Kobus Bensch Trustpay Global > LTD email signature > Kobus Bensch > > Senior Systems Administrator > > Address: 22 & 24 | Frederick Sanger Road | > Guildford | Surrey > | GU2 7YD > > DDI: 0207 871 3958 > > Tel: 0207 871 3890 > > Email: kobus.bensch at trustpayglobal.com > > > > > > Trustpay Global Limited is an > authorised Electronic Money Institution regulated by the > Financial Conduct Authority registration number 900043. > Company No 07427913 Registered in England and Wales with > registered address 130 Wood Street, London, EC2V 6DL, United > Kingdom.For further details please visit our > website at www.trustpayglobal.com.The information in this email and > any attachments are confidential and remain the property of > Trustpay Global Ltd unless agreed by contract. It is > intended solely for the person to whom or the entity to > which it is addressed. If you are not the intended recipient > you may not use, disclose, copy, distribute, print or rely > on the content of this email or its attachments. If this > email has been received by you in error please advise the > sender and delete the email from your system. Trustpay > Global Ltd does not accept any liability for any personal > view expressed in this > message. -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI: 0207 871 3958 Tel: 0207 871 3890 Email: kobus.bensch at trustpayglobal.com -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TrustPayGlobal_email_footer.png Type: image/png Size: 8901 bytes Desc: not available URL: From Albert.Shih at obspm.fr Mon Sep 21 08:41:20 2015 From: Albert.Shih at obspm.fr (Albert Shih) Date: Mon, 21 Sep 2015 14:41:20 +0200 Subject: [rt-users] How manage error message from stmp Message-ID: <20150921124115.GA43745@pcjas.obspm.fr> Hi, When someone add a CC (at creation, of after) and this person make a mistake the address is wrong how can I known that (or the person). For example : When a ticket was create with Cc: first_address, second_wrong_address the smtp server going to send back a error message about ??second_wrong_address ?, this message is for www at rt_server but www at rt_server is a black_hole. So no one going to known ?second_wrong_address??never going to received anything. How you manage this problem ? Regards JAS -- Albert SHIH DIO b?timent 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France T?l?phone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas at obspm.fr Heure local/Local time: lun 21 sep 2015 14:38:40 CEST From allen.joslin at gmail.com Mon Sep 21 10:11:03 2015 From: allen.joslin at gmail.com (Al Joslin) Date: Mon, 21 Sep 2015 10:11:03 -0400 Subject: [rt-users] Help! I can have Full Text -or- Subject from the Simple Search box, but not both? Message-ID: <367CCFB8-ACA5-4FFA-B2B3-9FA8385DB0C7@gmail.com> I am running 4.2.11 I have install mariadb 10.0 I have enabled native mySQL full text search It works fine - EXCEPT: it seems that I can have Full Text -or- Subject from the Simple Search box, but not both? If I disable the full text from the RT_Site_config then the simple search box searches subjects but not attachments If I enable the full text from the RT_Site_config then the simple search box searches attachments but not subjects I don?t know how to proceed, this is not going to go over well? I also have a custom field my users insisted on that will carry text ? can I index and search more than one table (attachments) ? thanks al; From maik.nergert at uni-hamburg.de Mon Sep 21 10:22:44 2015 From: maik.nergert at uni-hamburg.de (Maik Nergert) Date: Mon, 21 Sep 2015 16:22:44 +0200 Subject: [rt-users] Migration from MySQL to PostreSQL - corrupt characters (german umlaut) In-Reply-To: <55FFB7AB.6090202@uni-hamburg.de> References: <55FAAE2B.7030205@uni-hamburg.de> <55FC4490.3000806@bestpractical.com> <55FFB7AB.6090202@uni-hamburg.de> Message-ID: <560012B4.2060801@uni-hamburg.de> > I'm now testing to serialize mysql and import to mysql again. This is working, so it's a problem with Pg -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5413 bytes Desc: S/MIME Cryptographic Signature URL: From asanka_gunasekera at yahoo.co.uk Mon Sep 21 11:44:50 2015 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Mon, 21 Sep 2015 16:44:50 +0100 Subject: [rt-users] Installing GD components In-Reply-To: <55FFE566.50406@trustpayglobal.com> Message-ID: <1442850290.86399.YahooMailBasic@web171501.mail.ir2.yahoo.com> Hi Kobus below is the output [root at rt rt-4.2.12]# perl -MCPAN -e'install "GD"' Reading '/root/.cpan/Metadata' Database was generated on Mon, 21 Sep 2015 03:53:40 GMT Running install for module 'GD' Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL Configuring for libgd version 2.0.34. Checking for stray libgd header files...none found. Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33 GD library used from: /usr Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'GD' version '2.56' LDS/GD-2.56.tar.gz /usr/local/bin/perl Build.PL -- OK Running Build for L/LD/LDS/GD-2.56.tar.gz Building GD Extracting Image.pm (with variable substitutions) cc -I/usr/include -I/usr/local/lib/perl5/5.22.0/x86_64-linux/CORE -DVERSION="2.56" -DXS_VERSION="2.56" -fPIC -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE -c -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -fPIC -fPIC -O2 -o lib/GD.o lib/GD.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/GD/GD.bs') cc -shared -O2 -L/usr/local/lib -fstack-protector -o blib/arch/auto/GD/GD.so lib/GD.o -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -lgd LDS/GD-2.56.tar.gz ./Build -- OK Running Build test t/GD.t ........ 1/11 # Failed test 'use GD;' # at t/GD.t line 14. # Tried to use 'GD'. # Error: Can't load '/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. # at t/GD.t line 14. # Compilation failed in require at t/GD.t line 14. # BEGIN failed--compilation aborted at t/GD.t line 14. # Failed test 'use GD::Simple;' # at t/GD.t line 15. # Tried to use 'GD::Simple'. # Error: Attempt to reload GD.pm aborted. # Compilation failed in require at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160. # BEGIN failed--compilation aborted at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160. # Compilation failed in require at t/GD.t line 15. # BEGIN failed--compilation aborted at t/GD.t line 15. # Testing using gd2 support. # Failed test 'unable to generate comparison image for test 1: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 2: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 3: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 4: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 5: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 6: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 7: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # Looks like you planned 11 tests but ran 9. # Looks like you failed 9 tests of 9 run. # Looks like your test exited with 255 just after 9. t/GD.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/11 subtests t/Polyline.t .. Can't load '/root/.cpan/build/GD-2.56-1_9WTm/blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. Compilation failed in require at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. BEGIN failed--compilation aborted at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. Compilation failed in require at t/Polyline.t line 10. BEGIN failed--compilation aborted at t/Polyline.t line 10. t/Polyline.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests Test Summary Report ------------------- t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) Failed tests: 1-9 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 9. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.04 sys + 0.14 cusr 0.04 csys = 0.27 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed. LDS/GD-2.56.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LDS/GD-2.56.tar.gz [root at rt rt-4.2.12]# Thanks and Regards -------------------------------------------- On Mon, 21/9/15, Kobus Bensch wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com Date: Monday, 21 September, 2015, 17:09 What happens when you try to install the module manually using CPAN? Whats the output from that? On 21/09/2015 12:03, Asanka Gunasekera wrote: Hi Kobus, thanks for the reply I have installed some packages regarding to gd-devel, zlib.x86_64, zlib, freetype.x86_64, libgd and gdlib-config and below is the full output [root at rt rt-4.2.12]# make testdeps /usr/local/bin/perl ./sbin/rt-test-dependencies --verbose --with-Oracle --with-fastcgi perl: >=5.10.1(5.22.0) ...found users: rt group (apache) ...found bin owner (root) ...found libs owner (root) ...found libs group (bin) ...found web owner (apache) ...found web group (apache) ...found CLI dependencies: HTTP::Request::Common ...found Text::ParseWords ...found LWP ...found Term::ReadLine ...found Getopt::Long >= 2.24 ...found Term::ReadKey ...found CORE dependencies: CGI >= 4 ...found HTML::Quoted ...found Log::Dispatch >= 2.30 ...found DateTime::Format::Natural >= 0.67 ...found Digest::base ...found File::Spec >= 0.8 ...found Email::Address::List >= 0.02 ...found Plack::Handler::Starlet ...found DBI >= 1.37 ...found Text::WikiFormat >= 0.76 ...found MIME::Entity >= 5.504 ...found Devel::GlobalDestruction ...found Digest::SHA ...found Regexp::Common ...found Text::Wrapper ...found Date::Extract >= 0.02 ...found Class::Accessor::Fast ...found LWP::Simple ...found HTML::RewriteAttributes >= 0.05 ...found Locale::Maketext >= 1.06 ...found Errno ...found Symbol::Global::Name >= 0.05 ...found Storable >= 2.08 ...found File::Glob ...found File::Temp >= 0.19 ...found Text::Password::Pronounceable ...found DBIx::SearchBuilder >= 1.65 ...found Net::CIDR ...found HTML::Mason >= 1.43 ...found Scalar::Util ...found Mail::Mailer >= 1.57 ...found DateTime::Locale >= 0.40 ...found Devel::StackTrace >= 1.19 ...found Crypt::Eksblowfish ...found CSS::Squish >= 0.06 ...found IPC::Run3 ...found Digest::MD5 >= 2.27 ...found Data::GUID ...found Sys::Syslog >= 0.16 ...found CGI::Emulate::PSGI ...found Regexp::IPv6 ...found CGI::PSGI >= 0.12 ...found UNIVERSAL::require ...found Module::Versions::Report >= 1.05 ...found HTTP::Message >= 6.0 ...found Apache::Session >= 1.53 ...found HTML::Scrubber >= 0.08 ...found Mail::Header >= 2.12 ...found Text::Template >= 1.44 ...found CGI::Cookie >= 1.20 ...found Locale::Maketext::Fuzzy >= 0.11 ...found Plack >= 1.0002 ...found Time::HiRes ...found HTML::FormatText::WithLinks >= 0.14 ...found HTML::FormatText::WithLinks::AndTables ...found HTML::Mason::PSGIHandler >= 0.52 ...found Email::Address >= 1.897 ...found Tree::Simple >= 1.04 ...found List::MoreUtils ...found HTML::Entities ...found File::ShareDir ...found Locale::Maketext::Lexicon >= 0.32 ...found DateTime >= 0.44 ...found Role::Basic >= 0.12 ...found Time::ParseDate ...found Regexp::Common::net::CIDR ...found Encode >= 2.64 ...found Date::Manip ...found Module::Refresh >= 0.03 ...found JSON ...found Text::Quoted >= 2.07 ...found XML::RSS >= 1.05 ...found DASHBOARDS dependencies: URI::QueryParam ...found MIME::Types ...found URI >= 1.59 ...found FASTCGI dependencies: FCGI::ProcManager ...found FCGI >= 0.74 ...found GD dependencies: GD::Text ...MISSING GD::Graph >= 1.47 ...MISSING GD ...MISSING GPG dependencies: File::Which ...found GnuPG::Interface ...found PerlIO::eol ...found GRAPHVIZ dependencies: GraphViz ...found IPC::Run >= 0.90 ...found ICAL dependencies: Data::ICal ...found MAILGATE dependencies: Net::SSL ...found Mozilla::CA ...found Getopt::Long ...found Crypt::SSLeay ...found LWP::UserAgent >= 6.0 ...found Pod::Usage ...found LWP::Protocol::https ...found ORACLE dependencies: DBD::Oracle ...found SMIME dependencies: Crypt::X509 ...found File::Which ...found String::ShellQuote ...found USERLOGO dependencies: Convert::Color ...found SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD::Text ...MISSING GD ...MISSING Perl library path for /usr/local/bin/perl: /usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.22.0 /usr/local/lib/perl5/5.22.0/x86_64-linux /usr/local/lib/perl5/5.22.0 . make: *** [testdeps] Error 1 [root at rt rt-4.2.12]# Thanks and Regards -------------------------------------------- On Mon, 21/9/15, Kobus Bensch wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com Date: Monday, 21 September, 2015, 16:56 Paste some more error info. I had this error and the solution was in the detail. For me some GD system packages needed installing. On 21/09/2015 11:39, Asanka Gunasekera wrote: Hi All, I am trying to install RT rt-4.2.12 on CentOS 6.5 (64 bit) configuration goes with out any issue but when I try to do a make testdeps it gives me below error SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD ...MISSING GD::Text ...MISSING and when I try to install GD components I am getting below error, can some one tell me how to overcome this situation. I am doing below to install GD perl -MCPAN -e'install "GD"' Error est Summary Report ------------------- t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) Failed tests: 1-9 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 9. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.05 sys + 0.12 cusr 0.06 csys = 0.28 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed. LDS/GD-2.56.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LDS/GD-2.56.tar.gz How can I over come above situation? Can I by pass force installation? Will there be any issue? Thanks and Best Regards Asanka -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address:??22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI:??0207 871 3958 Tel:??0207 871 3890 Email:??kobus.bensch at trustpayglobal.com Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address:??22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI:??0207 871 3958 Tel:??0207 871 3890 Email:??kobus.bensch at trustpayglobal.com Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. From asanka_gunasekera at yahoo.co.uk Mon Sep 21 11:45:03 2015 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Mon, 21 Sep 2015 16:45:03 +0100 Subject: [rt-users] Installing GD components In-Reply-To: <55FFE566.50406@trustpayglobal.com> Message-ID: <1442850303.88859.YahooMailBasic@web171503.mail.ir2.yahoo.com> Hi Kobus below is the output [root at rt rt-4.2.12]# perl -MCPAN -e'install "GD"' Reading '/root/.cpan/Metadata' Database was generated on Mon, 21 Sep 2015 03:53:40 GMT Running install for module 'GD' Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL Configuring for libgd version 2.0.34. Checking for stray libgd header files...none found. Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33 GD library used from: /usr Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'GD' version '2.56' LDS/GD-2.56.tar.gz /usr/local/bin/perl Build.PL -- OK Running Build for L/LD/LDS/GD-2.56.tar.gz Building GD Extracting Image.pm (with variable substitutions) cc -I/usr/include -I/usr/local/lib/perl5/5.22.0/x86_64-linux/CORE -DVERSION="2.56" -DXS_VERSION="2.56" -fPIC -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE -c -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -fPIC -fPIC -O2 -o lib/GD.o lib/GD.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/GD/GD.bs') cc -shared -O2 -L/usr/local/lib -fstack-protector -o blib/arch/auto/GD/GD.so lib/GD.o -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -lgd LDS/GD-2.56.tar.gz ./Build -- OK Running Build test t/GD.t ........ 1/11 # Failed test 'use GD;' # at t/GD.t line 14. # Tried to use 'GD'. # Error: Can't load '/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. # at t/GD.t line 14. # Compilation failed in require at t/GD.t line 14. # BEGIN failed--compilation aborted at t/GD.t line 14. # Failed test 'use GD::Simple;' # at t/GD.t line 15. # Tried to use 'GD::Simple'. # Error: Attempt to reload GD.pm aborted. # Compilation failed in require at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160. # BEGIN failed--compilation aborted at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160. # Compilation failed in require at t/GD.t line 15. # BEGIN failed--compilation aborted at t/GD.t line 15. # Testing using gd2 support. # Failed test 'unable to generate comparison image for test 1: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 2: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 3: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 4: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 5: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 6: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 7: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # Looks like you planned 11 tests but ran 9. # Looks like you failed 9 tests of 9 run. # Looks like your test exited with 255 just after 9. t/GD.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/11 subtests t/Polyline.t .. Can't load '/root/.cpan/build/GD-2.56-1_9WTm/blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. Compilation failed in require at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. BEGIN failed--compilation aborted at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. Compilation failed in require at t/Polyline.t line 10. BEGIN failed--compilation aborted at t/Polyline.t line 10. t/Polyline.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests Test Summary Report ------------------- t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) Failed tests: 1-9 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 9. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.04 sys + 0.14 cusr 0.04 csys = 0.27 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed. LDS/GD-2.56.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LDS/GD-2.56.tar.gz [root at rt rt-4.2.12]# Thanks and Regards -------------------------------------------- On Mon, 21/9/15, Kobus Bensch wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com Date: Monday, 21 September, 2015, 17:09 What happens when you try to install the module manually using CPAN? Whats the output from that? On 21/09/2015 12:03, Asanka Gunasekera wrote: Hi Kobus, thanks for the reply I have installed some packages regarding to gd-devel, zlib.x86_64, zlib, freetype.x86_64, libgd and gdlib-config and below is the full output [root at rt rt-4.2.12]# make testdeps /usr/local/bin/perl ./sbin/rt-test-dependencies --verbose --with-Oracle --with-fastcgi perl: >=5.10.1(5.22.0) ...found users: rt group (apache) ...found bin owner (root) ...found libs owner (root) ...found libs group (bin) ...found web owner (apache) ...found web group (apache) ...found CLI dependencies: HTTP::Request::Common ...found Text::ParseWords ...found LWP ...found Term::ReadLine ...found Getopt::Long >= 2.24 ...found Term::ReadKey ...found CORE dependencies: CGI >= 4 ...found HTML::Quoted ...found Log::Dispatch >= 2.30 ...found DateTime::Format::Natural >= 0.67 ...found Digest::base ...found File::Spec >= 0.8 ...found Email::Address::List >= 0.02 ...found Plack::Handler::Starlet ...found DBI >= 1.37 ...found Text::WikiFormat >= 0.76 ...found MIME::Entity >= 5.504 ...found Devel::GlobalDestruction ...found Digest::SHA ...found Regexp::Common ...found Text::Wrapper ...found Date::Extract >= 0.02 ...found Class::Accessor::Fast ...found LWP::Simple ...found HTML::RewriteAttributes >= 0.05 ...found Locale::Maketext >= 1.06 ...found Errno ...found Symbol::Global::Name >= 0.05 ...found Storable >= 2.08 ...found File::Glob ...found File::Temp >= 0.19 ...found Text::Password::Pronounceable ...found DBIx::SearchBuilder >= 1.65 ...found Net::CIDR ...found HTML::Mason >= 1.43 ...found Scalar::Util ...found Mail::Mailer >= 1.57 ...found DateTime::Locale >= 0.40 ...found Devel::StackTrace >= 1.19 ...found Crypt::Eksblowfish ...found CSS::Squish >= 0.06 ...found IPC::Run3 ...found Digest::MD5 >= 2.27 ...found Data::GUID ...found Sys::Syslog >= 0.16 ...found CGI::Emulate::PSGI ...found Regexp::IPv6 ...found CGI::PSGI >= 0.12 ...found UNIVERSAL::require ...found Module::Versions::Report >= 1.05 ...found HTTP::Message >= 6.0 ...found Apache::Session >= 1.53 ...found HTML::Scrubber >= 0.08 ...found Mail::Header >= 2.12 ...found Text::Template >= 1.44 ...found CGI::Cookie >= 1.20 ...found Locale::Maketext::Fuzzy >= 0.11 ...found Plack >= 1.0002 ...found Time::HiRes ...found HTML::FormatText::WithLinks >= 0.14 ...found HTML::FormatText::WithLinks::AndTables ...found HTML::Mason::PSGIHandler >= 0.52 ...found Email::Address >= 1.897 ...found Tree::Simple >= 1.04 ...found List::MoreUtils ...found HTML::Entities ...found File::ShareDir ...found Locale::Maketext::Lexicon >= 0.32 ...found DateTime >= 0.44 ...found Role::Basic >= 0.12 ...found Time::ParseDate ...found Regexp::Common::net::CIDR ...found Encode >= 2.64 ...found Date::Manip ...found Module::Refresh >= 0.03 ...found JSON ...found Text::Quoted >= 2.07 ...found XML::RSS >= 1.05 ...found DASHBOARDS dependencies: URI::QueryParam ...found MIME::Types ...found URI >= 1.59 ...found FASTCGI dependencies: FCGI::ProcManager ...found FCGI >= 0.74 ...found GD dependencies: GD::Text ...MISSING GD::Graph >= 1.47 ...MISSING GD ...MISSING GPG dependencies: File::Which ...found GnuPG::Interface ...found PerlIO::eol ...found GRAPHVIZ dependencies: GraphViz ...found IPC::Run >= 0.90 ...found ICAL dependencies: Data::ICal ...found MAILGATE dependencies: Net::SSL ...found Mozilla::CA ...found Getopt::Long ...found Crypt::SSLeay ...found LWP::UserAgent >= 6.0 ...found Pod::Usage ...found LWP::Protocol::https ...found ORACLE dependencies: DBD::Oracle ...found SMIME dependencies: Crypt::X509 ...found File::Which ...found String::ShellQuote ...found USERLOGO dependencies: Convert::Color ...found SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD::Text ...MISSING GD ...MISSING Perl library path for /usr/local/bin/perl: /usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.22.0 /usr/local/lib/perl5/5.22.0/x86_64-linux /usr/local/lib/perl5/5.22.0 . make: *** [testdeps] Error 1 [root at rt rt-4.2.12]# Thanks and Regards -------------------------------------------- On Mon, 21/9/15, Kobus Bensch wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com Date: Monday, 21 September, 2015, 16:56 Paste some more error info. I had this error and the solution was in the detail. For me some GD system packages needed installing. On 21/09/2015 11:39, Asanka Gunasekera wrote: Hi All, I am trying to install RT rt-4.2.12 on CentOS 6.5 (64 bit) configuration goes with out any issue but when I try to do a make testdeps it gives me below error SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD ...MISSING GD::Text ...MISSING and when I try to install GD components I am getting below error, can some one tell me how to overcome this situation. I am doing below to install GD perl -MCPAN -e'install "GD"' Error est Summary Report ------------------- t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) Failed tests: 1-9 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 9. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.05 sys + 0.12 cusr 0.06 csys = 0.28 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed. LDS/GD-2.56.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LDS/GD-2.56.tar.gz How can I over come above situation? Can I by pass force installation? Will there be any issue? Thanks and Best Regards Asanka -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address:??22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI:??0207 871 3958 Tel:??0207 871 3890 Email:??kobus.bensch at trustpayglobal.com Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address:??22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI:??0207 871 3958 Tel:??0207 871 3890 Email:??kobus.bensch at trustpayglobal.com Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. From rtusers-20090205 at billmail.scconsult.com Mon Sep 21 17:32:07 2015 From: rtusers-20090205 at billmail.scconsult.com (Bill Cole) Date: Mon, 21 Sep 2015 17:32:07 -0400 Subject: [rt-users] How manage error message from stmp In-Reply-To: <20150921124115.GA43745@pcjas.obspm.fr> References: <20150921124115.GA43745@pcjas.obspm.fr> Message-ID: <71EDD33C-87D9-43CE-A87C-13130E4104EB@billmail.scconsult.com> On 21 Sep 2015, at 8:41, Albert Shih wrote: > Hi, > > When someone add a CC (at creation, of after) and this person make a > mistake the address is wrong how can I known that (or the person). > > For example : > > When a ticket was create with > > Cc: first_address, second_wrong_address > > the smtp server going to send back a error message about > ??second_wrong_address ?, this message is for www at rt_server > > but www at rt_server is a black_hole. So no one going to known > ?second_wrong_address??never going to received anything. > > How you manage this problem ? http://www.mailermailer.com/labs/projects/RT-Bounce-Handler.rwp It's unclear to me why Best Practical has never rolled that relatively simple functionality into RT itself. Once configured, it results in any bounces going back into the ticket that generated them as comments, so that staff (who presumably can correct the error) will see them but requestors do not. If you don't like that approach, you could instead just use the $SendmailArguments config parameter to make bounces go somewhere useful (i.e. adding a sendmail '-fsomewhereuseful\@example.com' argument) From kobus.bensch at trustpayglobal.com Tue Sep 22 05:06:27 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Tue, 22 Sep 2015 10:06:27 +0100 Subject: [rt-users] Installing GD components In-Reply-To: <1442850290.86399.YahooMailBasic@web171501.mail.ir2.yahoo.com> References: <1442850290.86399.YahooMailBasic@web171501.mail.ir2.yahoo.com> Message-ID: <56011A13.1000709@trustpayglobal.com> This is the problem # Error: Can't load '/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. Particularly libjpeg.so.9: cannot open shared object file When I do sudo yum whatprovides "*/libjpeg.so" on centos6 I get a few options. If it was me, I would install libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 via yum, but this is also with the information I have at hand. Please proceed carefully. libjpeg-turbo-devel-1.2.1-3.el6_5.i686 : Headers for the libjpeg-turbo library Repo : base Matched from: Filename : /usr/lib/libjpeg.so 1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 : OpenJDK Runtime Environment Repo : base Matched from: Filename : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 : Headers for the libjpeg-turbo library Repo : base Matched from: Filename : /usr/lib64/libjpeg.so 1:java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el6_7.x86_64 : OpenJDK Runtime Environment Repo : updates Matched from: Filename : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjpeg.so 1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 : OpenJDK Runtime Environment Repo : installed Matched from: Filename : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so On 21/09/2015 16:44, Asanka Gunasekera wrote: > Hi Kobus below is the output > > [root at rt rt-4.2.12]# perl -MCPAN -e'install "GD"' > Reading '/root/.cpan/Metadata' > Database was generated on Mon, 21 Sep 2015 03:53:40 GMT > Running install for module 'GD' > Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok > Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL > Configuring for libgd version 2.0.34. > Checking for stray libgd header files...none found. > > Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33 > GD library used from: /usr > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'GD' version '2.56' > LDS/GD-2.56.tar.gz > /usr/local/bin/perl Build.PL -- OK > Running Build for L/LD/LDS/GD-2.56.tar.gz > Building GD > Extracting Image.pm (with variable substitutions) > cc -I/usr/include -I/usr/local/lib/perl5/5.22.0/x86_64-linux/CORE -DVERSION="2.56" -DXS_VERSION="2.56" -fPIC -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE -c -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -fPIC -fPIC -O2 -o lib/GD.o lib/GD.c > ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/GD/GD.bs') > cc -shared -O2 -L/usr/local/lib -fstack-protector -o blib/arch/auto/GD/GD.so lib/GD.o -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -lgd > LDS/GD-2.56.tar.gz > ./Build -- OK > Running Build test > t/GD.t ........ 1/11 > # Failed test 'use GD;' > # at t/GD.t line 14. > # Tried to use 'GD'. > # Error: Can't load '/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. > # at t/GD.t line 14. > # Compilation failed in require at t/GD.t line 14. > # BEGIN failed--compilation aborted at t/GD.t line 14. > > # Failed test 'use GD::Simple;' > # at t/GD.t line 15. > # Tried to use 'GD::Simple'. > # Error: Attempt to reload GD.pm aborted. > # Compilation failed in require at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160. > # BEGIN failed--compilation aborted at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160. > # Compilation failed in require at t/GD.t line 15. > # BEGIN failed--compilation aborted at t/GD.t line 15. > # Testing using gd2 support. > > # Failed test 'unable to generate comparison image for test 1: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. > # ' > # at t/GD.t line 246. > > # Failed test 'unable to generate comparison image for test 2: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. > # ' > # at t/GD.t line 246. > > # Failed test 'unable to generate comparison image for test 3: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. > # ' > # at t/GD.t line 246. > > # Failed test 'unable to generate comparison image for test 4: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. > # ' > # at t/GD.t line 246. > > # Failed test 'unable to generate comparison image for test 5: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. > # ' > # at t/GD.t line 246. > > # Failed test 'unable to generate comparison image for test 6: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. > # ' > # at t/GD.t line 246. > > # Failed test 'unable to generate comparison image for test 7: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. > # ' > # at t/GD.t line 246. > Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. > # Looks like you planned 11 tests but ran 9. > # Looks like you failed 9 tests of 9 run. > # Looks like your test exited with 255 just after 9. > t/GD.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 11/11 subtests > t/Polyline.t .. Can't load '/root/.cpan/build/GD-2.56-1_9WTm/blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. > at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. > Compilation failed in require at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. > BEGIN failed--compilation aborted at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. > Compilation failed in require at t/Polyline.t line 10. > BEGIN failed--compilation aborted at t/Polyline.t line 10. > t/Polyline.t .. Dubious, test returned 2 (wstat 512, 0x200) > Failed 1/1 subtests > > Test Summary Report > ------------------- > t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) > Failed tests: 1-9 > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 11 tests but ran 9. > t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 1 tests but ran 0. > Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.04 sys + 0.14 cusr 0.04 csys = 0.27 CPU) > Result: FAIL > Failed 2/2 test programs. 9/9 subtests failed. > LDS/GD-2.56.tar.gz > ./Build test -- NOT OK > //hint// to see the cpan-testers results for installing this module, try: > reports LDS/GD-2.56.tar.gz > [root at rt rt-4.2.12]# > > Thanks and Regards > > -------------------------------------------- > On Mon, 21/9/15, Kobus Bensch wrote: > > Subject: Re: [rt-users] Installing GD components > To: rt-users at lists.bestpractical.com > Date: Monday, 21 September, 2015, 17:09 > > > What happens when you try to install the module manually > using CPAN? > > > > Whats the output from that? > > > > On 21/09/2015 12:03, > Asanka Gunasekera > wrote: > > > > Hi Kobus, thanks for the reply I have installed > some packages regarding to gd-devel, zlib.x86_64, zlib, > freetype.x86_64, libgd and gdlib-config and below is the > full output > > [root at rt rt-4.2.12]# make testdeps > /usr/local/bin/perl ./sbin/rt-test-dependencies --verbose > --with-Oracle --with-fastcgi > perl: > >=5.10.1(5.22.0) ...found > users: > rt group (apache) ...found > bin owner (root) ...found > libs owner (root) ...found > libs group (bin) ...found > web owner (apache) ...found > web group (apache) ...found > CLI dependencies: > HTTP::Request::Common ...found > Text::ParseWords ...found > LWP ...found > Term::ReadLine ...found > Getopt::Long >= 2.24 ...found > Term::ReadKey ...found > CORE dependencies: > CGI >= 4 ...found > HTML::Quoted ...found > Log::Dispatch >= 2.30 ...found > DateTime::Format::Natural >= 0.67 ...found > Digest::base ...found > File::Spec >= 0.8 ...found > Email::Address::List >= 0.02 ...found > Plack::Handler::Starlet ...found > DBI >= 1.37 ...found > Text::WikiFormat >= 0.76 ...found > MIME::Entity >= 5.504 ...found > Devel::GlobalDestruction ...found > Digest::SHA ...found > Regexp::Common ...found > Text::Wrapper ...found > Date::Extract >= 0.02 ...found > Class::Accessor::Fast ...found > LWP::Simple ...found > HTML::RewriteAttributes >= 0.05 ...found > Locale::Maketext >= 1.06 ...found > Errno ...found > Symbol::Global::Name >= 0.05 ...found > Storable >= 2.08 ...found > File::Glob ...found > File::Temp >= 0.19 ...found > Text::Password::Pronounceable ...found > DBIx::SearchBuilder >= 1.65 ...found > Net::CIDR ...found > HTML::Mason >= 1.43 ...found > Scalar::Util ...found > Mail::Mailer >= 1.57 ...found > DateTime::Locale >= 0.40 ...found > Devel::StackTrace >= 1.19 ...found > Crypt::Eksblowfish ...found > CSS::Squish >= 0.06 ...found > IPC::Run3 ...found > Digest::MD5 >= 2.27 ...found > Data::GUID ...found > Sys::Syslog >= 0.16 ...found > CGI::Emulate::PSGI ...found > Regexp::IPv6 ...found > CGI::PSGI >= 0.12 ...found > UNIVERSAL::require ...found > Module::Versions::Report >= 1.05 ...found > HTTP::Message >= 6.0 ...found > Apache::Session >= 1.53 ...found > HTML::Scrubber >= 0.08 ...found > Mail::Header >= 2.12 ...found > Text::Template >= 1.44 ...found > CGI::Cookie >= 1.20 ...found > Locale::Maketext::Fuzzy >= 0.11 ...found > Plack >= 1.0002 ...found > Time::HiRes ...found > HTML::FormatText::WithLinks >= 0.14 ...found > HTML::FormatText::WithLinks::AndTables ...found > HTML::Mason::PSGIHandler >= 0.52 ...found > Email::Address >= 1.897 ...found > Tree::Simple >= 1.04 ...found > List::MoreUtils ...found > HTML::Entities ...found > File::ShareDir ...found > Locale::Maketext::Lexicon >= 0.32 ...found > DateTime >= 0.44 ...found > Role::Basic >= 0.12 ...found > Time::ParseDate ...found > Regexp::Common::net::CIDR ...found > Encode >= 2.64 ...found > Date::Manip ...found > Module::Refresh >= 0.03 ...found > JSON ...found > Text::Quoted >= 2.07 ...found > XML::RSS >= 1.05 ...found > DASHBOARDS dependencies: > URI::QueryParam ...found > MIME::Types ...found > URI >= 1.59 ...found > FASTCGI dependencies: > FCGI::ProcManager ...found > FCGI >= 0.74 ...found > GD dependencies: > GD::Text ...MISSING > GD::Graph >= 1.47 ...MISSING > GD ...MISSING > GPG dependencies: > File::Which ...found > GnuPG::Interface ...found > PerlIO::eol ...found > GRAPHVIZ dependencies: > GraphViz ...found > IPC::Run >= 0.90 ...found > ICAL dependencies: > Data::ICal ...found > MAILGATE dependencies: > Net::SSL ...found > Mozilla::CA ...found > Getopt::Long ...found > Crypt::SSLeay ...found > LWP::UserAgent >= 6.0 ...found > Pod::Usage ...found > LWP::Protocol::https ...found > ORACLE dependencies: > DBD::Oracle ...found > SMIME dependencies: > Crypt::X509 ...found > File::Which ...found > String::ShellQuote ...found > USERLOGO dependencies: > Convert::Color ...found > > SOME DEPENDENCIES WERE MISSING. > GD missing dependencies: > GD::Graph >= 1.47 ...MISSING > GD::Text ...MISSING > GD ...MISSING > > Perl library path for /usr/local/bin/perl: > /usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux > /usr/local/lib/perl5/site_perl/5.22.0 > /usr/local/lib/perl5/5.22.0/x86_64-linux > /usr/local/lib/perl5/5.22.0 > . > make: *** [testdeps] Error 1 > [root at rt rt-4.2.12]# > > Thanks and Regards > > -------------------------------------------- > On Mon, 21/9/15, Kobus Bensch > wrote: > > Subject: Re: [rt-users] Installing GD components > To: rt-users at lists.bestpractical.com > Date: Monday, 21 September, 2015, 16:56 > > > Paste some more error info. I had this error and the > solution was in > the detail. For me some GD system packages needed > installing. > > > > On 21/09/2015 11:39, > Asanka Gunasekera > wrote: > > > > Hi All, I am trying to install RT rt-4.2.12 on > CentOS 6.5 (64 bit) configuration goes with out any issue > but when I try to do a make testdeps it gives me below > error > > SOME DEPENDENCIES WERE MISSING. > GD missing dependencies: > GD::Graph >= 1.47 ...MISSING > GD ...MISSING > GD::Text ...MISSING > > and when I try to install GD components I am getting below > error, can some one tell me how to overcome this situation. > I am doing below to install GD > > perl -MCPAN -e'install "GD"' > > Error > > est Summary Report > ------------------- > t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) > Failed tests: 1-9 > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 11 tests but ran 9. > t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 1 tests but ran 0. > Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.05 sys + > 0.12 cusr 0.06 csys = 0.28 CPU) > Result: FAIL > Failed 2/2 test programs. 9/9 subtests failed. > LDS/GD-2.56.tar.gz > ./Build test -- NOT OK > //hint// to see the cpan-testers results for installing > this > module, try: > reports LDS/GD-2.56.tar.gz > > How can I over come above situation? > Can I by pass force installation? > Will there be any issue? > > Thanks and Best Regards > > Asanka > > > > > -- > > Kobus Bensch Trustpay Global > LTD email signature > Kobus Bensch > > Senior Systems Administrator > > Address: 22 & 24 | Frederick Sanger Road | > Guildford | Surrey > | GU2 7YD > > DDI: 0207 871 3958 > > Tel: 0207 871 3890 > > Email: kobus.bensch at trustpayglobal.com > > > > > > Trustpay Global Limited is an > authorised Electronic Money Institution regulated by the > Financial Conduct Authority registration number 900043. > Company No 07427913 Registered in England and Wales with > registered address 130 Wood Street, London, EC2V 6DL, > United > Kingdom.For further details please visit our > website at www.trustpayglobal.com.The > information in this email and > any attachments are confidential and remain the property of > Trustpay Global Ltd unless agreed by contract. It is > intended solely for the person to whom or the entity to > which it is addressed. If you are not the intended > recipient > you may not use, disclose, copy, distribute, print or rely > on the content of this email or its attachments. If this > email has been received by you in error please advise the > sender and delete the email from your system. Trustpay > Global Ltd does not accept any liability for any personal > view expressed in this > message. > > > > > -- > > Kobus Bensch Trustpay Global > LTD email signature > Kobus Bensch > > Senior Systems Administrator > > Address: 22 & 24 | Frederick Sanger Road | > Guildford | Surrey > | GU2 7YD > > DDI: 0207 871 3958 > > Tel: 0207 871 3890 > > Email: kobus.bensch at trustpayglobal.com > > > > > > Trustpay Global Limited is an > authorised Electronic Money Institution regulated by the > Financial Conduct Authority registration number 900043. > Company No 07427913 Registered in England and Wales with > registered address 130 Wood Street, London, EC2V 6DL, United > Kingdom.For further details please visit our > website at www.trustpayglobal.com.The information in this email and > any attachments are confidential and remain the property of > Trustpay Global Ltd unless agreed by contract. It is > intended solely for the person to whom or the entity to > which it is addressed. If you are not the intended recipient > you may not use, disclose, copy, distribute, print or rely > on the content of this email or its attachments. If this > email has been received by you in error please advise the > sender and delete the email from your system. Trustpay > Global Ltd does not accept any liability for any personal > view expressed in this > message. -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI: 0207 871 3958 Tel: 0207 871 3890 Email: kobus.bensch at trustpayglobal.com -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TrustPayGlobal_email_footer.png Type: image/png Size: 8901 bytes Desc: not available URL: From asanka_gunasekera at yahoo.co.uk Tue Sep 22 06:50:11 2015 From: asanka_gunasekera at yahoo.co.uk (Asanka Gunasekera) Date: Tue, 22 Sep 2015 11:50:11 +0100 Subject: [rt-users] Installing GD components In-Reply-To: <56011A13.1000709@trustpayglobal.com> Message-ID: <1442919011.43325.YahooMailBasic@web171505.mail.ir2.yahoo.com> Hi Kobus, this is installed :( [root at rt install]# yum whatprovides "*/libjpeg.so" Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * epel: kartolo.sby.datautama.net.id * extras: centos.excellmedia.net * updates: centos.excellmedia.net libjpeg-turbo-devel-1.2.1-3.el6_5.i686 : Headers for the libjpeg-turbo library Repo : base Matched from: Filename : /usr/lib/libjpeg.so 1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 : OpenJDK Runtime Environment Repo : base Matched from: Filename : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 : Headers for the libjpeg-turbo library Repo : base Matched from: Filename : /usr/lib64/libjpeg.so 1:java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el6_7.x86_64 : OpenJDK Runtime Environment Repo : updates Matched from: Filename : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjpeg.so libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 : Headers for the libjpeg-turbo library Repo : installed Matched from: Filename : /usr/lib64/libjpeg.so 1:java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el6_7.x86_64 : OpenJDK Runtime Environment Repo : installed Matched from: Filename : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjpeg.so Thanks and Regards -------------------------------------------- On Tue, 22/9/15, Kobus Bensch wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com Date: Tuesday, 22 September, 2015, 15:06 This is the problem # Error: Can't load '/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. Particularly libjpeg.so.9: cannot open shared object file When I do sudo yum whatprovides "*/libjpeg.so" on centos6 I get a few options. If it was me, I would install libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 via yum, but this is also with the information I have at hand. Please proceed carefully. libjpeg-turbo-devel-1.2.1-3.el6_5.i686 : Headers for the libjpeg-turbo library Repo : base Matched from: Filename : /usr/lib/libjpeg.so 1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 : OpenJDK Runtime Environment Repo : base Matched from: Filename : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 : Headers for the libjpeg-turbo library Repo : base Matched from: Filename : /usr/lib64/libjpeg.so 1:java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el6_7.x86_64 : OpenJDK Runtime Environment Repo : updates Matched from: Filename : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjpeg.so 1:java-1.6.0-openjdk-1.6.0.35-1.13.7.1.el6_6.x86_64 : OpenJDK Runtime Environment Repo : installed Matched from: Filename : /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64/jre/lib/amd64/libjpeg.so On 21/09/2015 16:44, Asanka Gunasekera wrote: Hi Kobus below is the output [root at rt rt-4.2.12]# perl -MCPAN -e'install "GD"' Reading '/root/.cpan/Metadata' Database was generated on Mon, 21 Sep 2015 03:53:40 GMT Running install for module 'GD' Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL Configuring for libgd version 2.0.34. Checking for stray libgd header files...none found. Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33 GD library used from: /usr Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'GD' version '2.56' LDS/GD-2.56.tar.gz /usr/local/bin/perl Build.PL -- OK Running Build for L/LD/LDS/GD-2.56.tar.gz Building GD Extracting Image.pm (with variable substitutions) cc -I/usr/include -I/usr/local/lib/perl5/5.22.0/x86_64-linux/CORE -DVERSION="2.56" -DXS_VERSION="2.56" -fPIC -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE -c -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -fPIC -fPIC -O2 -o lib/GD.o lib/GD.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/GD/GD.bs') cc -shared -O2 -L/usr/local/lib -fstack-protector -o blib/arch/auto/GD/GD.so lib/GD.o -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -lgd LDS/GD-2.56.tar.gz ./Build -- OK Running Build test t/GD.t ........ 1/11 # Failed test 'use GD;' # at t/GD.t line 14. # Tried to use 'GD'. # Error: Can't load '/root/.cpan/build/GD-2.56-1_9WTm/t/../blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. # at t/GD.t line 14. # Compilation failed in require at t/GD.t line 14. # BEGIN failed--compilation aborted at t/GD.t line 14. # Failed test 'use GD::Simple;' # at t/GD.t line 15. # Tried to use 'GD::Simple'. # Error: Attempt to reload GD.pm aborted. # Compilation failed in require at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160. # BEGIN failed--compilation aborted at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Simple.pm line 160. # Compilation failed in require at t/GD.t line 15. # BEGIN failed--compilation aborted at t/GD.t line 15. # Testing using gd2 support. # Failed test 'unable to generate comparison image for test 1: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 2: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 3: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 4: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 5: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 6: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. # Failed test 'unable to generate comparison image for test 7: Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # ' # at t/GD.t line 246. Can't locate object method "_new" via package "GD::Image" at /root/.cpan/build/GD-2.56-1_9WTm/t/../blib/lib/GD/Image.pm line 83. # Looks like you planned 11 tests but ran 9. # Looks like you failed 9 tests of 9 run. # Looks like your test exited with 255 just after 9. t/GD.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/11 subtests t/Polyline.t .. Can't load '/root/.cpan/build/GD-2.56-1_9WTm/blib/arch/auto/GD/GD.so' for module GD: libjpeg.so.9: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.22.0/x86_64-linux/DynaLoader.pm line 193. at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. Compilation failed in require at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. BEGIN failed--compilation aborted at /root/.cpan/build/GD-2.56-1_9WTm/blib/lib/GD/Polyline.pm line 45. Compilation failed in require at t/Polyline.t line 10. BEGIN failed--compilation aborted at t/Polyline.t line 10. t/Polyline.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests Test Summary Report ------------------- t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) Failed tests: 1-9 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 9. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.04 sys + 0.14 cusr 0.04 csys = 0.27 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed. LDS/GD-2.56.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LDS/GD-2.56.tar.gz [root at rt rt-4.2.12]# Thanks and Regards -------------------------------------------- On Mon, 21/9/15, Kobus Bensch wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com Date: Monday, 21 September, 2015, 17:09 What happens when you try to install the module manually using CPAN? Whats the output from that? On 21/09/2015 12:03, Asanka Gunasekera wrote: Hi Kobus, thanks for the reply I have installed some packages regarding to gd-devel, zlib.x86_64, zlib, freetype.x86_64, libgd and gdlib-config and below is the full output [root at rt rt-4.2.12]# make testdeps /usr/local/bin/perl ./sbin/rt-test-dependencies --verbose --with-Oracle --with-fastcgi perl: >=5.10.1(5.22.0) ...found users: rt group (apache) ...found bin owner (root) ...found libs owner (root) ...found libs group (bin) ...found web owner (apache) ...found web group (apache) ...found CLI dependencies: HTTP::Request::Common ...found Text::ParseWords ...found LWP ...found Term::ReadLine ...found Getopt::Long >= 2.24 ...found Term::ReadKey ...found CORE dependencies: CGI >= 4 ...found HTML::Quoted ...found Log::Dispatch >= 2.30 ...found DateTime::Format::Natural >= 0.67 ...found Digest::base ...found File::Spec >= 0.8 ...found Email::Address::List >= 0.02 ...found Plack::Handler::Starlet ...found DBI >= 1.37 ...found Text::WikiFormat >= 0.76 ...found MIME::Entity >= 5.504 ...found Devel::GlobalDestruction ...found Digest::SHA ...found Regexp::Common ...found Text::Wrapper ...found Date::Extract >= 0.02 ...found Class::Accessor::Fast ...found LWP::Simple ...found HTML::RewriteAttributes >= 0.05 ...found Locale::Maketext >= 1.06 ...found Errno ...found Symbol::Global::Name >= 0.05 ...found Storable >= 2.08 ...found File::Glob ...found File::Temp >= 0.19 ...found Text::Password::Pronounceable ...found DBIx::SearchBuilder >= 1.65 ...found Net::CIDR ...found HTML::Mason >= 1.43 ...found Scalar::Util ...found Mail::Mailer >= 1.57 ...found DateTime::Locale >= 0.40 ...found Devel::StackTrace >= 1.19 ...found Crypt::Eksblowfish ...found CSS::Squish >= 0.06 ...found IPC::Run3 ...found Digest::MD5 >= 2.27 ...found Data::GUID ...found Sys::Syslog >= 0.16 ...found CGI::Emulate::PSGI ...found Regexp::IPv6 ...found CGI::PSGI >= 0.12 ...found UNIVERSAL::require ...found Module::Versions::Report >= 1.05 ...found HTTP::Message >= 6.0 ...found Apache::Session >= 1.53 ...found HTML::Scrubber >= 0.08 ...found Mail::Header >= 2.12 ...found Text::Template >= 1.44 ...found CGI::Cookie >= 1.20 ...found Locale::Maketext::Fuzzy >= 0.11 ...found Plack >= 1.0002 ...found Time::HiRes ...found HTML::FormatText::WithLinks >= 0.14 ...found HTML::FormatText::WithLinks::AndTables ...found HTML::Mason::PSGIHandler >= 0.52 ...found Email::Address >= 1.897 ...found Tree::Simple >= 1.04 ...found List::MoreUtils ...found HTML::Entities ...found File::ShareDir ...found Locale::Maketext::Lexicon >= 0.32 ...found DateTime >= 0.44 ...found Role::Basic >= 0.12 ...found Time::ParseDate ...found Regexp::Common::net::CIDR ...found Encode >= 2.64 ...found Date::Manip ...found Module::Refresh >= 0.03 ...found JSON ...found Text::Quoted >= 2.07 ...found XML::RSS >= 1.05 ...found DASHBOARDS dependencies: URI::QueryParam ...found MIME::Types ...found URI >= 1.59 ...found FASTCGI dependencies: FCGI::ProcManager ...found FCGI >= 0.74 ...found GD dependencies: GD::Text ...MISSING GD::Graph >= 1.47 ...MISSING GD ...MISSING GPG dependencies: File::Which ...found GnuPG::Interface ...found PerlIO::eol ...found GRAPHVIZ dependencies: GraphViz ...found IPC::Run >= 0.90 ...found ICAL dependencies: Data::ICal ...found MAILGATE dependencies: Net::SSL ...found Mozilla::CA ...found Getopt::Long ...found Crypt::SSLeay ...found LWP::UserAgent >= 6.0 ...found Pod::Usage ...found LWP::Protocol::https ...found ORACLE dependencies: DBD::Oracle ...found SMIME dependencies: Crypt::X509 ...found File::Which ...found String::ShellQuote ...found USERLOGO dependencies: Convert::Color ...found SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD::Text ...MISSING GD ...MISSING Perl library path for /usr/local/bin/perl: /usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.22.0 /usr/local/lib/perl5/5.22.0/x86_64-linux /usr/local/lib/perl5/5.22.0 . make: *** [testdeps] Error 1 [root at rt rt-4.2.12]# Thanks and Regards -------------------------------------------- On Mon, 21/9/15, Kobus Bensch wrote: Subject: Re: [rt-users] Installing GD components To: rt-users at lists.bestpractical.com Date: Monday, 21 September, 2015, 16:56 Paste some more error info. I had this error and the solution was in the detail. For me some GD system packages needed installing. On 21/09/2015 11:39, Asanka Gunasekera wrote: Hi All, I am trying to install RT rt-4.2.12 on CentOS 6.5 (64 bit) configuration goes with out any issue but when I try to do a make testdeps it gives me below error SOME DEPENDENCIES WERE MISSING. GD missing dependencies: GD::Graph >= 1.47 ...MISSING GD ...MISSING GD::Text ...MISSING and when I try to install GD components I am getting below error, can some one tell me how to overcome this situation. I am doing below to install GD perl -MCPAN -e'install "GD"' Error est Summary Report ------------------- t/GD.t (Wstat: 65280 Tests: 9 Failed: 9) Failed tests: 1-9 Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 9. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=9, 0 wallclock secs ( 0.05 usr 0.05 sys + 0.12 cusr 0.06 csys = 0.28 CPU) Result: FAIL Failed 2/2 test programs. 9/9 subtests failed. LDS/GD-2.56.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LDS/GD-2.56.tar.gz How can I over come above situation? Can I by pass force installation? Will there be any issue? Thanks and Best Regards Asanka -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address:??22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI:??0207 871 3958 Tel:??0207 871 3890 Email:??kobus.bensch at trustpayglobal.com Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address:??22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI:??0207 871 3958 Tel:??0207 871 3890 Email:??kobus.bensch at trustpayglobal.com Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address:??22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI:??0207 871 3958 Tel:??0207 871 3890 Email:??kobus.bensch at trustpayglobal.com Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom.For further details please visit our website at www.trustpayglobal.com.The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. From kobus.bensch at trustpayglobal.com Tue Sep 22 07:02:20 2015 From: kobus.bensch at trustpayglobal.com (Kobus Bensch) Date: Tue, 22 Sep 2015 12:02:20 +0100 Subject: [rt-users] Installing GD components In-Reply-To: <1442919011.43325.YahooMailBasic@web171505.mail.ir2.yahoo.com> References: <1442919011.43325.YahooMailBasic@web171505.mail.ir2.yahoo.com> Message-ID: <5601353C.6030206@trustpayglobal.com> Running this command does not mean it is installed. It just tells you which packages provides the libjpeg.so Does the lib actually exist in /usr/lib/libjpeg.so or /usr/lib64/libjpeg.so On 22/09/2015 11:50, Asanka Gunasekera wrote: > yum whatprovides "*/libjpeg.so" -- Kobus Bensch Trustpay Global LTD email signature Kobus Bensch Senior Systems Administrator Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD DDI: 0207 871 3958 Tel: 0207 871 3890 Email: kobus.bensch at trustpayglobal.com -- Trustpay Global Limited is an authorised Electronic Money Institution regulated by the Financial Conduct Authority registration number 900043. Company No 07427913 Registered in England and Wales with registered address 130 Wood Street, London, EC2V 6DL, United Kingdom. For further details please visit our website at www.trustpayglobal.com. The information in this email and any attachments are confidential and remain the property of Trustpay Global Ltd unless agreed by contract. It is intended solely for the person to whom or the entity to which it is addressed. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your system. Trustpay Global Ltd does not accept any liability for any personal view expressed in this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TrustPayGlobal_email_footer.png Type: image/png Size: 8901 bytes Desc: not available URL: From russell-list at jonesmail.me Wed Sep 23 12:55:29 2015 From: russell-list at jonesmail.me (Russell Jones) Date: Wed, 23 Sep 2015 11:55:29 -0500 Subject: [rt-users] Change default queue in "Quick ticket creation" area In-Reply-To: <5602D53B.9090901@jonesmail.me> References: <5602D53B.9090901@jonesmail.me> Message-ID: <5602D981.9020204@jonesmail.me> Hi all, How do I change the default queue that is selected in the quick ticket creation area? Doing some research led me to the "Default queue" drop down in user preferences, and this does indeed change the queue that is selected by default next to the "New ticket in" button at the top right, but it does not change the selected queue for the "Quick Ticket Creation" box. Any help is greatly appreciated. Thanks! From tjg at ucsc.edu Wed Sep 23 14:01:21 2015 From: tjg at ucsc.edu (Tim Gustafson) Date: Wed, 23 Sep 2015 11:01:21 -0700 Subject: [rt-users] RT Not Sending Autoreply E-Mails On Ticket Creation Via E-Mail Message-ID: I have an RT 4.2.11 instance that is not sending autoreply messages when tickets are created via e-mail. If you create a ticket on behalf of a user through the web form, an autoreply is sent. It's only when a ticket is created via e-mail that an autoreply is not sent. The Sendmail log file shows no attempt to send an autoreply, and no outbound e-mail is recorded in the ticket's transaction history. My global scrips screen is attached. There are no queue-specific scrips. What would cause RT to not send autoreplys to requestors when tickets are created via e-mail? -- Tim Gustafson tjg at ucsc.edu 831-459-5354 Baskin Engineering, Room 313A -------------- next part -------------- A non-text attachment was scrubbed... Name: scrips.png Type: image/png Size: 72235 bytes Desc: not available URL: From tibbs at math.uh.edu Wed Sep 23 15:50:01 2015 From: tibbs at math.uh.edu (Jason L Tibbitts III) Date: Wed, 23 Sep 2015 14:50:01 -0500 Subject: [rt-users] Keeping RT URLs off of port 80 Message-ID: I've just completed a migration from our ancient RT 3.8.8 install to a shiny new 4.2.12 install (using the Fedora packages). Everything went smoothly except for a few Selinux issues (relating to a domain transition between the MTA and rt-mailgate) which I'm working out with the Fedora selinux folks. There's one issue which I've not yet manage to figure out, however. I'm afraid it must be a FAQ but I can't find any solution which applies. My web server is configured to redirect any http access to the corresponding https: URL and RT itself is only configured to use port 443. However, immediately after login, RT itself issues a redirect that sends the user to an http: URL. This is of course immediately directed back to https: by the web server, but when that happens I see the following: [warning]: The requested port (80) does NOT match the configured WebPort (443). Perhaps you should Set($WebPort, 80); in RT_SiteConfig.pm, otherwise your internal links may be broken. (/usr/share/perl5/vendor_perl/RT/Interface/Web.pm:1308 So far this is merely annoying; everything seems to function properly. But I simply cannot figure out any way to keep RT from redirecting the user to an http: URL after login. I've played with $CanonicalizeRedirectURLs and $WebBaseURL but they seem to make no difference in this case. $WebPort is set to 443 as indicated in the message. Is there some magical configuration setting I'm missing, or have I perhaps messed something else up? - J< From brennanma at gmail.com Wed Sep 23 17:34:26 2015 From: brennanma at gmail.com (Matt Brennan) Date: Wed, 23 Sep 2015 17:34:26 -0400 Subject: [rt-users] Keeping RT URLs off of port 80 In-Reply-To: References: Message-ID: Someone may later say this is incorrect, but in my config, my web port is still 80. I have: Set($WebBaseURL, 'https://' . RT->Config->Get('WebDomain') ); Then I used Apache mod_rewrite: RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://rt.domain.com/%{REQUEST_URI} [L,R] On Wed, Sep 23, 2015 at 3:50 PM, Jason L Tibbitts III wrote: > I've just completed a migration from our ancient RT 3.8.8 install to a > shiny new 4.2.12 install (using the Fedora packages). Everything went > smoothly except for a few Selinux issues (relating to a domain > transition between the MTA and rt-mailgate) which I'm working out with > the Fedora selinux folks. > > There's one issue which I've not yet manage to figure out, however. I'm > afraid it must be a FAQ but I can't find any solution which applies. My > web server is configured to redirect any http access to the > corresponding https: URL and RT itself is only configured to use port > 443. However, immediately after login, RT itself issues a redirect that > sends the user to an http: URL. This is of course immediately directed > back to https: by the web server, but when that happens I see the > following: > > [warning]: The requested port (80) does NOT match the configured WebPort > (443). Perhaps you should Set($WebPort, 80); in RT_SiteConfig.pm, > otherwise your internal links may be broken. > (/usr/share/perl5/vendor_perl/RT/Interface/Web.pm:1308 > > So far this is merely annoying; everything seems to function properly. > But I simply cannot figure out any way to keep RT from redirecting the > user to an http: URL after login. I've played with > $CanonicalizeRedirectURLs and $WebBaseURL but they seem to make no > difference in this case. $WebPort is set to 443 as indicated in the > message. > > Is there some magical configuration setting I'm missing, or have I > perhaps messed something else up? > > - J< > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tibbs at math.uh.edu Wed Sep 23 18:10:36 2015 From: tibbs at math.uh.edu (Jason L Tibbitts III) Date: Wed, 23 Sep 2015 17:10:36 -0500 Subject: [rt-users] Keeping RT URLs off of port 80 In-Reply-To: (Matt Brennan's message of "Wed, 23 Sep 2015 17:34:26 -0400") References: Message-ID: >>>>> "MB" == Matt Brennan writes: MB> Someone may later say this is incorrect, but in my config, my web MB> port is still 80. I have: If I switch it around I get the opposite complaint. MB> Then I used Apache mod_rewrite: I just do a redirectmatch. RedirectMatch permanent ^$ https://XXX/ RedirectMatch permanent ^/(.*) https://XXX/$1 This is on a virtualhost that listens on port 80 and serves no RT content. The virtualhost which serves RT listens only on port 443. I suppose there's a possibility that RT just doesn't like that kind of thing, but I still don't see how any of this would cause RT to redirect to an http URL after someone has logged into the site. I'll keep poking at it. Maybe I do need to set WebBaseURL or WebURL, though the documentation explicitly says that I shouldn't need to do so. - J< From jmurray at whoi.edu Wed Sep 23 18:11:18 2015 From: jmurray at whoi.edu (Jonathan Murray) Date: Wed, 23 Sep 2015 18:11:18 -0400 Subject: [rt-users] Internal server error In-Reply-To: References: Message-ID: <56032386.3040909@whoi.edu> Folks, I'm running: RT 4.2.9 CentOS 6.7 httpd-2.2.15-47.el6.centos.x86_64 when I go to the rt URL: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.2.15 (CentOS) Server at rtdev.whoi.edu Port 443 I checked /opt/rt4/var/log and discovered that I needed something called [1920] [Wed Sep 23 20:33:11 2015] [critical]: Can't locate RT/Authen/ExternalAuth.pm 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 /opt/rt4/sbin/../lib/RT.pm line 729. (/opt/rt4/sbin/../lib/RT.pm:388) so I got that via cpan> install RT::Authen::ExternalAuth seemed to work OK. Restarted the web server, Then I got this: [3160] [Wed Sep 23 21:39:04 2015] [critical]: Can't locate RT/Extension/ActivityReports.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-Authen-ExternalAuth/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 /opt/rt4/sbin/../lib/RT.pm line 729, line 755. (/opt/rt4/sbin/../lib/RT.pm:388) I was able to get that install in /opt/rt4/local/plugins/RT-Extension-ActivityReports/lib/RT/Extension/ActivityReports.pm Now I'm looking for something called Ex.pm [3414] [Wed Sep 23 21:55:08 2015] [critical]: Can't locate RT/Ex.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/local/plugins/RT-Extension-ActivityReports/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 /opt/rt4/sbin/../lib/RT.pm line 729, line 755. (/opt/rt4/sbin/../lib/RT.pm:388) Can someone direct me to a place where I can download that? I can't seem to find that specific module anywhere. Also, if I can get that installed, is there a way to make sure that I can get all the dependencies associated with it? Or is the normal mode to just keep chasing each one individually. Happy to do that, or (most)anything to get this running. Sorry, absolute beginner here. Thank you, Jonathan From slicer at onthenet.com.au Thu Sep 24 00:23:09 2015 From: slicer at onthenet.com.au (Yourevilness) Date: Wed, 23 Sep 2015 21:23:09 -0700 (MST) Subject: [rt-users] Output contents of Custom field via command line Message-ID: <1443068589399-60701.post@n7.nabble.com> Hello, RT 4.2.11 on Centos 6 I'm trying to generate a list of all unresolved tickets via command line and output the contents of a custom field value to a log file. I have another system checking this log file to verify the contents. Without going too far into the requirements. Is there any way to do this? I've tried RT-Crontool (Via Mysql), RT CLI queries etc. I can find the tickets ID but cannot extract the correct information I am after. CLI - /opt/rt4/bin/rt list -i "status != 'resolved' AND (Queue = 'Operations')" #This gives me a list of the tickets. /opt/rt4/bin/rt show -t ticket 265550 -f 'CF.{A Number}' #This gives me the contents of the custom field called "A number" I cannot seem to combine them into one command. Likewise with rt-crontool... I can gather the necessary ticket ID's but cannot get any further information. I am aware of the REST interface and its ability to do what I am after, but I've not had much luck with it creating issues with the Mysql process. -- View this message in context: http://requesttracker.8502.n7.nabble.com/Output-contents-of-Custom-field-via-command-line-tp60701.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From frank.wissink at gmail.com Thu Sep 24 07:04:40 2015 From: frank.wissink at gmail.com (Frank Wissink) Date: Thu, 24 Sep 2015 13:04:40 +0200 Subject: [rt-users] Migration from MySQL to PostreSQL - corrupt characters (german umlaut) In-Reply-To: <5977889A-9FE6-4238-911D-DB6E20A6C90A@gmail.com> References: <55FAAE2B.7030205@uni-hamburg.de> <55FC4490.3000806@bestpractical.com> <55FFB7AB.6090202@uni-hamburg.de> <560012B4.2060801@uni-hamburg.de> <5977889A-9FE6-4238-911D-DB6E20A6C90A@gmail.com> Message-ID: I have the same problem. I want to migrate my RT 4.2.12 mysql-database to postgres. Did you find an solution for this problem? I noticed that the problem with the german umlauts is not in all fields. In my history for example the german umlauts displayed correctly but in the ticket subject they didn't. On Wed, Sep 23, 2015 at 5:34 PM, Frank Wissink wrote: > Did find any solution for this problem? I have the same problem. > > > > Am 21.09.2015 um 16:22 schrieb Maik Nergert : > > >> I'm now testing to serialize mysql and import to mysql again. > > > > This is working, so it's a problem with Pg > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mzagrabe at d.umn.edu Thu Sep 24 09:36:59 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Thu, 24 Sep 2015 08:36:59 -0500 Subject: [rt-users] Output contents of Custom field via command line In-Reply-To: <1443068589399-60701.post@n7.nabble.com> References: <1443068589399-60701.post@n7.nabble.com> Message-ID: You could write your own script. It's not that bad. Or perhaps try a dashboard, though those would email about the contents. On Sep 23, 2015 11:58 PM, "Yourevilness" wrote: > Hello, RT 4.2.11 on Centos 6 > > I'm trying to generate a list of all unresolved tickets via command line > and > output the contents of a custom field value to a log file. I have another > system checking this log file to verify the contents. > > Without going too far into the requirements. Is there any way to do this? > > I've tried RT-Crontool (Via Mysql), RT CLI queries etc. I can find the > tickets ID but cannot extract the correct information I am after. > > > CLI - /opt/rt4/bin/rt list -i "status != 'resolved' AND (Queue = > 'Operations')" > #This gives me a list of the tickets. > /opt/rt4/bin/rt show -t ticket 265550 -f 'CF.{A Number}' > #This gives me the contents of the custom field called "A number" > > I cannot seem to combine them into one command. > > Likewise with rt-crontool... I can gather the necessary ticket ID's but > cannot get any further information. > > I am aware of the REST interface and its ability to do what I am after, but > I've not had much luck with it creating issues with the Mysql process. > > > > -- > View this message in context: > http://requesttracker.8502.n7.nabble.com/Output-contents-of-Custom-field-via-command-line-tp60701.html > Sent from the Request Tracker - User mailing list archive at Nabble.com. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmurray at whoi.edu Thu Sep 24 10:40:12 2015 From: jmurray at whoi.edu (Jonathan Murray) Date: Thu, 24 Sep 2015 10:40:12 -0400 Subject: [rt-users] Internal server error Can't locate RT/Ex.pm solved In-Reply-To: <56032386.3040909@whoi.edu> References: <56032386.3040909@whoi.edu> Message-ID: <56040B4C.90002@whoi.edu> On 09/23/2015 06:11 PM, Jonathan Murray wrote: > Folks, I'm running: > > RT 4.2.9 > CentOS 6.7 > httpd-2.2.15-47.el6.centos.x86_64 > > when I go to the rt URL: > > Internal Server Error > > The server encountered an internal error or misconfiguration and was > unable to complete your request. > > Please contact the server administrator, root at localhost and inform them > of the time the error occurred, and anything you might have done that > may have caused the error. > > More information about this error may be available in the server error log. > Apache/2.2.15 (CentOS) Server at rtdev.whoi.edu Port 443 > > I checked /opt/rt4/var/log and discovered that I needed something called > > [1920] [Wed Sep 23 20:33:11 2015] [critical]: Can't locate > RT/Authen/ExternalAuth.pm 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 > /opt/rt4/sbin/../lib/RT.pm line 729. (/opt/rt4/sbin/../lib/RT.pm:388) > > so I got that via > > cpan> install RT::Authen::ExternalAuth > > seemed to work OK. Restarted the web server, > > Then I got this: > > [3160] [Wed Sep 23 21:39:04 2015] [critical]: Can't locate > RT/Extension/ActivityReports.pm in @INC (@INC contains: > /opt/rt4/sbin/../local/lib > /opt/rt4/local/plugins/RT-Authen-ExternalAuth/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 /opt/rt4/sbin/../lib/RT.pm line > 729, line 755. (/opt/rt4/sbin/../lib/RT.pm:388) > > I was able to get that install in > > /opt/rt4/local/plugins/RT-Extension-ActivityReports/lib/RT/Extension/ActivityReports.pm > > Now I'm looking for something called Ex.pm > > [3414] [Wed Sep 23 21:55:08 2015] [critical]: Can't locate RT/Ex.pm in > @INC (@INC contains: /opt/rt4/sbin/../local/lib > /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib > /opt/rt4/local/plugins/RT-Extension-ActivityReports/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 /opt/rt4/sbin/../lib/RT.pm line > 729, line 755. (/opt/rt4/sbin/../lib/RT.pm:388) > > Can someone direct me to a place where I can download that? I can't seem > to find that specific module anywhere. > > Also, if I can get that installed, is there a way to make sure that I > can get all the dependencies associated with it? Or is the normal mode > to just keep chasing each one individually. Happy to do that, or > (most)anything to get this running. Sorry, absolute beginner here. > > Thank you, Jonathan > This was a typo in /opt/rt4/etc/RT_SiteConfig.pm carriage return truncated the plugins line. Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::ActivityReports RT::Extension::CommandByMail) ); From Armen.Tashjian at sce.com Thu Sep 24 15:00:23 2015 From: Armen.Tashjian at sce.com (Armen Tashjian) Date: Thu, 24 Sep 2015 19:00:23 +0000 Subject: [rt-users] Adding HTML comment with a scrip Message-ID: Hello, I am trying to add a comment as a scrip with some html tags. For example: $self->TicketObj->Comment(Content=> "Hello", Type=>'text/html'); The "Type" parameter does not seem to do anything though. Is it not possible to add comments as HTML using a scrip? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at bestpractical.com Thu Sep 24 15:51:51 2015 From: todd at bestpractical.com (Todd Wade) Date: Thu, 24 Sep 2015 15:51:51 -0400 Subject: [rt-users] RT Not Sending Autoreply E-Mails On Ticket Creation Via E-Mail In-Reply-To: References: Message-ID: <56045457.5000401@bestpractical.com> On 9/23/15 2:01 PM, Tim Gustafson wrote: > I have an RT 4.2.11 instance that is not sending autoreply messages > when tickets are created via e-mail. If you create a ticket on behalf > of a user through the web form, an autoreply is sent. It's only when > a ticket is created via e-mail that an autoreply is not sent. The > Sendmail log file shows no attempt to send an autoreply, and no > outbound e-mail is recorded in the ticket's transaction history. Hi Tim, Set the log level to debug, and compare the output of creating a ticket in the UI and via email. Heres the config I use: Set($LogToFile, 'debug'); Set($LogDir, '/opt/rt4/var/log'); Set($LogToFileNamed, 'rt.log'); Regards, From tjg at ucsc.edu Thu Sep 24 17:42:35 2015 From: tjg at ucsc.edu (Tim Gustafson) Date: Thu, 24 Sep 2015 14:42:35 -0700 Subject: [rt-users] RT Not Sending Autoreply E-Mails On Ticket Creation Via E-Mail In-Reply-To: <56045457.5000401@bestpractical.com> References: <56045457.5000401@bestpractical.com> Message-ID: > Set the log level to debug, and compare the output of creating a ticket in > the UI and via email. Heres the config I use: Here's what I see: Committing scrip #5 on txn #28447 of ticket #1938 (/usr/local/lib/perl5/site_perl/RT/Scrips.pm:290) Calling SetRecipientDigests for transaction RT::Transaction=HASH(0x81294e168), id 28447 (/usr/local/lib/perl5/site_perl/RT/Action/SendEmail.pm:624) Working on mailfield To; recipients are (/usr/local/lib/perl5/site_perl/RT/Action/SendEmail.pm:640) So that last line is the one that's odd; the "recipients are" part seems to suggest that there should be a recipient listed there, but it's not. Here's the same section for a ticket created via the web: Committing scrip #5 on txn #28453 of ticket #1939 (/usr/local/lib/perl5/site_perl/RT/Scrips.pm:290) Calling SetRecipientDigests for transaction RT::Transaction=HASH(0x813452d68), id 28453 (/usr/local/lib/perl5/site_perl/RT/Action/SendEmail.pm:624) Working on mailfield To; recipients are tjg at ucsc.edu (/usr/local/lib/perl5/site_perl/RT/Action/SendEmail.pm:640) I think the problem is that NotifyActor is set to 0; when I changed it to 1, the e-mail originator got their autoreply. But it seems to me that an autoreply should go out, even if NotifyActor is set to 0. Did something change around that option recently? -- Tim Gustafson Technical Lead, Baskin School of Engineering tjg at ucsc.edu 831-459-5354 Baskin Engineering, Room 313A From cloos at netcologne.de Fri Sep 25 02:32:35 2015 From: cloos at netcologne.de (Christian Loos) Date: Fri, 25 Sep 2015 08:32:35 +0200 Subject: [rt-users] RT Not Sending Autoreply E-Mails On Ticket Creation Via E-Mail In-Reply-To: References: <56045457.5000401@bestpractical.com> Message-ID: <5604EA83.7050703@netcologne.de> Am 24.09.2015 um 23:42 schrieb Tim Gustafson: > I think the problem is that NotifyActor is set to 0; when I changed it > to 1, the e-mail originator got their autoreply. But it seems to me > that an autoreply should go out, even if NotifyActor is set to 0. Did > something change around that option recently? This is the difference between the Notify* actions, which respects the NotifyActor setting, and the "Autoreply To Requestors" action, which sends always an auto reply regarding of the NotifyActor setting. The screen shot of your scrips shows, that you only user the Notify* actions and don't have a script which uses the "Autoreply To Requestors" action. The "On Create Autoreply To Requestors" scrip [1], which is created on RT installation, is missing. Chris [1] https://github.com/bestpractical/rt/blob/stable/etc/initialdata#L759-L762 From mzagrabe at d.umn.edu Fri Sep 25 09:37:53 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Fri, 25 Sep 2015 08:37:53 -0500 Subject: [rt-users] Adding HTML comment with a scrip In-Reply-To: References: Message-ID: Hi Armen, On Thu, Sep 24, 2015 at 2:00 PM, Armen Tashjian wrote: > Hello, > > > > I am trying to add a comment as a scrip with some html tags. For example: > > > > $self->TicketObj->Comment(Content=> ?Hello?, > Type=>'text/html'); > > > > The ?Type? parameter does not seem to do anything though. Is it not > possible to add comments as HTML using a scrip? I notice you are using the word, "scrip". Without a 't' the word has a different connotation in RT. With a 't', like script, it means a perl script - which your code fragment above suggests you are doing. Which one are you talking about: scrip or script? Cheers, -m From anton.panetta at haircareaust.com Mon Sep 28 22:40:06 2015 From: anton.panetta at haircareaust.com (Anton Panetta) Date: Tue, 29 Sep 2015 02:40:06 +0000 Subject: [rt-users] RT External Auth Ldap pass on to Custom Fields Message-ID: Hi I see several questions around the web, with incomplete answers to this. Which suggests people have tried and succeeded, or given up. RT 4.2.11 RT External Auth 0.25 What I am trying to achieve is the use of RT External auth to pull in or refresh user details on login, I am aware I could use ldap import but a more real time process makes more sense to me. My goal is to be able to pull in ldap fields into custom fields, eg department, Company, for use elsewhere. I can map existing attr no problem, but its when I get to custom fields that I run into issue Everything I have read suggests it should be either UserCF.CustomFieldName CF.CustomFieldName UserCF.{CustomFieldName} CF.{CustomFieldName} or even {CustomFieldName} Am I barking up the wrong tree, is this actually not possible, do I need to declare it somewhere else first or am I just getting the syntax wrong Here is what I have defined as the attr_map 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'RealName' => 'cn', 'WorkPhone' => 'telephoneNumber', 'MobilePhone' => 'mobile', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co', 'CF.Department' => 'department', If anyone has managed success in this in the past id appreciate knowing what I am missing. Here is a snip of the log I get It shows the department string is being pulled from Ldap (AD in this instance) and then failing due like 748 in Record.pm (which I assume is me putting the wrong prefix to the CF sending it the wrong way) [4828] [Tue Sep 29 02:00:17 2015] [info]: RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK ( My_LDAP ): snip (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:301) [4828] [Tue Sep 29 02:00:17 2015] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Address1: , CF.Department: IT, City: Hindmarsh, Country: Australia, EmailAddress: snip, MobilePhone: snip , Name: snip, RealName: snip, State: South Australia, WorkPhone: snip , Zip: 5007 (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:868) [4828] [Tue Sep 29 02:00:17 2015] [warning]: Use of uninitialized value $column in hash element at /opt/rt4/sbin/../lib/RT/Record.pm line 748. (/opt/rt4/sbin/../lib/RT/Record.pm:748) [4828] [Tue Sep 29 02:00:17 2015] [warning]: Use of uninitialized value $column in hash element at /opt/rt4/sbin/../lib/RT/Record.pm line 748. (/opt/rt4/sbin/../lib/RT/Record.pm:748) [4828] [Tue Sep 29 02:00:17 2015] [warning]: Use of uninitialized value $column in hash element at /opt/rt4/sbin/../lib/RT/Record.pm line 748. (/opt/rt4/sbin/../lib/RT/Record.pm:748) [4828] [Tue Sep 29 02:00:17 2015] [warning]: Use of uninitialized value $column in hash element at /opt/rt4/sbin/../lib/RT/Record.pm line 748. (/opt/rt4/sbin/../lib/RT/Record.pm:748) [4828] [Tue Sep 29 02:00:17 2015] [warning]: Use of uninitialized value $column in hash element at /opt/rt4/sbin/../lib/RT/Record.pm line 748. (/opt/rt4/sbin/../lib/RT/Record.pm:748) [4828] [Tue Sep 29 02:00:17 2015] [warning]: Use of uninitialized value $column in hash element at /opt/rt4/sbin/../lib/RT/Record.pm line 748. (/opt/rt4/sbin/../lib/RT/Record.pm:748) [4828] [Tue Sep 29 02:00:17 2015] [error]: RT::User::CF.Department Unimplemented in RT::Record. (/opt/rt4/sbin/../lib/RT/Record.pm line 983) Regards Anton The information contained in this email message and any attachments may be confidential information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you have received this email in error, please advise us immediately and delete the email and all copies. The content and opinions in non-business email are not necessarily those of Haircare Australia. [http://thinkbeforeprinting.org/struct/signature-1.gif] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sven.sternberger at desy.de Tue Sep 29 04:22:11 2015 From: sven.sternberger at desy.de (Sternberger, Sven) Date: Tue, 29 Sep 2015 10:22:11 +0200 (CEST) Subject: [rt-users] RT stops occasionally sending mail Message-ID: <1309051005.27044798.1443514931517.JavaMail.zimbra@desy.de> Hello! I use RT4.2.11 on Ubuntu14.04 since a week I notice that mail occasionally is not sended by notify scrips. They are also not in the history and in the log I see Sep 28 13:40:40 rthost RT: [16910] Scrip Prepare 483 died. - Can't locate object method "" via package "RT::Action::Notify" at /opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm line 594.#012#012Stack:#012 [/opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm:594]#012 [/opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm:152]#012 [/opt/rt4/sbin/../lib/RT/Action/Notify.pm:69]#012 [/opt/rt4/sbin/../lib/RT/ScripAction.pm:223]#012 [/opt/rt4/sbin/../lib/RT/Scrip.pm:637]#012 [/opt/rt4/sbin/../lib/RT/Scrips.pm:342]#012 [/opt/rt4/sbin/../lib/RT/Transaction.pm:189]#012 [/opt/rt4/sbin/../lib/RT/Record.pm:1693]#012 [/opt/rt4/sbin/../lib/RT/Ticket.pm:1613]#012 [/opt/rt4/sbin/../lib/RT/Ticket.pm:1506]#012 [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:2349]#012 [/opt/rt4/share/html/Ticket/Display.html:165]#012 [/opt/rt4/local/html/Ticket/Update.html:304]#012 [/opt/rt4/share/html/Ticket/autohandler:66]#012 [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]#012 [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]#012 [/opt/rt4/share/html/autohandler:53] or Sep 24 15:16:31 rthost RT: [26426] Scrip Prepare 481 died. - Can't locate object method "" via package "MIME::Entity" at /opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm line 180.#012#012Stack:#012 [/opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm:180]#012 [/opt/rt4/sbin/../lib/RT/Action/Notify.pm:69]#012 [/opt/rt4/sbin/../lib/RT/ScripAction.pm:223]#012 [/opt/rt4/sbin/../lib/RT/Scrip.pm:637]#012 [/opt/rt4/sbin/../lib/RT/Scrips.pm:342]#012 [/opt/rt4/sbin/../lib/RT/Transaction.pm:189]#012 [/opt/rt4/sbin/../lib/RT/Record.pm:1693]#012 [/opt/rt4/sbin/../lib/RT/Ticket.pm:1613]#012 [/opt/rt4/sbin/../lib/RT/Ticket.pm:1506]#012 [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:2349]#012 [/opt/rt4/share/html/Ticket/Display.html:165]#012 [/opt/rt4/local/html/Ticket/Update.html:304]#012 [/opt/rt4/share/html/Ticket/autohandler:66]#012 [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]#012 [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]#012 [/opt/rt4/share/html/autohandler:53] In the webserver log I can't see anything special. Any idea what could be the problem regards Sven Sven Sternberger System Engineer Tel.: 040/8998-4397 DESY IT From sally.ainsley at lifecycle-software.com Tue Sep 29 11:05:30 2015 From: sally.ainsley at lifecycle-software.com (Sally Ainsley) Date: Tue, 29 Sep 2015 16:05:30 +0100 Subject: [rt-users] Can I use % wildcard within Query Builder on QUEUES? Message-ID: <01c101d0fac8$48ad8940$da089bc0$@lifecycle-software.com> Dear All I have a range of queries I am trying to create in QUERY BUILDER where I want to include or exclude a list of QUEUES. E.g. QUEUE NAME 1 = BLUE QUEUE NAME 2 = BLUE -UAT QUEUE NAME 3 = RED QUEUE NAME 2 = RED-UAT I would like to be able to include or exclude QUEUES with the letters "UAT" within them. Using the ADVANCED option of the QUERY BUILDER I have tried: a) Queue = '_%UAT' or Queue! = '_%UAT' b) Queue = '%UAT' or Queue! = '%UAT' I have also tried to use MATCHES or LIKE instead of '=' but I cannot get any of this to work. I have spent the last hour and a half searching on-line and have tried various things can anyone confirm if it is possible to search using the Wildcard characters on QUEUES within QUREY BUILDER? And if YES - how could I get the above to work. Many thanks in advance Sally Sally Ainsley -------------- next part -------------- An HTML attachment was scrubbed... URL: From mzagrabe at d.umn.edu Tue Sep 29 11:27:22 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Tue, 29 Sep 2015 10:27:22 -0500 Subject: [rt-users] Fwd: Can I use % wildcard within Query Builder on QUEUES? In-Reply-To: <01c101d0fac8$48ad8940$da089bc0$@lifecycle-software.com> References: <01c101d0fac8$48ad8940$da089bc0$@lifecycle-software.com> Message-ID: On Tue, Sep 29, 2015 at 10:05 AM, Sally Ainsley wrote: > Dear All > > > > I have a range of queries I am trying to create in QUERY BUILDER where I > want to include or exclude a list of QUEUES. > > > > E.g. > > QUEUE NAME 1 = BLUE > > QUEUE NAME 2 = BLUE -UAT > > QUEUE NAME 3 = RED > > QUEUE NAME 2 = RED-UAT > > > > I would like to be able to include or exclude QUEUES with the letters ?UAT? > within them. > > > > Using the ADVANCED option of the QUERY BUILDER I have tried: > > > > a) Queue = '_%UAT' or Queue! = '_%UAT' > > b) Queue = ?%UAT? or Queue! = '%UAT' > > > > I have also tried to use MATCHES or LIKE instead of ?=? but I cannot get any > of this to work. If it were to work, "LIKE" would be the operator. However, I don't think it will work. If you look at the Search Builder page, there is only "is" and "isn't" in the drop down for building the Queue predicate. I just tried it with LIKE and got the following error: [error]: Couldn't parse query: Invalid Operation: LIKE for Queue at /opt/rt4/sbin/../lib/RT/Tickets.pm line 368. That said, depending on what your final needs are you could write some supporting perl to achieve a similar effect: # Not tested... my @matching_queues = (); my $Queues = RT::Queues->new($session{CurrentUser}); while (my $Queue = $Queues->next) { if ($Queue->Name =~ /UAT$/) { push @matching_queues, $Queue->Name; } } my $sql = join ' OR ', map { "Queue = '$_'" }, @matching_queues, ; my $Tickets = RT::Tickets->new($session{CurrentUser}); $Tickets->FromSQL($sql); # end of untested code. Perhaps that would help. -m From sally.ainsley at lifecycle-software.com Tue Sep 29 11:32:22 2015 From: sally.ainsley at lifecycle-software.com (Sally Ainsley) Date: Tue, 29 Sep 2015 16:32:22 +0100 Subject: [rt-users] Can I use % wildcard within Query Builder on QUEUES? In-Reply-To: References: <01c101d0fac8$48ad8940$da089bc0$@lifecycle-software.com> Message-ID: <01ee01d0facc$09a11b50$1ce351f0$@lifecycle-software.com> Thanks Matt for prompt response I was hoping to do something in the Query Builder as I would need to secure some technical resource internally to go down the perl route as I don't have the knowledge for perl. I got the same error as you below when I tried the LIKE operator. Perhaps LIKE doesn?t work on the QUEUE field for some reason. Sally Ainsley | Lifecycle Software | T: 01635 553427 -----Original Message----- From: Matt Zagrabelny [mailto:mzagrabe at d.umn.edu] Sent: 29 September 2015 16:27 To: sally.ainsley at lifecycle-software.com; rt-users Subject: Fwd: [rt-users] Can I use % wildcard within Query Builder on QUEUES? On Tue, Sep 29, 2015 at 10:05 AM, Sally Ainsley wrote: > Dear All > > > > I have a range of queries I am trying to create in QUERY BUILDER where > I want to include or exclude a list of QUEUES. > > > > E.g. > > QUEUE NAME 1 = BLUE > > QUEUE NAME 2 = BLUE -UAT > > QUEUE NAME 3 = RED > > QUEUE NAME 2 = RED-UAT > > > > I would like to be able to include or exclude QUEUES with the letters ?UAT? > within them. > > > > Using the ADVANCED option of the QUERY BUILDER I have tried: > > > > a) Queue = '_%UAT' or Queue! = '_%UAT' > > b) Queue = ?%UAT? or Queue! = '%UAT' > > > > I have also tried to use MATCHES or LIKE instead of ?=? but I cannot > get any of this to work. If it were to work, "LIKE" would be the operator. However, I don't think it will work. If you look at the Search Builder page, there is only "is" and "isn't" in the drop down for building the Queue predicate. I just tried it with LIKE and got the following error: [error]: Couldn't parse query: Invalid Operation: LIKE for Queue at /opt/rt4/sbin/../lib/RT/Tickets.pm line 368. That said, depending on what your final needs are you could write some supporting perl to achieve a similar effect: # Not tested... my @matching_queues = (); my $Queues = RT::Queues->new($session{CurrentUser}); while (my $Queue = $Queues->next) { if ($Queue->Name =~ /UAT$/) { push @matching_queues, $Queue->Name; } } my $sql = join ' OR ', map { "Queue = '$_'" }, @matching_queues, ; my $Tickets = RT::Tickets->new($session{CurrentUser}); $Tickets->FromSQL($sql); # end of untested code. Perhaps that would help. -m From mzagrabe at d.umn.edu Tue Sep 29 11:39:34 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Tue, 29 Sep 2015 10:39:34 -0500 Subject: [rt-users] Can I use % wildcard within Query Builder on QUEUES? In-Reply-To: <01ee01d0facc$09a11b50$1ce351f0$@lifecycle-software.com> References: <01c101d0fac8$48ad8940$da089bc0$@lifecycle-software.com> <01ee01d0facc$09a11b50$1ce351f0$@lifecycle-software.com> Message-ID: On Tue, Sep 29, 2015 at 10:32 AM, Sally Ainsley wrote: > Thanks Matt for prompt response > > I was hoping to do something in the Query Builder as I would need to secure some technical resource internally to go down the perl route as I don't have the knowledge for perl. Sure. > I got the same error as you below when I tried the LIKE operator. Perhaps LIKE doesn?t work on the QUEUE field for some reason. Without looking into the code, there is a limitation on operators that can be used with the Queue in building your search. You could: A. File a feature request asking for LIKE (or matches) to be added to the operator list. I can't comment on the likelihood of it getting cycles for a future release. B. A perl dev in your company could hack up a patch to support it. C. Ask Best Practical for a quote to get RT to do what you'd like. Cheers, -m From mzagrabe at d.umn.edu Tue Sep 29 11:41:46 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Tue, 29 Sep 2015 10:41:46 -0500 Subject: [rt-users] Can I use % wildcard within Query Builder on QUEUES? In-Reply-To: References: <01c101d0fac8$48ad8940$da089bc0$@lifecycle-software.com> <01ee01d0facc$09a11b50$1ce351f0$@lifecycle-software.com> Message-ID: On Tue, Sep 29, 2015 at 10:38 AM, Bryon Baker wrote: > Hello Sally and Mat > The like phrase works you just need to use the "Advanced" button at top of page. At that point you can type in the phrase you would like. Sure. But not for Queue. ;) LIKE isn't supported for Queues. > I use this phrase in reports because I do not want the data in my calculations. > > Requestor.EmailAddress Not Like '%DAEMON%' You don't need the percent signs. RT adds them automatically. -m From sally.ainsley at lifecycle-software.com Tue Sep 29 12:01:51 2015 From: sally.ainsley at lifecycle-software.com (Sally Ainsley) Date: Tue, 29 Sep 2015 17:01:51 +0100 Subject: [rt-users] Can I use % wildcard within Query Builder on QUEUES? In-Reply-To: References: <01c101d0fac8$48ad8940$da089bc0$@lifecycle-software.com> <01ee01d0facc$09a11b50$1ce351f0$@lifecycle-software.com> Message-ID: <020401d0fad0$27fa6fd0$77ef4f70$@lifecycle-software.com> Hi Matt and Byron Many thanks for your input I think I have a work around. I tried the LIKE option in the Advanced button at the top of the page but I get the horrid red "Couldn't parse query" error that Matt described in the email trail. So for some reason whilst LIKE works with Fields like Requestor.EmailAddress field (as per Byron's email) it does not work on QUEUE. I have therefore reviewed the options within the QUERY BUILDER where 'matches' is a drop down option. There is a long list of fields where this would work (not just REQUESTOR) and one of these is QueueAdminCC. So what I have done is created a Test User in RT and put this Test User as the QueueAdminCC for my Queues which have a name with "UAT "in them. I can then write Queries with the QUERY BUILDER or the ADVANCED BUTTON that include [QueueCc.Name LIKE 'test'] as one of the rules to get all my UAT Queues This is not ideal but I can now write queries to select several queues that I will not need to update each time we add a new Queue - I will simply update our internal instructions so that when new Queues are set up them up with the Test user in the QueueAdminCC field. Many thanks Sally -----Original Message----- From: Bryon Baker [mailto:bbaker at copesan.com] Sent: 29 September 2015 16:38 To: Sally Ainsley ; 'Matt Zagrabelny' ; 'rt-users' Subject: RE: [rt-users] Can I use % wildcard within Query Builder on QUEUES? Hello Sally and Mat The like phrase works you just need to use the "Advanced" button at top of page. At that point you can type in the phrase you would like. I use this phrase in reports because I do not want the data in my calculations. Requestor.EmailAddress Not Like '%DAEMON%' Thanks Bryon Baker Network Operations Manager Copesan - Specialists in Pest Solutions 800-267-3726 ? 262-783-6261 ext. 2296 bbaker at copesan.com www.copesan.com "Servicing North America with Local Care" -----Original Message----- From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Sally Ainsley Sent: Tuesday, September 29, 2015 10:32 AM To: 'Matt Zagrabelny'; 'rt-users' Subject: Re: [rt-users] Can I use % wildcard within Query Builder on QUEUES? Thanks Matt for prompt response I was hoping to do something in the Query Builder as I would need to secure some technical resource internally to go down the perl route as I don't have the knowledge for perl. I got the same error as you below when I tried the LIKE operator. Perhaps LIKE doesn?t work on the QUEUE field for some reason. Sally Ainsley | Lifecycle Software | T: 01635 553427 -----Original Message----- From: Matt Zagrabelny [mailto:mzagrabe at d.umn.edu] Sent: 29 September 2015 16:27 To: sally.ainsley at lifecycle-software.com; rt-users Subject: Fwd: [rt-users] Can I use % wildcard within Query Builder on QUEUES? On Tue, Sep 29, 2015 at 10:05 AM, Sally Ainsley wrote: > Dear All > > > > I have a range of queries I am trying to create in QUERY BUILDER where > I want to include or exclude a list of QUEUES. > > > > E.g. > > QUEUE NAME 1 = BLUE > > QUEUE NAME 2 = BLUE -UAT > > QUEUE NAME 3 = RED > > QUEUE NAME 2 = RED-UAT > > > > I would like to be able to include or exclude QUEUES with the letters ?UAT? > within them. > > > > Using the ADVANCED option of the QUERY BUILDER I have tried: > > > > a) Queue = '_%UAT' or Queue! = '_%UAT' > > b) Queue = ?%UAT? or Queue! = '%UAT' > > > > I have also tried to use MATCHES or LIKE instead of ?=? but I cannot > get any of this to work. If it were to work, "LIKE" would be the operator. However, I don't think it will work. If you look at the Search Builder page, there is only "is" and "isn't" in the drop down for building the Queue predicate. I just tried it with LIKE and got the following error: [error]: Couldn't parse query: Invalid Operation: LIKE for Queue at /opt/rt4/sbin/../lib/RT/Tickets.pm line 368. That said, depending on what your final needs are you could write some supporting perl to achieve a similar effect: # Not tested... my @matching_queues = (); my $Queues = RT::Queues->new($session{CurrentUser}); while (my $Queue = $Queues->next) { if ($Queue->Name =~ /UAT$/) { push @matching_queues, $Queue->Name; } } my $sql = join ' OR ', map { "Queue = '$_'" }, @matching_queues, ; my $Tickets = RT::Tickets->new($session{CurrentUser}); $Tickets->FromSQL($sql); # end of untested code. Perhaps that would help. -m From vangoor.bharath at gmail.com Tue Sep 29 12:58:21 2015 From: vangoor.bharath at gmail.com (bharath reddy) Date: Tue, 29 Sep 2015 12:58:21 -0400 Subject: [rt-users] Regarding incoming mails. Message-ID: Dear All, I've upgraded RT from 4.0.8 to 4.2.12 recently and found that I'm not able to receive mails to the server but when I'm updating tickets from Web then users are receiving the update mails. Basically my machine is not able to receive mails but able to send mails. Any help or pointers to this issue will be appreciated. Thanks, Bharath. -------------- next part -------------- An HTML attachment was scrubbed... URL: From trevor at onepost.net Tue Sep 29 13:03:35 2015 From: trevor at onepost.net (Trev) Date: Tue, 29 Sep 2015 13:03:35 -0400 Subject: [rt-users] Regarding incoming mails. In-Reply-To: References: Message-ID: Are you using fetchmail ? Error logs ? On Tue, Sep 29, 2015 at 12:58 PM, bharath reddy wrote: > Dear All, > > I've upgraded RT from 4.0.8 to 4.2.12 recently and found that I'm not able > to receive mails to the server but when I'm updating tickets from Web then > users are receiving the update mails. Basically my machine is not able to > receive mails but able to send mails. Any help or pointers to this issue > will be appreciated. > > Thanks, > Bharath. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vangoor.bharath at gmail.com Tue Sep 29 13:10:32 2015 From: vangoor.bharath at gmail.com (bharath reddy) Date: Tue, 29 Sep 2015 13:10:32 -0400 Subject: [rt-users] Regarding incoming mails. In-Reply-To: References: Message-ID: Hi Trev, I can see following error in my logs : Sep 29 10:30:52 devrt sm-mta[9167]: t8TEUpif009167: ruleset=check_rcpt, arg1=, relay=mail-wi0-f179.google.com [209.85.212.179], reject=550 5.7.1 ... Relaying denied Sep 29 10:30:52 devrt sm-mta[9167]: t8TEUpif009167: from=< bvangoor at cs.stonybrook.edu>, size=2400, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=mail-wi0-f179.google.com [209.85.212.179] and also this : Sep 29 12:33:05 devrt sm-mta[11503]: t8TGX4n2011503: devrt.cs.stonybrook.edu [130.245.27.22] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA Sep 29 12:33:25 devrt sm-mta[11504]: t8TGXOHh011504: devrt.cs.stonybrook.edu [130.245.27.22] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA Thanks, Bharath. On Tue, Sep 29, 2015 at 1:03 PM, Trev wrote: > Are you using fetchmail ? > Error logs ? > > On Tue, Sep 29, 2015 at 12:58 PM, bharath reddy > wrote: > >> Dear All, >> >> I've upgraded RT from 4.0.8 to 4.2.12 recently and found that I'm not >> able to receive mails to the server but when I'm updating tickets from Web >> then users are receiving the update mails. Basically my machine is not able >> to receive mails but able to send mails. Any help or pointers to this issue >> will be appreciated. >> >> Thanks, >> Bharath. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbaker at copesan.com Tue Sep 29 11:38:03 2015 From: bbaker at copesan.com (Bryon Baker) Date: Tue, 29 Sep 2015 15:38:03 +0000 Subject: [rt-users] Can I use % wildcard within Query Builder on QUEUES? In-Reply-To: <01ee01d0facc$09a11b50$1ce351f0$@lifecycle-software.com> References: <01c101d0fac8$48ad8940$da089bc0$@lifecycle-software.com> <01ee01d0facc$09a11b50$1ce351f0$@lifecycle-software.com> Message-ID: Hello Sally and Mat The like phrase works you just need to use the "Advanced" button at top of page. At that point you can type in the phrase you would like. I use this phrase in reports because I do not want the data in my calculations. Requestor.EmailAddress Not Like '%DAEMON%' Thanks Bryon Baker Network Operations Manager Copesan - Specialists in Pest Solutions 800-267-3726? ?? 262-783-6261 ext. 2296 bbaker at copesan.com www.copesan.com "Servicing North America with Local Care" -----Original Message----- From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Sally Ainsley Sent: Tuesday, September 29, 2015 10:32 AM To: 'Matt Zagrabelny'; 'rt-users' Subject: Re: [rt-users] Can I use % wildcard within Query Builder on QUEUES? Thanks Matt for prompt response I was hoping to do something in the Query Builder as I would need to secure some technical resource internally to go down the perl route as I don't have the knowledge for perl. I got the same error as you below when I tried the LIKE operator. Perhaps LIKE doesn?t work on the QUEUE field for some reason. Sally Ainsley | Lifecycle Software | T: 01635 553427 -----Original Message----- From: Matt Zagrabelny [mailto:mzagrabe at d.umn.edu] Sent: 29 September 2015 16:27 To: sally.ainsley at lifecycle-software.com; rt-users Subject: Fwd: [rt-users] Can I use % wildcard within Query Builder on QUEUES? On Tue, Sep 29, 2015 at 10:05 AM, Sally Ainsley wrote: > Dear All > > > > I have a range of queries I am trying to create in QUERY BUILDER where > I want to include or exclude a list of QUEUES. > > > > E.g. > > QUEUE NAME 1 = BLUE > > QUEUE NAME 2 = BLUE -UAT > > QUEUE NAME 3 = RED > > QUEUE NAME 2 = RED-UAT > > > > I would like to be able to include or exclude QUEUES with the letters ?UAT? > within them. > > > > Using the ADVANCED option of the QUERY BUILDER I have tried: > > > > a) Queue = '_%UAT' or Queue! = '_%UAT' > > b) Queue = ?%UAT? or Queue! = '%UAT' > > > > I have also tried to use MATCHES or LIKE instead of ?=? but I cannot > get any of this to work. If it were to work, "LIKE" would be the operator. However, I don't think it will work. If you look at the Search Builder page, there is only "is" and "isn't" in the drop down for building the Queue predicate. I just tried it with LIKE and got the following error: [error]: Couldn't parse query: Invalid Operation: LIKE for Queue at /opt/rt4/sbin/../lib/RT/Tickets.pm line 368. That said, depending on what your final needs are you could write some supporting perl to achieve a similar effect: # Not tested... my @matching_queues = (); my $Queues = RT::Queues->new($session{CurrentUser}); while (my $Queue = $Queues->next) { if ($Queue->Name =~ /UAT$/) { push @matching_queues, $Queue->Name; } } my $sql = join ' OR ', map { "Queue = '$_'" }, @matching_queues, ; my $Tickets = RT::Tickets->new($session{CurrentUser}); $Tickets->FromSQL($sql); # end of untested code. Perhaps that would help. -m From tibbs at math.uh.edu Tue Sep 29 13:18:16 2015 From: tibbs at math.uh.edu (Jason L Tibbitts III) Date: Tue, 29 Sep 2015 12:18:16 -0500 Subject: [rt-users] Getting rid of mis-spelled users Message-ID: Occasionally our office folks will create a ticket and CC an address which does not exist. And once they've done this, these addresses appear in the dropdown so they keep getting chosen. The bounces don't go anywhere useful yet (though I'm trying to set up some kind of bounce parsing). Is there any way for me to get rid of these bogus addresses? I can't just delete them, but I would merge them all into the correct addresses if I could. In addition, whenever we get spam, those addresses enter the list as well and it would be nice to clean them up somehow. I know those users are still referenced in tickets which is why I can't just delete a user. I'm thinking this is one of those things that requires direct database manipulation and I'd hate to screw things up. - J< From trevor at onepost.net Tue Sep 29 13:34:46 2015 From: trevor at onepost.net (Trev) Date: Tue, 29 Sep 2015 13:34:46 -0400 Subject: [rt-users] Regarding incoming mails. In-Reply-To: References: Message-ID: Just to be clear here: *Broken*: Fetchmail from your RT server, pulling email from an account on your email server (exchange or whatever) *Working*: Sendmail from your RT server, pushing notifications from the RT server to your email recipients The error you post, looks like sendmail errors... not fetchmail... /var/log/fetchmail.log Also, the fetchmail configuration file could be useful. (please replace passwords and other identifiers in your copy paste) Thanks, Trev On Tue, Sep 29, 2015 at 1:10 PM, bharath reddy wrote: > Hi Trev, > > I can see following error in my logs : > > Sep 29 10:30:52 devrt sm-mta[9167]: t8TEUpif009167: ruleset=check_rcpt, > arg1=, relay=mail-wi0-f179.google.com > [209.85.212.179], reject=550 5.7.1 ... Relaying > denied > Sep 29 10:30:52 devrt sm-mta[9167]: t8TEUpif009167: from=< > bvangoor at cs.stonybrook.edu>, size=2400, class=0, nrcpts=0, proto=ESMTP, > daemon=MTA, relay=mail-wi0-f179.google.com [209.85.212.179] > > and also this : > > Sep 29 12:33:05 devrt sm-mta[11503]: t8TGX4n2011503: > devrt.cs.stonybrook.edu [130.245.27.22] did not issue MAIL/EXPN/VRFY/ETRN > during connection to MTA > Sep 29 12:33:25 devrt sm-mta[11504]: t8TGXOHh011504: > devrt.cs.stonybrook.edu [130.245.27.22] did not issue MAIL/EXPN/VRFY/ETRN > during connection to MTA > > Thanks, > Bharath. > > > On Tue, Sep 29, 2015 at 1:03 PM, Trev wrote: > >> Are you using fetchmail ? >> Error logs ? >> >> On Tue, Sep 29, 2015 at 12:58 PM, bharath reddy < >> vangoor.bharath at gmail.com> wrote: >> >>> Dear All, >>> >>> I've upgraded RT from 4.0.8 to 4.2.12 recently and found that I'm not >>> able to receive mails to the server but when I'm updating tickets from Web >>> then users are receiving the update mails. Basically my machine is not able >>> to receive mails but able to send mails. Any help or pointers to this issue >>> will be appreciated. >>> >>> Thanks, >>> Bharath. >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gaston at huot.me Tue Sep 29 14:02:37 2015 From: Gaston at huot.me (Gaston Huot) Date: Tue, 29 Sep 2015 15:02:37 -0300 Subject: [rt-users] How to measure progress on a task with a performance indicator evolving with time. Message-ID: I'm helping on a project in Ha?ti (on a volontary base). They use a Results Based Management (RBM) process. I'm trying to use RT to support their work, having RT delivering what is required by RBM The concept uses many entities: - Ultimate outcome, depending on: - Intermediate outcomes, depending on: - Immediate outcomes, depending on: - Outputs - Activities/sub-act For each outcome, there is a target and on a pre-defined frequency there is an assessment made to measure progress and compare it to the expected results. Right now I have a queue for each of the above, and one for the expected results. All theses are linked together. So far so good. My problem is with the reporting of the progress. What would be the most efficient and simpler way to capture the indicator at a specific moment toward an expected result (which is a task in my actual model) and keep it for reporting. The indicator could be a number (% and absolute numbers) or a level represented by a letter) Sorry if it is not more "clear". Thanks Gaston -------------- next part -------------- An HTML attachment was scrubbed... URL: From vangoor.bharath at gmail.com Tue Sep 29 14:28:02 2015 From: vangoor.bharath at gmail.com (bharath reddy) Date: Tue, 29 Sep 2015 14:28:02 -0400 Subject: [rt-users] Regarding incoming mails. In-Reply-To: References: Message-ID: Thanks Trev for the quick response, there was a problem with our mail sending server which was the reason RT was not able to receive the mails. We fixed it and now RT is able to receive the mails and generate the tickets automatically. Thanks once again for the help. Thanks, Bharath. On Tue, Sep 29, 2015 at 1:34 PM, Trev wrote: > Just to be clear here: > > *Broken*: Fetchmail from your RT server, pulling email from an account > on your email server (exchange or whatever) > > *Working*: Sendmail from your RT server, pushing notifications from the > RT server to your email recipients > > The error you post, looks like sendmail errors... not fetchmail... > > /var/log/fetchmail.log > > Also, the fetchmail configuration file could be useful. (please replace > passwords and other identifiers in your copy paste) > > Thanks, > > Trev > > On Tue, Sep 29, 2015 at 1:10 PM, bharath reddy > wrote: > >> Hi Trev, >> >> I can see following error in my logs : >> >> Sep 29 10:30:52 devrt sm-mta[9167]: t8TEUpif009167: ruleset=check_rcpt, >> arg1=, relay=mail-wi0-f179.google.com >> [209.85.212.179], reject=550 5.7.1 ... Relaying >> denied >> Sep 29 10:30:52 devrt sm-mta[9167]: t8TEUpif009167: from=< >> bvangoor at cs.stonybrook.edu>, size=2400, class=0, nrcpts=0, proto=ESMTP, >> daemon=MTA, relay=mail-wi0-f179.google.com [209.85.212.179] >> >> and also this : >> >> Sep 29 12:33:05 devrt sm-mta[11503]: t8TGX4n2011503: >> devrt.cs.stonybrook.edu [130.245.27.22] did not issue >> MAIL/EXPN/VRFY/ETRN during connection to MTA >> Sep 29 12:33:25 devrt sm-mta[11504]: t8TGXOHh011504: >> devrt.cs.stonybrook.edu [130.245.27.22] did not issue >> MAIL/EXPN/VRFY/ETRN during connection to MTA >> >> Thanks, >> Bharath. >> >> >> On Tue, Sep 29, 2015 at 1:03 PM, Trev wrote: >> >>> Are you using fetchmail ? >>> Error logs ? >>> >>> On Tue, Sep 29, 2015 at 12:58 PM, bharath reddy < >>> vangoor.bharath at gmail.com> wrote: >>> >>>> Dear All, >>>> >>>> I've upgraded RT from 4.0.8 to 4.2.12 recently and found that I'm not >>>> able to receive mails to the server but when I'm updating tickets from Web >>>> then users are receiving the update mails. Basically my machine is not able >>>> to receive mails but able to send mails. Any help or pointers to this issue >>>> will be appreciated. >>>> >>>> Thanks, >>>> Bharath. >>>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From trevor at onepost.net Tue Sep 29 14:32:37 2015 From: trevor at onepost.net (Trev) Date: Tue, 29 Sep 2015 14:32:37 -0400 Subject: [rt-users] Regarding incoming mails. In-Reply-To: References: Message-ID: Awesome! On Tue, Sep 29, 2015 at 2:28 PM, bharath reddy wrote: > Thanks Trev for the quick response, there was a problem with our mail > sending server which was the reason RT was not able to receive the mails. > We fixed it and now RT is able to receive the mails and generate the > tickets automatically. Thanks once again for the help. > > Thanks, > Bharath. > > On Tue, Sep 29, 2015 at 1:34 PM, Trev wrote: > >> Just to be clear here: >> >> *Broken*: Fetchmail from your RT server, pulling email from an account >> on your email server (exchange or whatever) >> >> *Working*: Sendmail from your RT server, pushing notifications from the >> RT server to your email recipients >> >> The error you post, looks like sendmail errors... not fetchmail... >> >> /var/log/fetchmail.log >> >> Also, the fetchmail configuration file could be useful. (please replace >> passwords and other identifiers in your copy paste) >> >> Thanks, >> >> Trev >> >> On Tue, Sep 29, 2015 at 1:10 PM, bharath reddy > > wrote: >> >>> Hi Trev, >>> >>> I can see following error in my logs : >>> >>> Sep 29 10:30:52 devrt sm-mta[9167]: t8TEUpif009167: ruleset=check_rcpt, >>> arg1=, relay=mail-wi0-f179.google.com >>> [209.85.212.179], reject=550 5.7.1 ... >>> Relaying denied >>> Sep 29 10:30:52 devrt sm-mta[9167]: t8TEUpif009167: from=< >>> bvangoor at cs.stonybrook.edu>, size=2400, class=0, nrcpts=0, proto=ESMTP, >>> daemon=MTA, relay=mail-wi0-f179.google.com [209.85.212.179] >>> >>> and also this : >>> >>> Sep 29 12:33:05 devrt sm-mta[11503]: t8TGX4n2011503: >>> devrt.cs.stonybrook.edu [130.245.27.22] did not issue >>> MAIL/EXPN/VRFY/ETRN during connection to MTA >>> Sep 29 12:33:25 devrt sm-mta[11504]: t8TGXOHh011504: >>> devrt.cs.stonybrook.edu [130.245.27.22] did not issue >>> MAIL/EXPN/VRFY/ETRN during connection to MTA >>> >>> Thanks, >>> Bharath. >>> >>> >>> On Tue, Sep 29, 2015 at 1:03 PM, Trev wrote: >>> >>>> Are you using fetchmail ? >>>> Error logs ? >>>> >>>> On Tue, Sep 29, 2015 at 12:58 PM, bharath reddy < >>>> vangoor.bharath at gmail.com> wrote: >>>> >>>>> Dear All, >>>>> >>>>> I've upgraded RT from 4.0.8 to 4.2.12 recently and found that I'm not >>>>> able to receive mails to the server but when I'm updating tickets from Web >>>>> then users are receiving the update mails. Basically my machine is not able >>>>> to receive mails but able to send mails. Any help or pointers to this issue >>>>> will be appreciated. >>>>> >>>>> Thanks, >>>>> Bharath. >>>>> >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bywatersolutions.com Tue Sep 29 18:18:12 2015 From: jesse at bywatersolutions.com (Jesse Maseto) Date: Tue, 29 Sep 2015 18:18:12 -0400 Subject: [rt-users] Sql to find disabled users Message-ID: Hello All, I was wondering some one can assist me with creating an sql search of RT. I am looking to find all disaled users in my system and then use the rt-shredder pluggin to delete them. Also maybe a search that shows accounts that have not logged in for over two years. Any help is very much appreciated. Best Regards, -Jesse -------------- next part -------------- An HTML attachment was scrubbed... URL: From mzagrabe at d.umn.edu Tue Sep 29 18:27:17 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Tue, 29 Sep 2015 17:27:17 -0500 Subject: [rt-users] Sql to find disabled users In-Reply-To: References: Message-ID: Hi Jesse, On Tue, Sep 29, 2015 at 5:18 PM, Jesse Maseto wrote: > Hello All, > > I was wondering some one can assist me with creating an sql search of RT. I > am looking to find all disaled users in my system and then use the > rt-shredder pluggin to delete them. I've not looked into the disabled-ness of a user, but to start digging, I'd grep the following file: lib/RT/User.pm > Also maybe a search that shows accounts that have not logged in for over two > years. This might me tougher. -m From mzagrabe at d.umn.edu Tue Sep 29 18:27:40 2015 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Tue, 29 Sep 2015 17:27:40 -0500 Subject: [rt-users] Sql to find disabled users In-Reply-To: References: Message-ID: > This might me tougher. s/me/be/ -m From jesse at bywatersolutions.com Tue Sep 29 18:39:34 2015 From: jesse at bywatersolutions.com (Jesse Maseto) Date: Tue, 29 Sep 2015 18:39:34 -0400 Subject: [rt-users] Sql to find disabled users In-Reply-To: References: Message-ID: Thank you Matt. I'll let everyone what I find out. On Tuesday, September 29, 2015, Matt Zagrabelny wrote: > > This might me tougher. > > s/me/be/ > > -m > -- -------------------- Jesse Maseto Head of Support ByWater Solutions Support & Consulting for OSS Office - Stratford,CT T/F 888.900.8944 http://bywatersolutions.com Jesse at bywatersolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tibbs at math.uh.edu Tue Sep 29 20:43:45 2015 From: tibbs at math.uh.edu (Jason L Tibbitts III) Date: Tue, 29 Sep 2015 19:43:45 -0500 Subject: [rt-users] Getting rid of mis-spelled users In-Reply-To: (Jason L. Tibbitts, III's message of "Tue, 29 Sep 2015 12:18:16 -0500") References: Message-ID: >>>>> "JLT" == Jason L Tibbitts writes: JLT> Is there any way for me to get rid of these bogus addresses? And after seeing another message here about the shredder, I looked into it and found it to be pretty much exactly what I'm looking for. - J< From maik.nergert at uni-hamburg.de Wed Sep 30 02:54:53 2015 From: maik.nergert at uni-hamburg.de (Maik Nergert) Date: Wed, 30 Sep 2015 08:54:53 +0200 Subject: [rt-users] Migration from MySQL to PostreSQL - corrupt characters (german umlaut) In-Reply-To: References: <55FAAE2B.7030205@uni-hamburg.de> <55FC4490.3000806@bestpractical.com> <55FFB7AB.6090202@uni-hamburg.de> <560012B4.2060801@uni-hamburg.de> <5977889A-9FE6-4238-911D-DB6E20A6C90A@gmail.com> Message-ID: <560B873D.4070201@uni-hamburg.de> Hi, you are right. History is not affected but Subject, User Real Name, Signature stored in User Preferences, Description of Scrips, Templates, Groups and Queues, Template Content, Article Name > I noticed that the problem with the german umlauts is not in all fields. > In my history for example the german umlauts displayed correctly but in > the ticket subject they didn't. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5413 bytes Desc: S/MIME Cryptographic Signature URL: From kae at midnighthax.com Wed Sep 30 04:37:35 2015 From: kae at midnighthax.com (Keith Edmunds) Date: Wed, 30 Sep 2015 09:37:35 +0100 Subject: [rt-users] Searching for repeating tickets Message-ID: <20150930093735.6349ef51@awe.tiger-computing.wbp> Hi We're using the Repeat Ticket extension (http://blog.bestpractical.com/2013/03/scheduled-ticket-creation-in-rt.html). I want to search for all "base" repeating tickets, and the only criteria I can come up with to identify them is to search for tickets where the custom field "Original Ticket" is equal the current ticket. Is there a way of using such criteria in RT? Or is there a better way of searching for repeat base tickets? Thanks, Keith -- "Laughter is the best medicine, though it tends not to work in the case of impotence" - Jo Brand From allen.joslin at gmail.com Wed Sep 30 08:59:03 2015 From: allen.joslin at gmail.com (Al Joslin) Date: Wed, 30 Sep 2015 08:59:03 -0400 Subject: [rt-users] Does enabling Full Text search disable searching Subjects from the Simple Search box? Message-ID: I am running 4.2.11 I have install mariadb 10.0 I have enabled native mySQL full text search It works fine - EXCEPT: it seems that I can have Full Text -or- Subject from the Simple Search box, but not both? If I disable the full text from the RT_Site_config then the simple search box searches subjects but not attachments If I enable the full text from the RT_Site_config then the simple search box searches attachments but not subjects I don?t know how to proceed, this is not going to go over well? I also have a custom field my users insisted on that will carry text ? can I index and search more than one table (attachments) ? thanks al; From brianhardy at live.ca Wed Sep 30 13:23:20 2015 From: brianhardy at live.ca (Brian Hardy) Date: Wed, 30 Sep 2015 13:23:20 -0400 Subject: [rt-users] Enable Images and Tables in RT ticket display Message-ID: RT: 4.0.19RTIR: 3.0OS: Ubuntu I'm trying to have tables and images that are copied/pasted in the ticket message displayed when viewing the ticket. The furthest I've gotten so far has been to use the Web_Interface.pm module as discussed here: https://bestpractical.com/docs/rt/4.2/RT/Interface/Web.html#NewScrubber This is letting my table display correctly, unfortuatley without the borders, so seeing when one cell ends and another begins is difficult. I've tried to add IMG to the SCRUBBER_ALLOWED_TAGS, but the image is still not displaying. How can this be done? Thanks, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjg at ucsc.edu Wed Sep 30 14:50:20 2015 From: tjg at ucsc.edu (Tim Gustafson) Date: Wed, 30 Sep 2015 11:50:20 -0700 Subject: [rt-users] RT Not Sending Autoreply E-Mails On Ticket Creation Via E-Mail In-Reply-To: <5604EA83.7050703@netcologne.de> References: <56045457.5000401@bestpractical.com> <5604EA83.7050703@netcologne.de> Message-ID: > The screen shot of your scrips shows, that you only user the Notify* > actions and don't have a script which uses the "Autoreply To Requestors" > action. > > The "On Create Autoreply To Requestors" scrip [1], which is created on > RT installation, is missing. Ahh, that did it. I changed the autoreply scrip to use the "Autoreply to Requestors" action, and now it seems to be working. Thanks for the pointer! -- Tim Gustafson Technical Lead, Baskin School of Engineering tjg at ucsc.edu 831-459-5354 Baskin Engineering, Room 313A From jeffrey.pilant at bayer.com Wed Sep 30 17:04:30 2015 From: jeffrey.pilant at bayer.com (Jeffrey Pilant) Date: Wed, 30 Sep 2015 21:04:30 +0000 Subject: [rt-users] Searching for repeating tickets Message-ID: <3135BE7DD2D7484C840CDD011A999B7440E65EEF@MOXCXR.na.bayer.cnb> Keith Edmunds wrote: >We're using the Repeat Ticket extension >(http://blog.bestpractical.com/2013/03/scheduled-ticket-creation-in-rt.html). > >I want to search for all "base" repeating tickets, and the only criteria I >can come up with to identify them is to search for tickets where the custom >field "Original Ticket" is equal the current ticket. > >Is there a way of using such criteria in RT? > >Or is there a better way of searching for repeat base tickets? Can you search the custom field and look for it to be equal to Tickets.id? That is, use the text "Tickets.id" instead of some number? Then when the SQL is formed, it creates something like: Select main.* from Tickets main "CF.{Original Ticket}" = Tickets.id Were you to set it to #456, it would look like: Select main.* from Tickets main "CF.{Original Ticket}" = 456 By using the text of a field name for the original ticket id, I think it would match. [Note: I don't really use it, but am IT support for it here. Above is based on my guess as to how the search builder page works.] /jeff ________________________________________________________________________ The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender. Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com ________________________________________________________________________ From kae at midnighthax.com Wed Sep 30 17:59:03 2015 From: kae at midnighthax.com (Keith Edmunds) Date: Wed, 30 Sep 2015 22:59:03 +0100 Subject: [rt-users] Searching for repeating tickets In-Reply-To: <3135BE7DD2D7484C840CDD011A999B7440E65EEF@MOXCXR.na.bayer.cnb> References: <3135BE7DD2D7484C840CDD011A999B7440E65EEF@MOXCXR.na.bayer.cnb> Message-ID: <20150930225903.7b72d071@ws.midnighthax.com> Jeffrey Pilant wrote: > Can you search the custom field and look for it to be equal to > Tickets.id? That is, use the text "Tickets.id" instead of some number? > Then when the SQL is formed, it creates something like: Select main.* > from Tickets main "CF.{Original Ticket}" = Tickets.id Were you to set it > to #456, it would look like: Select main.* from Tickets main > "CF.{Original Ticket}" = 456 > > By using the text of a field name for the original ticket id, I think it > would match. Thanks Jeff. When I saw your reply, I had hoped it would work, but unfortunately RT quotes "Tickets.id" so the SQL WHERE clause generated is: 'CF.{Original Ticket}' = 'Tickets.id' I tried manually editing that to remove the quotes, but then it fails with: "Wrong query, expecting a VALUE in ''CF.{Original Ticket}' = >Tickets.id<--here'" There must be a way of doing this... Keith -- "Soccer is one of those things that the rest of world cares about more than Americans do - you know, like healthcare, education and gun control" - David Letterman