From Weimer at CERT.Uni-Stuttgart.DE Wed Jan 1 12:19:18 2003 From: Weimer at CERT.Uni-Stuttgart.DE (Florian Weimer) Date: Wed, 01 Jan 2003 18:19:18 +0100 Subject: [rt-users] RT talking to RT In-Reply-To: <20021228173314.GH19152@pallas.fsck.com> (Jesse Vincent's message of "Sat, 28 Dec 2002 12:33:14 -0500") References: <878yya1d8k.fsf@Login.CERT.Uni-Stuttgart.DE> <3E0DCA75.7020605@solutions.pyramid.de> <871y421523.fsf@Login.CERT.Uni-Stuttgart.DE> <3E0DDC5C.4020603@solutions.pyramid.de> <20021228173314.GH19152@pallas.fsck.com> Message-ID: <87n0mkpz3d.fsf@Login.CERT.Uni-Stuttgart.DE> Jesse Vincent writes: > But florian's idea of setting up a scrip to scrape subject changes from > autreplies seems clever enough to deal with most sites. I'd love to see > the scrip used to implement that. Well, here it is. I've split it into two parts, a condition which fires for the first transaction of its kind, and the action changing the section. (I hope these scrips will work with the official RT version, and not just our slightly modified one.) I'll keep the files at updated to match our production version. -- Florian Weimer Weimer at CERT.Uni-Stuttgart.DE University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/ RUS-CERT fax +49-711-685-5898 -------------- next part -------------- A non-text attachment was scrubbed... Name: FirstTransaction.pm Type: application/x-perl Size: 1327 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: AdoptSubject.pm Type: application/x-perl Size: 1622 bytes Desc: not available URL: From Weimer at CERT.Uni-Stuttgart.DE Wed Jan 1 12:58:15 2003 From: Weimer at CERT.Uni-Stuttgart.DE (Florian Weimer) Date: Wed, 01 Jan 2003 18:58:15 +0100 Subject: [rt-users] AnyTransactionSource - internal/external correspondence Message-ID: <87k7hopxag.fsf@Login.CERT.Uni-Stuttgart.DE> I'm not sure if I've already described our approach to the Correspond/Create transactions, which differs somewhat from the way things are handled in standard RT--but I don't see anything on our web server. So here we go: I've created a scrip condition which enables us to treat internal and external correspondence differently. The basic idea is that *you* want to send mail to your requestors and Ccs, but duplicates are the result when you resend replies sent by these people. (And you can cause mail loops, too!) To tell internal sources of transactions from external ones, we look at the originator and check wether he or her has ModifyTicket rights on the ticket. We keep these rights under tight control, so this works reasonable well in our environment. Here's an excerpt from the file AnyTransactionSource.pm: # This condition can be used to obtain better control over the # conditions under which replies are sent to requestors. Transactions # are divided in two categories: those of internal orgin, and those of # external origin. The origin is internal if the originator of a # transaction has got ModifyTicket rights on the ticket, and the # originator is not one of the requestors. # # The following ScripConditions are recommended: # # | | | applicable # name | execmodule | argument | transtypes # ----------------------+----------------------+----------+------------ # OnCreateExternal | AnyTransactionSource | external | Create # OnCreateInternal | AnyTransactionSource | internal | Create # OnCorrespondExternal | AnyTransactionSource | external | Correspond # OnCorrespondInternal | AnyTransactionSource | internal | Correspond # # # Now it is possible to use the following scrips: # # OnCreateExternal AutoreplyToRequestors Autoreply # OnCreateInternal NotifyRequestorsAndCcs Correspondence # OnCorrespondInternal NotifyRequestorsAndCcs Correspondence # # Plus the usual scrips to notify the AdminCCs. # # In such a setup, it is possible to create a new ticket and # immediately enter the requestors and they will receive the standard # correspondence messages (and not an autoreply for something they # have never sent). Furthermore, if a requestor replies to a ticket # from a different email account, the reply won't be sent back to his # requestor account. Not only is this more consistent with user # expectations, but it also reduces the risks of mail loops # considerably. (Consequently, it is recommended to remove the # Reply-To: header generation from Action/SendEmail.pm because the Cc: # should now really be honored by those who are sending replies.) Get it from: -- Florian Weimer Weimer at CERT.Uni-Stuttgart.DE University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/ RUS-CERT fax +49-711-685-5898 From lynoure at otaverkko.fi Thu Jan 2 01:40:04 2003 From: lynoure at otaverkko.fi (Lynoure =?ISO-8859-1?Q?Rajam=E4ki?=) Date: 02 Jan 2003 08:40:04 +0200 Subject: [rt-users] Attachments sent from RT are 'inline' In-Reply-To: <200212311424.08586.dwarner@ctinetworks.com> References: <200212311424.08586.dwarner@ctinetworks.com> Message-ID: <1041489604.748.5.camel@isis> On Tue, 2002-12-31 at 21:24, Douglas E. Warner wrote: > I've implemented the 'NotifyWithAttachments' ScripAction, but for some reason, > the attachments always have the Content-Disposition set to 'inline' instead > of 'attachment' like the Scrip says it should. Anybody experience this > problem before? Relevent version numbers are below: If you mean you have your own implementation, I cannot help you. But if you have just installed the implementation in contrib, it's vaguely buggy and fails to set Content-Type for the first part (transaction text). This confuses some mail programs. If you wish, I can send our modified NotifyWithAttachment to you. -- Lynoure Rajam?ki lynoure at otaverkko.fi From dwarner at ctinetworks.com Thu Jan 2 09:09:38 2003 From: dwarner at ctinetworks.com (Douglas E. Warner) Date: Thu, 2 Jan 2003 09:09:38 -0500 Subject: [rt-users] Attachments sent from RT are 'inline' In-Reply-To: <1041489604.748.5.camel@isis> References: <200212311424.08586.dwarner@ctinetworks.com> <1041489604.748.5.camel@isis> Message-ID: <200301020909.44717.dwarner@ctinetworks.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 02 January 2003 01:40, Lynoure Rajam?ki wrote: > If you mean you have your own implementation, I cannot help you. But if > you have just installed the implementation in contrib, it's vaguely > buggy and fails to set Content-Type for the first part (transaction > text). This confuses some mail programs. > > If you wish, I can send our modified NotifyWithAttachment to you. Yes, I'm using the one from the contrib area. Would you mind attaching it to the list so everyone can benefit? - -Doug - -- Douglas E. Warner Network Engineer CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+FEgoJV36su0A0xIRAjaqAKDuWG7i7PpqYw+woBA64AxZ6GAOKACgrp05 fw20u1RSNiL4HISiukL/JQs= =pPDJ -----END PGP SIGNATURE----- From kenn0105 at msmailhub.oulan.ou.edu Thu Jan 2 09:42:36 2003 From: kenn0105 at msmailhub.oulan.ou.edu (Kennedy, Michael T) Date: Thu, 2 Jan 2003 08:42:36 -0600 Subject: [rt-users] Weburls not showing properly Message-ID: Hello, I've got a new installation of RT 2015, and have gotten as far as the login page. First I noticed the logo graphic (rt.jpg) in the top left was not shown. The path in its properties was http://rt.mycompany.org/var/rt/WebRT/html/NoAuth/images/rt.jpg. And when logging in, sure enough, all the links had doubled urls, as my DocumentRoot directive is /var/rt/WebRT/html. I found in these archives a similar problem, with the solution of changing $WebPath in config.pm to "" So, I make the change, restart Apache, reload http://rt.mycompany.org, and voila! The rt logo shows. So I log in, and find that now my links are too short! For example, the Configuration link says http://admin/ and Home says http:/// Any idea whats wrong? I've included what I think are relevant parts of config.pm and http.conf below. Much thanks for any help. And Happy New Year! -Mike /var/rt/etc/config.pm ----------------- # $WebPath requires a leading / but no trailing / $WebPath = ""; # This is the Scheme, server and port for constructing urls to webrt # $WebBaseURL doesn't need a trailing / $ $WebBaseURL = "http://rt.mycompany.org"; $WebURL = $WebBaseURL . $WebPath . "/"; $WebImagesURL = $WebURL."NoAuth/images/"; # $RTLogoURL points to the URL of the RT logo displayed in the web UI $LogoURL = $WebImagesURL."rt.jpg"; # $MasonComponentRoot is where your rt instance keeps its mason html files # (this should be autoconfigured during 'make install' or 'make upgrade') $MasonComponentRoot = "/var/rt/WebRT/html"; # $MasonLocalComponentRoot is where your rt instance keeps its site-local # mason html files. # (this should be autoconfigured during 'make install' or 'make upgrade') $MasonLocalComponentRoot = "/var/rt/local/WebRT/html"; # $MasonDataDir Where mason keeps its datafiles # (this should be autoconfigured during 'make install' or 'make upgrade') $MasonDataDir = "/var/rt/WebRT/data"; # RT needs to put session data (for preserving state between connections # via the web interface) $MasonSessionDir = "/var/rt/WebRT/sessiondata"; ------------------- /etc/httpd/conf/httpd.conf ------------------- ServerName rt.mycompany.org DocumentRoot /var/rt/WebRT/html PerlModule Apache::DBI PerlRequire /var/rt/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason Mike Kennedy IT Specialist Center for Public Management Office: 366-6023 Cell: 642-1429 Email: mkennedy at ou.edu From freebsd at coal.sentex.ca Thu Jan 2 16:12:39 2003 From: freebsd at coal.sentex.ca (Damian Gerow) Date: Thu, 2 Jan 2003 16:12:39 -0500 (EST) Subject: [rt-users] RT and FreeSide Message-ID: <200301022112.h02LCdax043382@coal.sentex.ca> I've been looking over Freeside (http://www.sisd.com/freeside/), and I remember seeing something about it integrating with RT. However, I don't see anything on their site right now. Just wondering if anyone's ever gotten the two to work well together, and if anyone has any horror/success stories they could forward along? TIA... From lynoure at otaverkko.fi Fri Jan 3 02:08:10 2003 From: lynoure at otaverkko.fi (Lynoure =?ISO-8859-1?Q?Rajam=E4ki?=) Date: 03 Jan 2003 09:08:10 +0200 Subject: [rt-users] Attachments sent from RT are 'inline' In-Reply-To: <200301020909.44717.dwarner@ctinetworks.com> References: <200212311424.08586.dwarner@ctinetworks.com> <1041489604.748.5.camel@isis> <200301020909.44717.dwarner@ctinetworks.com> Message-ID: <1041577691.2808.17.camel@isis> On Thu, 2003-01-02 at 16:09, Douglas E. Warner wrote: > > Yes, I'm using the one from the contrib area. Would you mind attaching it to > the list so everyone can benefit? Ok, though my version is by no means perfect either (I took the shortcut and set Content-Type to fit our needs, and it's not right for all other character sets). Also, I am very new to perl... -- Lynoure Rajam?ki lynoure at otaverkko.fi lynoure at tuug.fi -------------- next part -------------- # Includes transaction attachments in email sent out. # Author: Staffan Larsen (staffan_larsen at appeal_se (replace all _)) # Idea: Jesse Vincent (jesse at bestpractical.com) # some changes by Lynoure Rajamaki (lynoure at tuug.fi) package RT::Action::NotifyWithAttachment; require RT::Action::SendEmail; require RT::Action::Notify; @ISA = qw(RT::Action::Notify); # {{{ sub Prepare =head2 Prepare From email from Jesse: calls SUPER::Prepare. if that returns true, iterate through $self->TransactionObj->Attachments and add them to $self->TemplateObj->MIMEObj. (TransactionObj is an RT::Transaction object which already has all of this transaction.s attachments already attached. MIMEObj is a MIME::Entity.) =cut sub Prepare { my $self = shift; $self->SUPER::Prepare() || return 0; my $attachments = $self->TransactionObj->Attachments; $attachments->GotoFirstItem; #If you want to track what's going on, use the line below. # $RT::Logger->debug($self->TemplateObj->MIMEObj->stringify); #Entity is made multipart so that we can get rid of the body #and make sure that it will behave nicely with the attachments $self->TemplateObj->MIMEObj->make_multipart; #We'll delete all of the parts to get rid of the body @keep = (); $self->TemplateObj->MIMEObj->parts(\@keep); #Adding the ex-body manually my $textpart = $self->TransactionObj->Content; $RT::Logger->debug("$self: Attaching transaction content.\n"); #Your encoding might vary. $self->TemplateObj->MIMEObj->attach(Data => $textpart, Type => "text/plain", Encoding => "8bit", Disposition => "inline"); my $cnt = $attachments->Count; my $toaddcnt = $cnt-2; if ($toaddcnt < 0) { $toaddcnt = 0}; $RT::Logger->debug("$self: Adding $toaddcnt atts.\n"); # skip the first one, it is already attached # Why do I have to skip two? $attachments->GotoItem(2); while (my $message=$attachments->Next) { next unless ($message->Content); my $fname = $message->Filename; $fname =~ s/.*(\\|\/)//g; $RT::Logger->debug("$self: Adding attachment $fname.\n"); $self->TemplateObj->MIMEObj->attach(Data => $message->Content, Type => $message->ContentType, Encoding => 'base64', Description => $fname, Disposition => 'attachment', Filename => $fname); } return 1; } # }}} 1; From lynoure at otaverkko.fi Fri Jan 3 07:30:18 2003 From: lynoure at otaverkko.fi (Lynoure =?ISO-8859-1?Q?Rajam=E4ki?=) Date: 03 Jan 2003 14:30:18 +0200 Subject: [rt-users] RT do not CC and Bcc In-Reply-To: References: Message-ID: <1041597019.3185.19.camel@isis> On Thu, 2002-11-14 at 14:13, Bruce Campbell wrote: > On Thu, 14 Nov 2002, Xavier Sudre wrote: > > > I am using RT freshly installed from CVS (version 2.0.15). > > I have RT working but I get troubles when I put CC or Bcc addresses > > into the web interface: in fact nothing is send to these addresses. > I've stumbled over this problem yesterday, but haven't had time yet to > track it down (apparently my various minions have known about it for a > while, but haven't brought it to my attention). > > I suspect that the 'Cc' is being bundled up with the body of the message, > and not being put in the headers like it should be. Do you know if this is being fixed in next version of RT or whether somebody is working on it? Maybe I should joing the development list... I'm a little shy about my coding, but if this is not worked on already, I think I could look into it. -- Lynoure Rajam?ki lynoure at otaverkko.fi From baumann at zib.de Fri Jan 3 11:02:30 2003 From: baumann at zib.de (Wolfgang W. Baumann) Date: Fri, 3 Jan 2003 17:02:30 +0100 Subject: [rt-users] Re: Resolved Autoresponse with Resolution ??? In-Reply-To: References: <20021218160606.GH46834@avery.zib.de> Message-ID: <20030103160230.GL68152@avery.zib.de> Bruce Campbell (2002-Dec-18 17:41) wrote: > > The above one was an untested quickie. Odhiambo hassled me to get a > working verion, available in: > > Date: Wed, 13 Nov 2002 18:38:37 +0100 (CET) > Message-ID: > > ( which is incidentally > http://lists.fsck.com/pipermail/rt-users/2002-November/010787.html ) Just wanted to let you know that it definitely also works here. Thanks a bunch! Have A Nice Day, Wolfgang -- Wolfgang W. Baumann baumann at zib.de CFD Consultant @ ZIB & HLRN From iqbala at qwestip.net Fri Jan 3 12:20:55 2003 From: iqbala at qwestip.net (Asif Iqbal) Date: Fri, 3 Jan 2003 12:20:55 -0500 Subject: [rt-users] NotifyOtherRecipientsWithAttach References: <200301022112.h02LCdax043382@coal.sentex.ca> Message-ID: <000e01c2b34c$890a3870$0c890d0a@AR157369> Hi All I found a module that allows Notify All Watchers with Attachment. Is there one that will allow Notify Other Recipients With Attach ? Thanks Asif Iqbal From omehegan at perseus.com Fri Jan 3 14:16:46 2003 From: omehegan at perseus.com (Owen B. Mehegan) Date: Fri, 3 Jan 2003 14:16:46 -0500 Subject: [rt-users] Trouble setting up AutoAssign Message-ID: I'm trying to set up the AutoAssign scripaction and having no luck so far. Here's what I've done: 1. Ran AutoAssign.pm.insertdata; it returned no errors. 2. Put AutoAssign.pm in /usr/local/rt2/lib/RT/Action and gave it the same ownership and permissions as the other scrips in there 3. Assigned myself as a CC watcher to the Customers queue 4. Set up a scrip in that queue that says OnCreate AutoAssign with template Correspondence When I run 'perl AutoAssign.pm' I get no errors, when the RT logs have no errors in them, but when I create a ticket in the Customers queue, it remains assigned to Nobody rather than being reassigned to me. I have a feeling that I've just configured this wrong or am using it wrong. Can anyone give me some pointers? Thanks in advance. /Owen From binand at gmx.net Sat Jan 4 08:01:43 2003 From: binand at gmx.net (Binand Raj S.) Date: Sat, 4 Jan 2003 18:31:43 +0530 Subject: [rt-users] Questions on usernames and passwords Message-ID: <20030104130143.GC6199@binand.cysphere.com> Hi, Are RT usernames case sensitive? I am creating a CanonicalizeAddress routine for my employer's use. It would do $email =~ s/\@.*ourdomain\.com//i; return $email; (Since the part before '@' in my company is unique, this is ok I expect.) People tend to write their email address with different cases - I write mine as BinandS at ourdomain.com, for example. I am already a user with id 'binands' in RT (with various rights). So will that create a new user? Should I make it do $email =~ tr/A-Z/a-z/; before returning? Another question: I want to assign a password and mail it back if the ticket is indeed from someone in ourdomain.com - I am fiddling around with Email.pm. What I need is to assign a default password (generated via mkpasswd) and possibly ModifySelf too. I plan to add: (All this in the else branch of the if inside GetCurrentUser) my $pwd = undef; if ($Address !~ /\@/) { $pwd = `/usr/bin/mkpasswd -s 0`; } And then call $NewUser->Create (Passwd => $pwd); Now I need to mail this password to the user. :-( But by this time, I have lost the email address. :( I can of course append ourdomain.com (hardcode this in), but is there a better way? Also, I need to assign the right - how do I do that? Or do I give EveryOne ModifySelf right? RT is on RH 7.3 + updates, Apache 1.3.27, fastcgi, RHDB (ie, Postgres). Binand From lists at flothow.de Sat Jan 4 09:28:09 2003 From: lists at flothow.de (Sebastian Flothow) Date: Sat, 4 Jan 2003 15:28:09 +0100 Subject: [rt-users] Questions on usernames and passwords In-Reply-To: <20030104130143.GC6199@binand.cysphere.com> Message-ID: > I am creating a CanonicalizeAddress routine for my employer's use. It > would do > > $email =~ s/\@.*ourdomain\.com//i; > return $email; > > (Since the part before '@' in my company is unique, this is ok I > expect.) No, it isn't ok since RT will send mail to that address. And you probably get mail from other domains too, right? > Another question: I want to assign a password and mail it back if the > ticket is indeed from someone in ourdomain.com Jesse posted a template snippet back in November: < http://lists.fsck.com/pipermail/rt-users/2002-November/010705.html > You'd just need to a add a check for your domain. (BTW, why are the messages in the list archive not properly MIME decoded?) Sebastian -- Sebastian Flothow sebastian at flothow.de #include From ssinyagin at yahoo.com Sat Jan 4 11:19:55 2003 From: ssinyagin at yahoo.com (Stanislav Sinyagin) Date: Sat, 4 Jan 2003 08:19:55 -0800 (PST) Subject: [rt-users] Questions on usernames and passwords In-Reply-To: <20030104130143.GC6199@binand.cysphere.com> Message-ID: <20030104161955.89860.qmail@web13709.mail.yahoo.com> Hi, As far as I understood, you have already some kind of external user database, and want to create those users in RT. Why don't you try to utilize some kind of external user authentication (this way the passwords are the same everywhere), and user importing? There are solutions with LDAP, which work fine with Microsoft Exchange/Active directory, and with any other LDAP service. The simpliest way for password management is Apache authentication: it has plenty different methods, there must be the one that suits you. Regards, Stanislav. --- "Binand Raj S." wrote: > Another question: I want to assign a password and mail it back if the > ticket is indeed from someone in ourdomain.com - I am fiddling around > with Email.pm. What I need is to assign a default password (generated > via mkpasswd) and possibly ModifySelf too. > > I plan to add: > (All this in the else branch of the if inside GetCurrentUser) > > my $pwd = undef; > if ($Address !~ /\@/) { > $pwd = `/usr/bin/mkpasswd -s 0`; > } > > And then call $NewUser->Create (Passwd => $pwd); From news-misc at ada.dhs.org Sat Jan 4 17:05:03 2003 From: news-misc at ada.dhs.org (acli@ada.dhs.org via news-to-mail gateway) Date: Sat, 4 Jan 2003 22:05:03 GMT Subject: [rt-users] per-ticket email addresses? Message-ID: Hi, has anyone set up per-ticket email addresses in RT2? I did it, and it mostly works, but RT thinks that all the correspondance are entered by the per-ticket email address, not by whoever sent the email. Is this something that should not be attempted with RT2, or is there some ways to teach RT2 that these addresses are just like the per-queue ones? Thanks, -- Ambrose Li http://ada.dhs.org/~acli/cmcc/ http://www.cccgt.org/ DRM is theft - We are the stakeholders From binand at gmx.net Sun Jan 5 00:29:49 2003 From: binand at gmx.net (Binand Raj S.) Date: Sun, 5 Jan 2003 10:59:49 +0530 Subject: [rt-users] Questions on usernames and passwords In-Reply-To: <20030104161955.89860.qmail@web13709.mail.yahoo.com> References: <20030104130143.GC6199@binand.cysphere.com> <20030104161955.89860.qmail@web13709.mail.yahoo.com> <20030104130143.GC6199@binand.cysphere.com> Message-ID: <20030105052949.GA18494@binand.cysphere.com> On Sat, Jan 04, 2003 at 03:28:09PM +0100, Sebastian Flothow wrote: > >I am creating a CanonicalizeAddress routine for my employer's use. It > >would do > > > >$email =~ s/\@.*ourdomain\.com//i; > >return $email; > > > >(Since the part before '@' in my company is unique, this is ok I > >expect.) > > No, it isn't ok since RT will send mail to that address. And you > probably get mail from other domains too, right? Right. What I posted was indeed the wrong way to do it, which I figured almost immediately after I hit 'y' :( > >Another question: I want to assign a password and mail it back if the > >ticket is indeed from someone in ourdomain.com > > Jesse posted a template snippet back in November: > < http://lists.fsck.com/pipermail/rt-users/2002-November/010705.html > Thanks. I knew about this post, and had tried to search the archives, but couldn't find it. BTW, anyone who has a private copy of that post that you can bounce to me? The list archive version has mime junk all over it. :( On Sat, Jan 04, 2003 at 08:19:55AM -0800, Stanislav Sinyagin wrote: > Hi, > > As far as I understood, you have already some kind of > external user database, and want to create those users in RT. > > Why don't you try to utilize some kind of external user authentication > (this way the passwords are the same everywhere), and > user importing? > > There are solutions with LDAP, which work fine with > Microsoft Exchange/Active directory, and with any other LDAP service. Ah, the premise is correct - in my organisation, the email addresses are unique, and we are sort of standardizing on the part before the '@' as usernames everywhere. Unfortunately, the mail server does not use LDAP for authentication (in hindsight, I guess I should have used LDAP). I am not concerned with tickets opened by people who use other email addresses - just the ones from @ourdomain.com. If it is from ourdomain.com, I want the autocreated username to be minus the @ourdomain.com, and the full email address otherwise. In either case, I want an autocreated password to be mailed. I hope that is clear :) Let me go back to the drawing board. Binand From gm at efn.org Sun Jan 5 02:39:56 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Sat, 4 Jan 2003 23:39:56 -0800 (PST) Subject: [rt-users] Selfservice Display error Message-ID: I'm in the midst of majoring tweaking up an RT instance... and discovering all of the cool addons and also learning the features & quirks of it all. RT rocks! I installed Jesse's autopassword template which is nice because it will allow users to get a autogenerated password, which makes web status checking possible easily and quickly. So I logged on and it works nicely in selfservice mode, with a few notable issues: 1) SelfService/Update.html allows status changing (a dropdown box) even if it's not valid. I just commented out the Status section and that works well. Since they can't change it, it's fine. 2) SelfService/Create.html works fine, but once the user submits, the Display.html code runs, and they get an error: No permission to view the ticket. Except once they click on the Open Tickets, they can see it. Looks like a timing issue or something... Like it's not processing the ticket before it tries to display the Transaction. Removing the code below, it still doesn't show the Transaction, though the rest of the settings do display. Permissions: Requestor can Show Ticket, Everyone can CreateTicket, ReplyToTicket, SeeQueue Code is: unless ($session{'CurrentUser'}->HasQueueRight ( TicketObj => $Ticket, Right => 'ShowTicket')) { $m->comp('Error.html', Why => "No permission to display that ticket"); $m->abort(); } Minor bug, I think. -- ## Seth Cohn, General Manager of Eugene Free Community Network gm at efn.org ## Businesses planned for service are apt to succeed; Phone 541-484-9637 ## Businesses planned for profit are apt to fail. - N. Butler From lists at masonc.com Sun Jan 5 10:10:19 2003 From: lists at masonc.com (Chris Mason) Date: Sun, 5 Jan 2003 11:10:19 -0400 Subject: [rt-users] Messages qare quoted including comments Message-ID: <000901c2b4cc$8ff8a3c0$7300a8c0@poseiden> Had an emabarssing moment when a ticket was commented on by the admin and then the comment appeared in future replies as quoted content. Is there a way to avoid putting the email content into replies? I know the admin can use the reply at the top, but rather than educating them I would prefer to avoid the problem by not including quoted content in replies. Can I do this easily? Chris Mason masonc at masonc.com Box 340, The Valley, Anguilla, British West Indies Tel: 264 497 5670 Fax: 264 497 8463 Cell: 264 235 5670 http://www.anguillaguide.com/ The Anguilla Guide Talk to me in real time: Yahoo:netconcepts_anguilla US Fax and Voicemail: (815)301-9759 From ssinyagin at yahoo.com Sun Jan 5 12:15:29 2003 From: ssinyagin at yahoo.com (Stanislav Sinyagin) Date: Sun, 5 Jan 2003 09:15:29 -0800 (PST) Subject: [rt-users] Questions on usernames and passwords In-Reply-To: <20030105052949.GA18494@binand.cysphere.com> Message-ID: <20030105171529.46619.qmail@web13708.mail.yahoo.com> --- "Binand Raj S." wrote: > Ah, the premise is correct - in my organisation, the email addresses > are unique, and we are sort of standardizing on the part before the '@' > as usernames everywhere. > > Unfortunately, the mail server does not use LDAP for authentication > (in hindsight, I guess I should have used LDAP). > > I am not concerned with tickets opened by people who use other email > addresses - just the ones from @ourdomain.com. If it is from ourdomain.com, > I want the autocreated username to be minus the @ourdomain.com, and the full > email address otherwise. In either case, I want an autocreated password to be > mailed. > > I hope that is clear :) Let me go back to the drawing board. OK, whatever, it's yiour setup. But personally, I'd prefer writing an import script that would create once all your users with generated or imported passwords. Good luck, Stan From gm at efn.org Sun Jan 5 14:40:15 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Sun, 5 Jan 2003 11:40:15 -0800 (PST) Subject: [rt-users] Messages are quoted including comments In-Reply-To: <000901c2b4cc$8ff8a3c0$7300a8c0@poseiden> Message-ID: On Sun, 5 Jan 2003, Chris Mason wrote: > Had an emabarssing moment when a ticket was commented on by the admin > and then the comment appeared in future replies as quoted content. > Is there a way to avoid putting the email content into replies? I know > the admin can use the reply at the top, but rather than educating them I > would prefer to avoid the problem by not including quoted content in > replies. Can I do this easily? The lines are in Ticket/Elements/ShowTransactions, just remove the "&QuoteTransaction=".$Transaction->Id. part of the reply/comment sections. -- ## Seth Cohn, General Manager of Eugene Free Community Network gm at efn.org ## Businesses planned for service are apt to succeed; Phone 541-484-9637 ## Businesses planned for profit are apt to fail. - N. Butler From bobby at wrennest.com Sun Jan 5 17:30:15 2003 From: bobby at wrennest.com (Bobby Wrenn) Date: Sun, 05 Jan 2003 16:30:15 -0600 Subject: [rt-users] Server error with new install Message-ID: <3E18B1F7.BD938BE0@wrennest.com> I have been having trouble getting RT installed. So, I set up a fresh RH7.3 install and loaded perl modules until testdeps was happy. I installed, edited config.pm with what I think are the minimums to get it working. Edited httpd.conf as described in the docs. when trying to access http://192.168.1.13/rt2/ I get the following: ------------ 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. --------------- I set permissions on rt.log0 chmod 664 /var/log/rt/rt.log0 Then got the following: --------------- Not Found The requested URL /usr/local/rt2/WebRT/html/NoAuth/webrt.css was not found on this server. --------------- /var/log/httpd/error_log shows: [Sun Jan 5 16:02:54 2003] [error] [client 192.168.1.4] File does not exist: /var/www/html/usr/local/rt2/WebRT/html/NoAuth/webrt.css --------------- This looks like a problem in httpd.conf. But I am not sure how. I double quoted the Directory path and Alias name in httpd.conf and got a little change. The error is now: ---------------- [Sun Jan 5 16:26:38 2003] [error] [client 192.168.1.4] File does not exist: /var/www/html/usr/local/rt2/ ---------------- So for some reason apache is expanding the path instead of aliasing it. Any idea what I need to change? TIA Bobby From pdh at snapgear.com Sun Jan 5 18:19:15 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 6 Jan 2003 09:19:15 +1000 Subject: [rt-users] Server error with new install In-Reply-To: <3E18B1F7.BD938BE0@wrennest.com> References: <3E18B1F7.BD938BE0@wrennest.com> Message-ID: <20030105231915.GH479@luggage.internal.moreton.com.au> Bobby Wrenn wrote: > So for some reason apache is expanding the path instead of aliasing it. > Any idea what I need to change? You could start by posting the relevant chunk of your httpd.conf and config.pm.... -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Sun Jan 5 18:33:02 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 6 Jan 2003 09:33:02 +1000 Subject: [rt-users] Messages are quoted including comments In-Reply-To: References: <000901c2b4cc$8ff8a3c0$7300a8c0@poseiden> Message-ID: <20030105233302.GI479@luggage.internal.moreton.com.au> Seth Cohn, EFN General Manager wrote: > The lines are in Ticket/Elements/ShowTransactions, just remove the > "&QuoteTransaction=".$Transaction->Id. > part of the reply/comment sections. Actually, this is a very neat idea, if extended just a tad. The attached patch removes the quotation on replies, where the transaction being replied to is a comment (more accurately, if it's neither a create nor correspond.) -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances -------------- next part -------------- Index: webrt/Ticket/Elements/ShowTransaction =================================================================== RCS file: /cvs/local/rt/webrt/Ticket/Elements/ShowTransaction,v retrieving revision 1.2 diff -u -r1.2 ShowTransaction --- webrt/Ticket/Elements/ShowTransaction 13 Sep 2002 01:45:42 -0000 1.2 +++ webrt/Ticket/Elements/ShowTransaction 5 Jan 2003 23:27:24 -0000 @@ -146,10 +146,13 @@ # If the transaction has anything attached to it at all if ($Transaction->Message->First && $ShowTitleBarCommands) { if ($Transaction->TicketObj->CurrentUserHasRight('ReplyToTicket')) { - $titlebar_commands .= - "[Ticket . "&QuoteTransaction=".$Transaction->Id. - "&Action=Respond\">Reply] "; + $titlebar_commands .= "[Ticket; + if ($Transaction->Type =~ /^(Create|Correspond)$/) { + $titlebar_commands .= + "&QuoteTransaction=".$Transaction->Id; + } + $titlebar_commands .= "&Action=Respond\">Reply] "; } if ($Transaction->TicketObj->CurrentUserHasRight('CommentOnTicket')) { $titlebar_commands .= From pdh at snapgear.com Sun Jan 5 18:46:31 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 6 Jan 2003 09:46:31 +1000 Subject: [rt-users] Selfservice Display error In-Reply-To: References: Message-ID: <20030105234631.GJ479@luggage.internal.moreton.com.au> Seth Cohn, EFN General Manager wrote: > unless ($session{'CurrentUser'}->HasQueueRight ( TicketObj => $Ticket, > Right => 'ShowTicket')) { > $m->comp('Error.html', Why => "No permission to display that ticket"); > $m->abort(); > } I don't use SelfService, so this is untested, but try replacing that with unless ($Ticket->CurrentUserHasRight('ShowTicket')) { $m->comp('Error.html', Why => "No permission to display that ticket"); $m->abort(); } and see if it helps? -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From tarragon at onthe.net.au Sun Jan 5 21:59:02 2003 From: tarragon at onthe.net.au (Tarragon Allen) Date: Mon, 6 Jan 2003 13:59:02 +1100 Subject: [rt-users] 100's of duplicate database queries? postgresql Message-ID: <200301061359.02918.tarragon@onthe.net.au> Hi, I'm presently trying to determine why our version of RT is running so slow. At first we thought it was because the system it was running on was underpowered, however I've just moved it across to a new high powered machine and it's still running dog slow. Debian (woody, with some updates to sarge as required) RT 2.0.14 Postgres 7.1.2 I've checked the indexes on the database, they seem fine. I've run VACUUM and so forth, no effect. I notice that when a page is loaded postgresql takes up about 80% of the CPU. I turned on debugging to try and determine what postgresql is doing, and it appears to be making duplicate queries, in the order of 100's of them, for a simple "view ticket" click. The duplicates look like this : SELECT * FROM Watchers WHERE lower(Type) = 'cc' AND lower(Scope) = 'queue' AND Value = '2' AND Owner = '13' The database in question holds maybe 5500 tickets in total, and at present takes about 9 seconds to display a ticket, which just doesn't seem right for a dual P-III 1.1ghz, 1.8gb ram system running scsi/raid. Any suggestions? t -- GPG: http://n12turbo.com/tarragon/public.key From gm at efn.org Sun Jan 5 22:04:05 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Sun, 5 Jan 2003 19:04:05 -0800 (PST) Subject: [rt-users] Selfservice Display error In-Reply-To: <20030105234631.GJ479@luggage.internal.moreton.com.au> Message-ID: On Mon, 6 Jan 2003, Phil Homewood wrote: > I don't use SelfService, so this is untested, but try replacing that with > > unless ($Ticket->CurrentUserHasRight('ShowTicket')) { > $m->comp('Error.html', Why => "No permission to display that ticket"); > $m->abort(); > } > > and see if it helps? Nope. Clearly, when the code executes, the CurrentUser is not yet the Requestor of the ticket. That doesn't make sense, sinc Create.html is calling Display.html, and it should have created the ticket (and made the user the requestor) before it attempts to display it. Seth From bortzmeyer at nic.fr Mon Jan 6 09:08:06 2003 From: bortzmeyer at nic.fr (Stephane Bortzmeyer) Date: Mon, 6 Jan 2003 15:08:06 +0100 Subject: [rt-users] LDAP auth: should I still create the users in RT even if I use WebExternalAuth? In-Reply-To: <20021224131047.GB10042@nic.fr> References: <20021217164504.84520.qmail@web13709.mail.yahoo.com> <20021224131047.GB10042@nic.fr> Message-ID: <20030106140806.GA25648@nic.fr> On Tue, Dec 24, 2002 at 02:10:47PM +0100, Stephane Bortzmeyer wrote a message of 15 lines which said: > current setup (I will document it one day). Here it is. You can include it in contrib, on the Web site, whereever. How I have convinced Request Tracker to use my LDAP directory Stephane Bortzmeyer bortzmeyer at eureg.org 2003-01-06 ************************************************************* Warning: this is a documentation of *my* setup. There are many ways to enable LDAP for Request Tracker (RT). Background: EUREG uses an LDAP directory for every user account. All the machines authenticate users against it. So, if you log in via SSH, authenticate on a private Web page with Apache, or use RT, you have only one account and one password. To enable LDAP access from RT, you have to do the following: 1) configure Apache to authenticate against LDAP: LoadModule auth_ldap_module /usr/lib/apache/1.3/auth_ldap.so # SSL only, we do not have "weak" and "strong" passwords, every # password is important! So, we redirect everything on the secure server. ServerName rt.eureg.org SSLDisable RewriteEngine on RewriteRule ^/(.*)$ https://rt.eureg.org/$1 [R,L] # The secure server DocumentRoot /local/rt2/WebRT/html ServerName rt.eureg.org SSLEnable # A few RT-specific lines ommitted AuthType Basic AuthName EUREG AuthLDAPURL ldap://ldap.eureg.org/ou=People,dc=eureg,dc=eu?uid require valid-user 2) Now, we can tell RT to trust Apache: # If $WebExternalAuth is defined, RT will defer to the environment's # REMOTE_USER variable. $WebExternalAuth = 1; This way, RT will no longer asks a password. 3) The above is not sufficient: RT has no real LDAP support, it needs to find locally, in its own database, the info about an user (wether he can log in, for instance). We therefore use the rtimportldap script to synchronize RT's database with LDAP. Every day, /etc/cron.daily/rtimportldap is run by root. It contains (be sure to set its mode to 700, there is a LDAP password! Choose a DN which has only read access): #!/bin/sh PATH=${PATH}:/local/sbin:/local/bin rtimportldap.pl --server ldap.eureg.org \ --binddn 'cn=backup,dc=eureg,dc=eu' --bindpw verysecret \ --basedn 'dc=eureg,dc=eu' --groupadd EUreg \ --filter '(objectClass=posixAccount)' | grep -v 'Updating user' 4) For us, this is all. There is still the issue of $LookupSenderInExternalDatabase (for the email interface, if you use it), but I've not configured it yet. From ssinyagin at yahoo.com Mon Jan 6 09:17:21 2003 From: ssinyagin at yahoo.com (Stanislav Sinyagin) Date: Mon, 6 Jan 2003 06:17:21 -0800 (PST) Subject: [rt-users] LDAP auth: should I still create the users in RT even if I use WebExternalAuth? In-Reply-To: <20030106140806.GA25648@nic.fr> Message-ID: <20030106141721.11669.qmail@web13708.mail.yahoo.com> --- Stephane Bortzmeyer wrote: > rtimportldap.pl --server ldap.eureg.org \ > --binddn 'cn=backup,dc=eureg,dc=eu' --bindpw verysecret \ > --basedn 'dc=eureg,dc=eu' --groupadd EUreg \ > --filter '(objectClass=posixAccount)' | grep -v 'Updating user' Be noted, that the next verion of rtimportldap (when Andi Hofmeister finds time to test it in non-Microsoft environment) will not print "Updating user". It will print "Changing..." when something is changed only. or, shall I publish it as-is?... Regards, Stan From bortzmeyer at nic.fr Mon Jan 6 09:37:33 2003 From: bortzmeyer at nic.fr (Stephane Bortzmeyer) Date: Mon, 6 Jan 2003 15:37:33 +0100 Subject: [rt-users] LDAP auth: should I still create the users in RT even if I use WebExternalAuth? In-Reply-To: <20030106141721.11669.qmail@web13708.mail.yahoo.com> References: <20030106140806.GA25648@nic.fr> <20030106141721.11669.qmail@web13708.mail.yahoo.com> Message-ID: <20030106143733.GA25969@nic.fr> On Mon, Jan 06, 2003 at 06:17:21AM -0800, Stanislav Sinyagin wrote a message of 16 lines which said: > Be noted, that the next verion of rtimportldap (when Andi Hofmeister > finds time to test it in non-Microsoft environment) will > not print "Updating user". It will print "Changing..." when something > is changed only. Good idea. Even better: to shut up cron, I would prefer the implementation of the following option. --quiet : No messages (except errors) From dwarner at ctinetworks.com Mon Jan 6 09:45:58 2003 From: dwarner at ctinetworks.com (Douglas E. Warner) Date: Mon, 6 Jan 2003 09:45:58 -0500 Subject: [rt-users] Attachments sent from RT are 'inline' In-Reply-To: <1041577691.2808.17.camel@isis> References: <200212311424.08586.dwarner@ctinetworks.com> <200301020909.44717.dwarner@ctinetworks.com> <1041577691.2808.17.camel@isis> Message-ID: <200301060945.59189.dwarner@ctinetworks.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 03 January 2003 02:08, Lynoure Rajam?ki wrote: > Ok, though my version is by no means perfect either (I took the shortcut > and set Content-Type to fit our needs, and it's not right for all other > character sets). Also, I am very new to perl... Don't worry, it worked great! Thanks for the updated script. - -Doug - -- Douglas E. Warner Network Engineer CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+GZamJV36su0A0xIRAinFAKCIyv9qFGb8saRQoLqO29lUOkut9wCfcvJz 2/mC2Mv4kwIks6IOAXllhaY= =7GiX -----END PGP SIGNATURE----- From tzadikem at yahoo.com Mon Jan 6 11:12:04 2003 From: tzadikem at yahoo.com (Travis Zadikem) Date: Mon, 6 Jan 2003 08:12:04 -0800 (PST) Subject: [rt-users] Self-Service and unprivileged users (only have email address) In-Reply-To: <5.1.0.14.2.20021206104422.00b89b90@mail.netburner.com> Message-ID: <20030106161204.59684.qmail@web14405.mail.yahoo.com> Thanks for the info. I have been out for a couple of weeks due to break --- Forrest Stanley wrote: > At 10:19 AM 12/6/2002 -0800, Travis Zadikem wrote: > > >What password does an unprivileged user use? I ask this because I > have > >users that email rt and then it adds them as a new user > automatically with > >their email address as the username. But, when the user goes to > >webaddress/SelfService and tries to login using their email address > and no > >password it won't let them in. How can I fix this so it will? > > > > > > Hi, > RT users automatically created through email submission are not > assigned a > password. Their user account is created with password set to undef. > You can > change by modifying the following: > > lib/RT/Interface/Email.pm > > my ($Val, $Message) = > $NewUser->Create(Name => ($Username || > $Address), > EmailAddress => $Address, > RealName => "$Name", > Password => undef, > Privileged => 0, > Comments => 'Autocreated on ticket > submission' > ); > > Changed password to whatever you like. Also, Jesse posted a way to > create > random passwords a couple weeks ago. > > http://lists.fsck.com/pipermail/rt-users/2002-November/010705.html > > > -FS > > > > ===== Your mind is like a parachute. It must be open to be used effectively. From tzadikem at yahoo.com Mon Jan 6 14:54:10 2003 From: tzadikem at yahoo.com (Travis Zadikem) Date: Mon, 6 Jan 2003 11:54:10 -0800 (PST) Subject: [rt-users] Questions on usernames and passwords In-Reply-To: <20030105171529.46619.qmail@web13708.mail.yahoo.com> Message-ID: <20030106195410.83800.qmail@web14406.mail.yahoo.com> I am interested in the same thing --- Stanislav Sinyagin wrote: > > --- "Binand Raj S." wrote: > > Ah, the premise is correct - in my organisation, the email > addresses > > are unique, and we are sort of standardizing on the part before the > '@' > > as usernames everywhere. > > > > Unfortunately, the mail server does not use LDAP for authentication > > (in hindsight, I guess I should have used LDAP). > > > > I am not concerned with tickets opened by people who use other > email > > addresses - just the ones from @ourdomain.com. If it is from > ourdomain.com, > > I want the autocreated username to be minus the @ourdomain.com, and > the full > > email address otherwise. In either case, I want an autocreated > password to be > > mailed. > > > > I hope that is clear :) Let me go back to the drawing board. > > OK, whatever, it's yiour setup. But personally, I'd prefer writing an > import > script that would create once all your users with generated or > imported > passwords. > > Good luck, > Stan > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm ===== Your mind is like a parachute. It must be open to be used effectively. From seph at commerceflow.com Mon Jan 6 23:16:43 2003 From: seph at commerceflow.com (seph) Date: Mon, 06 Jan 2003 20:16:43 -0800 Subject: [rt-users] 100's of duplicate database queries? postgresql In-Reply-To: <200301061359.02918.tarragon@onthe.net.au> (Tarragon Allen's message of "Mon, 6 Jan 2003 13:59:02 +1100") References: <200301061359.02918.tarragon@onthe.net.au> Message-ID: Tarragon Allen writes: > Hi, > > I'm presently trying to determine why our version of RT is running so slow. At > first we thought it was because the system it was running on was > underpowered, however I've just moved it across to a new high powered machine > and it's still running dog slow. did you look in the mail archives? Or the faq? they both have some suggestions. seph From tarragon at onthe.net.au Tue Jan 7 00:57:38 2003 From: tarragon at onthe.net.au (Tarragon Allen) Date: Tue, 7 Jan 2003 16:57:38 +1100 Subject: [rt-users] 100's of duplicate database queries? postgresql In-Reply-To: References: <200301061359.02918.tarragon@onthe.net.au> Message-ID: <200301071657.38526.tarragon@onthe.net.au> On Tuesday 07 January 2003 15:16, seph wrote: > Tarragon Allen writes: > > Hi, > > > > I'm presently trying to determine why our version of RT is running so > > slow. At first we thought it was because the system it was running on was > > underpowered, however I've just moved it across to a new high powered > > machine and it's still running dog slow. > > did you look in the mail archives? Or the faq? they both have some > suggestions. Yes, and yes. As I said, I've looked at the indexes, they appear fine, and yes, I've looked at the hardware running the show, however it seems to me that for the size of our database, compared to other discussions where RT is running slow, we should not be seeing these sorts of slowdowns. It seemed strange to me that RT is making 100's of apparently duplicate queries for a single "view ticket". Is this normal behaviour, and if so, wouldn't it be a lot more efficient to do one query and cache it? I came to this list as a last resort after spending quite a lot of time trying to determine what was wrong myself. t -- GPG: http://n12turbo.com/tarragon/public.key From lynoure at otaverkko.fi Tue Jan 7 01:54:44 2003 From: lynoure at otaverkko.fi (Lynoure =?ISO-8859-1?Q?Rajam=E4ki?=) Date: 07 Jan 2003 08:54:44 +0200 Subject: [rt-users] NotifyOtherRecipientsWithAttach In-Reply-To: <000e01c2b34c$890a3870$0c890d0a@AR157369> References: <200301022112.h02LCdax043382@coal.sentex.ca> <000e01c2b34c$890a3870$0c890d0a@AR157369> Message-ID: <1041922484.1259.15.camel@isis> On Fri, 2003-01-03 at 19:20, Asif Iqbal wrote: > I found a module that allows Notify All Watchers with Attachment. Is there > one that will allow Notify Other Recipients With Attach ? As far as I know there is not. As far as I have noticed NotifyAllWatchersWithAttachment notifies everybody except the person making the transaction. I have to admit I'm not sure how that's different from Notify Other Recipients. -- Lynoure Rajam?ki lynoure at otaverkko.fi From rehan at nha.co.za Tue Jan 7 03:38:13 2003 From: rehan at nha.co.za (Rehan van der Merwe) Date: Tue, 7 Jan 2003 10:38:13 +0200 Subject: [rt-users] Displaying someone else's Start Page Message-ID: <8F2D061DFD77E444B00D8FE9B8273DD005AB99@titan.nha.co.za> Hi everyone, Weird Problem: Some of my users often have the problem that they log in and then end up on someone else's startpage (usually when returning to the startpage), or going to "search" to find someone else's search criteria. They are all located together at a client site, so I would guess that there is some caching problem somewhere at this site. Anyone else fould this? Can anyone shed some light into where I would fix the problem? Regards, Rehan van der Merwe Neil Harvey & Associates From kamara at eahd.or.ug Tue Jan 7 08:48:35 2003 From: kamara at eahd.or.ug (Kamara Eric R-M) Date: Tue, 7 Jan 2003 16:48:35 +0300 (EAT) Subject: [rt-users] Configuration Problem Message-ID: <20030107164205.E98585-100000@nemesis.eahd.or.ug> Hello, This is my first time to set up WebRT and I have installed rt 2.0.15 on a SuSE 7.2 box. I am getting a problem with the httpd.conf file though..I want to set it up to run with other content on the server and i followed the instructions in the online manual.However on starting up apache i get the following error. *************************************** Syntax error on line 562 of /etc/httpd/httpd.conf: Invalid command 'PerlRequire', perhaps mis-spelled or defined by a module not included in the server configuration /usr/sbin/apachectl startssl: httpd could not be started ************************************ All help will be greatly appreciated. Regards, Eric -------- #!/usr/bin/perl while (!$you_are_around) { my $heart= NULL; } From ssinyagin at yahoo.com Tue Jan 7 09:53:25 2003 From: ssinyagin at yahoo.com (Stanislav Sinyagin) Date: Tue, 7 Jan 2003 06:53:25 -0800 (PST) Subject: [rt-users] Configuration Problem In-Reply-To: <20030107164205.E98585-100000@nemesis.eahd.or.ug> Message-ID: <20030107145325.33120.qmail@web13704.mail.yahoo.com> Hi, this means your Apache is not aware about mod_perl. Check the installation instructions regarding Apache setup. --- Kamara Eric R-M wrote: > Syntax error on line 562 of /etc/httpd/httpd.conf: > Invalid command 'PerlRequire', perhaps mis-spelled or defined by a module > not included in the server configuration > /usr/sbin/apachectl startssl: httpd could not be started Regards, Stan From cyrille at iwebgroup.com Tue Jan 7 11:12:18 2003 From: cyrille at iwebgroup.com (Cyrille Mertes) Date: Tue, 07 Jan 2003 11:12:18 -0500 Subject: [rt-users] problem with custom template Message-ID: <3E1AFC62.6050706@iwebgroup.com> Hi, I want to use RT on two web server in load balacing. On my first web server, RT work fine with my custom template (the installation was made by another person). On the new web server, RT work fine with the default template. When I try to use my custom template on the new web server, I can logon, and then If I tried to create/modify users, queue.... I have this error... Any help should be appreciated... Thanks, Cyrille. error: Invalid <%args> section line at /iweb/rt2/WebRT/html/Elements/ListActions line 11 context: ... 7: % } 8: <& /Elements/TitleBoxEnd &> 9: % } 10: <%ARGS> 11: @actions = undef 12: 13: code stack: /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:611 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:340 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:282 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:188 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:138 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm:99 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler.pm:196 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm:69 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm:109 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm:319 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:849 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:947 /iweb/rt2/WebRT/html/Admin/Users/Modify.html:4 /iweb/rt2/WebRT/html/autohandler:55 Invalid <%args> section line at /iweb/rt2/WebRT/html/Elements/ListActions line 11 Trace begun at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 611 HTML::Mason::Lexer::throw_syntax_error('HTML::Mason::Lexer=HASH(0x8c980f0)', 'Invalid <%args> section line') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 340 HTML::Mason::Lexer::match_block_end('HTML::Mason::Lexer=HASH(0x8c980f0)', 'HASH(0x8d3ae60)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 282 HTML::Mason::Lexer::variable_list_block('HTML::Mason::Lexer=HASH(0x8c980f0)', 'HASH(0x8d3ae60)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 188 HTML::Mason::Lexer::match_block('HTML::Mason::Lexer=HASH(0x8c980f0)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 138 HTML::Mason::Lexer::start('HTML::Mason::Lexer=HASH(0x8c980f0)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 99 eval {...}('HTML::Mason::Lexer=HASH(0x8c980f0)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Lexer.pm line 97 HTML::Mason::Lexer::lex(undef, 'comp_source', 'SCALAR(0x8d367d8)', 'name', '/iweb/rt2/WebRT/html/Elements/ListActions', 'compiler', 'HTML::Mason::Compiler::ToObject=HASH(0x8c96a10)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler.pm line 196 HTML::Mason::Compiler::compile(undef, 'fh', '*HTML::Mason::Tools::FH', 'comp_source', 'SCALAR(0x8d367d8)', 'name', '/iweb/rt2/WebRT/html/Elements/ListActions') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm line 69 HTML::Mason::Compiler::ToObject::compile('HTML::Mason::Compiler::ToObject=HASH(0x8c96a10)', 'comp_source', 'SCALAR(0x8d367d8)', 'name', '/iweb/rt2/WebRT/html/Elements/ListActions', 'comp_class', 'HTML::Mason::Component::FileBased', 'fh', '*HTML::Mason::Tools::FH') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm line 109 HTML::Mason::Compiler::ToObject::compile_to_file(undef, 'file', '/iweb/rt2/WebRT/data/obj/standard/Elements/ListActions', 'source', 'HTML::Mason::ComponentSource=HASH(0x8da5d50)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm line 319 HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x8c94bcc)', '/Elements/ListActions') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 849 HTML::Mason::Request::fetch_comp('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)', '/Elements/ListActions') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 947 HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)', '/Elements/ListActions', 'actions', 'ARRAY(0x8de2dd0)') called at /iweb/rt2/WebRT/html/Admin/Users/Modify.html line 4 HTML::Mason::Commands::__ANON__('id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 122 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8da6c88)', 'id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1025 eval {...}('HTML::Mason::Component::FileBased=HASH(0x8da6c88)', 'id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1019 HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)', 'HTML::Mason::Component::FileBased=HASH(0x8da6c88)', 'id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 724 HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)') called at /iweb/rt2/WebRT/html/autohandler line 55 HTML::Mason::Commands::__ANON__('id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 122 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8cf55e0)', 'id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1020 eval {...}('HTML::Mason::Component::FileBased=HASH(0x8cf55e0)', 'id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1019 HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)', 'HASH(0x8d5e210)', 'HTML::Mason::Component::FileBased=HASH(0x8cf55e0)', 'id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 338 eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)', 'HASH(0x8d5e210)', 'HTML::Mason::Component::FileBased=HASH(0x8cf55e0)', 'id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 338 eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)', 'HASH(0x8d5e210)', 'HTML::Mason::Component::FileBased=HASH(0x8cf55e0)', 'id', 7) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 298 HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 137 eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 137 HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8da9d6c)') called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 786 HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8211404)', 'Apache=SCALAR(0x8ddd5c0)') called at /virtual/rt2/bin/webmux.pl line 170 RT::Mason::handler('Apache=SCALAR(0x8ddd5c0)') called at /dev/null line 0 eval {...}('Apache=SCALAR(0x8ddd5c0)') called at /dev/null line 0 From seph at commerceflow.com Tue Jan 7 12:56:18 2003 From: seph at commerceflow.com (seph) Date: Tue, 07 Jan 2003 09:56:18 -0800 Subject: [rt-users] 100's of duplicate database queries? postgresql In-Reply-To: <200301071657.38526.tarragon@onthe.net.au> (Tarragon Allen's message of "Tue, 7 Jan 2003 16:57:38 +1100") References: <200301061359.02918.tarragon@onthe.net.au> <200301071657.38526.tarragon@onthe.net.au> Message-ID: how many users do you have in the system? how many watchers on the ticket? you're initial mail didn't say. seph Tarragon Allen writes: > On Tuesday 07 January 2003 15:16, seph wrote: >> Tarragon Allen writes: >> > Hi, >> > >> > I'm presently trying to determine why our version of RT is running so >> > slow. At first we thought it was because the system it was running on was >> > underpowered, however I've just moved it across to a new high powered >> > machine and it's still running dog slow. >> >> did you look in the mail archives? Or the faq? they both have some >> suggestions. > > Yes, and yes. As I said, I've looked at the indexes, they appear fine, and > yes, I've looked at the hardware running the show, however it seems to me > that for the size of our database, compared to other discussions where RT is > running slow, we should not be seeing these sorts of slowdowns. > > It seemed strange to me that RT is making 100's of apparently duplicate > queries for a single "view ticket". Is this normal behaviour, and if so, > wouldn't it be a lot more efficient to do one query and cache it? > > I came to this list as a last resort after spending quite a lot of time trying > to determine what was wrong myself. > > t > -- > GPG: http://n12turbo.com/tarragon/public.key From jgedeon at qualcomm.com Tue Jan 7 14:38:56 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Tue, 07 Jan 2003 11:38:56 -0800 Subject: [rt-users] Removing quotes of previous email.& link error Message-ID: <5.1.0.14.2.20030107113206.00ab1df0@mail1.qualcomm.com> I have RT 2.0.15 installed on a solaris 2.8 machine with mysql and perl. I am having two issues. **First is that links to a specific ticket in the rt system do not work if a user is not logged in. IE i get an email saying here is a link to my ticket, Click Here. If i click there I am then asked to log in. Upon logging in I am told "RT Error No Ticket Specified" However if i then go to the ticket via the go to function I can see it. or if i follow the link after i have just logged in it also works. I have the same issue with bookmarked searches. the bookmark doesn't work unless I am already logged into the rt system. **Second we have a mail list which we want rt to manage. the mail list is very high volume and many emails have lots of pervious emails quoted in them. Is there a way to have rt filter these quoted emails out? Thanks John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From darren at boston.com Tue Jan 7 14:42:09 2003 From: darren at boston.com (darren chamberlain) Date: Tue, 7 Jan 2003 14:42:09 -0500 Subject: [rt-users] Removing quotes of previous email.& link error In-Reply-To: <5.1.0.14.2.20030107113206.00ab1df0@mail1.qualcomm.com> References: <5.1.0.14.2.20030107113206.00ab1df0@mail1.qualcomm.com> Message-ID: <20030107-b7ed92d8e31aab13109b801a2045a40a@mail.boston.com> * John Gedeon [2003-01-07 14:38]: > **First is that links to a specific ticket in the rt system do not work > if a user is not logged in. IE i get an email saying here is a link to my > ticket, Click Here. If i click there I am then asked to log in. Upon > logging in I am told > "RT Error > No Ticket Specified" > However if i then go to the ticket via the go to function I can see it. > or if i follow the link after i have just logged in it also works. > > I have the same issue with bookmarked searches. the bookmark doesn't > work unless I am already logged into the rt system. We've gotten around that issue by modifying the cookie that gets set to persist beyond the current browser session. > **Second we have a mail list which we want rt to manage. the mail list > is very high volume and many emails have lots of pervious emails quoted in > them. Is there a way to have rt filter these quoted emails out? RT doesn't manage mailing lists; you'd need a mailing list manager, possibly in combination with procmail or your MTA's alias feature to ensure that rt-mailgate gets the appropriate messages. (darren) -- My wife always warns me about all that cholesterol in the French fries I eat. I just laugh at her, though, because I know with all the salt I put on them, my blood pressure is high enough to push through any clogged arteries. -- Dean Anderson From rich+rt at lafferty.ca Tue Jan 7 14:47:45 2003 From: rich+rt at lafferty.ca (Rich Lafferty) Date: Tue, 7 Jan 2003 14:47:45 -0500 Subject: [rt-users] Removing quotes of previous email.& link error In-Reply-To: <20030107-b7ed92d8e31aab13109b801a2045a40a@mail.boston.com>; from darren@boston.com on Tue, Jan 07, 2003 at 02:42:09PM -0500 References: <5.1.0.14.2.20030107113206.00ab1df0@mail1.qualcomm.com> <20030107-b7ed92d8e31aab13109b801a2045a40a@mail.boston.com> Message-ID: <20030107144745.A11797@lafferty.ca> John Gedeon wrote on 2003-01-07 14:38: > **First is that links to a specific ticket in the rt system do not work > if a user is not logged in. If you're using FastCGI, try this patch. --- rt2-orig/bin/mason_handler.fcgi Thu Oct 3 21:12:16 2002 +++ rt2-esmith/bin/mason_handler.fcgi Thu Oct 3 22:03:44 2002 @@ -127,6 +127,15 @@ $HTML::Mason::Commands::ContentType = 'text/html'; + # CGI::param does not include query string in POST; let's + # keep it all in the same place like mod_perl does. + # This stanza is *not* from ApacheHandler.pm. + if ($cgi->request_method eq 'POST') { + foreach my $key ( $cgi->url_param ) { + $cgi->param($key, $cgi->url_param($key)) unless $cgi->param($key); + } + } + # This routine comes from ApacheHandler.pm: my (%args, $cookie); foreach my $key ( $cgi->param ) { Cheers, -Rich -- Rich Lafferty --------------+----------------------------------------------- Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus! http://www.lafferty.ca/ | http://zapatopi.net/treeoctopus.html rich at lafferty.ca -----------+----------------------------------------------- From jgedeon at qualcomm.com Tue Jan 7 15:26:26 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Tue, 07 Jan 2003 12:26:26 -0800 Subject: [rt-users] Removing quotes of previous email.& link error In-Reply-To: <20030107144745.A11797@lafferty.ca> References: <20030107-b7ed92d8e31aab13109b801a2045a40a@mail.boston.com> <5.1.0.14.2.20030107113206.00ab1df0@mail1.qualcomm.com> <20030107-b7ed92d8e31aab13109b801a2045a40a@mail.boston.com> Message-ID: <5.1.0.14.2.20030107122354.00af5fc0@mail1.qualcomm.com> Thanks for the help Rich :) I am using FastCGI and that hack (Below) seems to be working great. as far as the previous emails being quoted I am just going to not include those in any of the emails rt sends.. thats what the boss said to do :) John At 11:47 AM 1/7/2003, you wrote: >John Gedeon wrote on 2003-01-07 14:38: > > **First is that links to a specific ticket in the rt system do not work > > if a user is not logged in. > >If you're using FastCGI, try this patch. > >--- rt2-orig/bin/mason_handler.fcgi Thu Oct 3 21:12:16 2002 >+++ rt2-esmith/bin/mason_handler.fcgi Thu Oct 3 22:03:44 2002 >@@ -127,6 +127,15 @@ > > $HTML::Mason::Commands::ContentType = 'text/html'; > >+ # CGI::param does not include query string in POST; let's >+ # keep it all in the same place like mod_perl does. >+ # This stanza is *not* from ApacheHandler.pm. >+ if ($cgi->request_method eq 'POST') { >+ foreach my $key ( $cgi->url_param ) { >+ $cgi->param($key, $cgi->url_param($key)) unless $cgi->param($key); >+ } >+ } >+ > # This routine comes from ApacheHandler.pm: > my (%args, $cookie); > foreach my $key ( $cgi->param ) { > > >Cheers, > > -Rich > >-- >Rich Lafferty --------------+----------------------------------------------- > Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus! > http://www.lafferty.ca/ | http://zapatopi.net/treeoctopus.html >rich at lafferty.ca -----------+----------------------------------------------- >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From jgedeon at qualcomm.com Tue Jan 7 15:37:28 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Tue, 07 Jan 2003 12:37:28 -0800 Subject: [rt-users] Adding notes to a ticket. Message-ID: <5.1.0.14.2.20030107123513.058c2310@mail1.qualcomm.com> Is it possible to add notes to a ticket and not have the notes sent to any one? basically the comment feature but with no emails sent out (just that once the default would send out emails). John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From gm at efn.org Tue Jan 7 16:18:34 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Tue, 7 Jan 2003 13:18:34 -0800 (PST) Subject: [rt-users] Custom Display.html and Select Status woes Message-ID: I'm making Display show a EditBasics and EditPeople box, which involved stealing much from ModifyAll.html and adding back in Display.html parts to properly work with Create.html. Most of our initial responses require changing Subject, Status, Queue, or Owner/Requestor/etc, so it makes sense to include 2 boxes on the plain Display page to speed up responding. A few bugs: 1) I'm getting a Duplicate submission message even though it submits fine. Any suggestions to fix this? 2) The EditBasic conflicts with the OpenTicket addon for 'new' tickets, when Editbasic's status default to new, and then it processes the page: the status goes Open because of the transaction, then goes back to New because of processing the 'new' selection. Patching EditBasics to not allow a default 'new' selection status but change that to 'open' would fix the problem. But I can't figure out what to replace this in EditBasic to do that. my $SelectStatus = $m->scomp("/Elements/SelectStatus", Name => 'Status', Default=>$TicketObj->Status); Help? My new Display.html is enclosed (not diffed, since it's a mix of Display and ModifyAll) -------------- next part -------------- <& /Elements/Header, Title => "Ticket #".$Ticket->Id ." ".$Ticket->Subject &> <& /Ticket/Elements/Tabs, Ticket => $Ticket , current_tab => "Ticket/Display.html?id=".$Ticket->Id &> <& /Elements/ListActions, actions => \@results &> <& /Ticket/Elements/ShowSummary, Ticket => $Ticket &>
<& /Ticket/Elements/ShowHistory , Ticket => $Ticket, ShowHeaders => $ARGS{'ShowHeaders'}, URIFile => 'History.html' &> <& /Elements/TitleBoxStart, title => 'Ticket #'.$Ticket->Id, color=> "#993333", width => "100%" &> <& Elements/EditBasics, TicketObj => $Ticket &> <& /Elements/TitleBoxEnd &>
<& /Elements/TitleBoxStart, title => 'People',width => "100%", color=> "#333399 " &> <& Elements/EditPeople, Ticket => $Ticket, UserField => $UserField, UserString => $UserString, UserOp => $UserOp &> <& /Elements/TitleBoxEnd &>
<& /Elements/Submit, Label => 'Save Changes', Caption => "If you've updated any thing above, be sure to", color => "#333399" &>
<%INIT> my ($linkid, $message, $tid, $Ticket, @Actions); my (@wresults, @results, @okresults, @dresults, @lresults); my $CanRespond = 0; my $CanComment = 0; $Ticket = new RT::Ticket($session{'CurrentUser'}); unless ($id) { Abort('No ticket specified'); } if ($ARGS{'id'} eq 'new') { # {{{ Create a new ticket my $Queue = new RT::Queue($session{'CurrentUser'}); unless ($Queue->Load($ARGS{'Queue'})) { Abort('Queue not found'); } unless ($Queue->CurrentUserHasRight('CreateTicket')) { Abort('You have no permission to create tickets in that queue.'); } my $due = new RT::Date($session{'CurrentUser'}); $due->Set(Format => 'unknown', Value => $ARGS{'Due'}); my $starts = new RT::Date($session{'CurrentUser'}); $starts->Set(Format => 'unknown', Value => $ARGS{'Starts'}); my @Requestors = split(/,/,$ARGS{'Requestors'}); my @Cc = split(/,/,$ARGS{'Cc'}); my @AdminCc = split(/,/,$ARGS{'AdminCc'}); my $MIMEObj = MakeMIMEEntity( Subject => $ARGS{'Subject'}, From => $ARGS{'From'}, Cc => $ARGS{'Cc'}, Body => $ARGS{'Content'}, AttachmentFieldName => 'Attach'); my %create_args = ( Queue=>$ARGS{Queue}, Owner=>$ARGS{ValueOfOwner}, InitialPriority=> $ARGS{InitialPriority}, FinalPriority=> $ARGS{FinalPriority}, TimeLeft => $ARGS{TimeLeft}, TimeWorked => $ARGS{TimeWorked}, Requestor=> \@Requestors, Cc => \@Cc, AdminCc => \@AdminCc, Subject=>$ARGS{Subject}, Status=>$ARGS{Status}, Due => $due->ISO, Starts => $starts->ISO, MIMEObj => $MIMEObj ); # we need to get any KeywordSelect- fields into %create_args.. grep { $_ =~ /^KeywordSelect-/ && {$create_args{$_} = $ARGS{$_}}} %ARGS; my ($id, $Trans, $ErrMsg)= $Ticket->Create(%create_args); unless ($id && $Trans) { Abort($ErrMsg); } my @linktypes = qw( DependsOn MemberOf RefersTo ); foreach my $linktype (@linktypes) { foreach my $luri (split (/ /,$ARGS{"new-$linktype"})) { $luri =~ s/\s*$//; # Strip trailing whitespace my ($val, $msg) = $Ticket->AddLink( Target => $luri, Type => $linktype); push @Actions, $msg; } foreach my $luri (split (/ /,$ARGS{"$linktype-new"})) { my ($val, $msg) = $Ticket->AddLink( Base => $luri, Type => $linktype); push @Actions, $msg; } } # don't try to change queue to the current queue delete $ARGS{'Queue'}; push(@Actions, $ErrMsg); unless ($Ticket->CurrentUserHasRight('ShowTicket')) { Abort("No permission to view newly created ticket #".$Ticket->id."."); } # }}} } else { $Ticket = LoadTicket($ARGS{'id'}); unless ($Ticket->CurrentUserHasRight('ShowTicket')) { Abort("No permission to view ticket"); } $CanRespond = 1 if ( $Ticket->CurrentUserHasRight('ReplyToTicket') or $Ticket->CurrentUserHasRight('ModifyTicket') ); $CanComment = 1 if ( $Ticket->CurrentUserHasRight('CommentOnTicket') or $Ticket->CurrentUserHasRight('ModifyTicket') ); if (defined $ARGS{'Action'}) { if ($ARGS{'Action'} =~ /^(Steal|Kill|Take|SetTold)$/) { my $action = $1; my ($res, $msg)=$Ticket->$action(); push(@Actions, $msg); } } $ARGS{'UpdateContent'} =~ s/\r\n/\n/g; if ($ARGS{'UpdateContent'} && $ARGS{'UpdateContent'} ne '' && $ARGS{'UpdateContent'} ne "-- \n" . $session{'CurrentUser'}->UserObj->Signature ) { ProcessUpdateMessage(ARGSRef=>\%ARGS, Actions=>\@Actions, TicketObj=>$Ticket); } #Process status updates my @BasicActions = ProcessTicketBasics(ARGSRef => \%ARGS, TicketObj=>$Ticket); push (@Actions, @BasicActions); } unless ($OnlySearchForPeople) { @wresults = ProcessTicketWatchers( TicketObj => $Ticket, ARGSRef => \%ARGS) ; @results = ProcessTicketBasics( TicketObj => $Ticket, ARGSRef => \%ARGS); @okresults = ProcessTicketObjectKeywords(TicketObj => $Ticket, ARGSRef => \ %ARGS); @dresults = ProcessTicketDates( TicketObj => $Ticket, ARGSRef => \%ARGS); @lresults = ProcessTicketLinks( TicketObj => $Ticket, ARGSRef => \%ARGS); $ARGS{'UpdateContent'} =~ s/\r\n/\n/g; if ($ARGS{'UpdateContent'} && $ARGS{'UpdateContent'} ne '' && $ARGS{'UpdateContent'} ne "-- \n" . $session{'CurrentUser'}->UserObj->Signature ) { ProcessUpdateMessage(TicketObj => $Ticket, ARGSRef=>\%ARGS, Actions=>\@results); } } push @results, @wresults; push @results, @dresults; push @results, @lresults; push @results, @okresults; # If they've gone and moved the ticket to somewhere they can't see, etc... # TODO: display the results, even if we can't display the ticket. unless ($Ticket->CurrentUserHasRight('ShowTicket')) { Abort("No permission to view ticket"); } <%ARGS> $id => undef $Create => undef $ShowHeaders => undef $Collapsed => undef $OnlySearchForPeople => undef $UserField => undef $UserOp => undef $UserString => undef From gm at efn.org Tue Jan 7 16:28:47 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Tue, 7 Jan 2003 13:28:47 -0800 (PST) Subject: [rt-users] Working "Resolved - complete history" Template Message-ID: I tried a few of the existing "Resolved" Templates I found in the archives, and had some trouble getting them to work, but I persevered and finally made something I liked that had additional features. In the process, I learned much more about DBI::SearchBuilder and how templates work. I'm still not sure I'll use this as a 'resolved' template for sending to Requestor on close of tickets, but it would be useful for any sort of reporting needed on status, or other 'what's the history?' need. Imagine a 'ifPriorityExceeds' calling this to notify some else of the ticket and the history behind it. Only correspondence is processed (easy to change) Items with no subject are given the Subject of the Ticket itself, rather than no subject listed. and no emails are given, only Real Names. (again, fairly easy to add) Overall, I like it. Shows me the power of RT templates. For webusers, this isn't really needed, but for email users, this could be very nice indeed (imagine a 'send history' command) ----------- Subject: Ticket Resolved: {$Ticket->Subject} Greetings, Your issue regarding "{$Ticket->Subject()}", has been resolved in our ticket system. If you have any further questions or concerns, please reply to this message to reopen the ticket. Otherwise, no need to reply. Thanks, the staff ---------------------------------------------------------------- --- Your initial request was ----------------------------------- ---------------------------------------------------------------- {$Ticket->Transactions->First->Content()} ---------------------------------------------------------------- --- Additional activity ---------------------------------------- ---------------------------------------------------------------- { my $resolved_transaction; my $resolved_message = ""; my $Transactions = $Ticket->Transactions; $Transactions->OrderBy; $Transactions->GotoFirstItem; while (my $Transaction = $Transactions->Next) { if ($Transaction->Type eq 'Correspond') { $resolved_transaction = $Transaction; } elsif (!$Transactions->IsLast) { $resolved_transaction = undef; } if ($resolved_transaction) { my $attachments = $resolved_transaction->Attachments; $attachments->GotoFirstItem; while (my $message = $attachments->Next) { next unless $message->ContentType =~ m!^(text/plain|message|text$)!i; my $content = $message->Content; next unless length $content; my $subject = ($message->Subject || $Ticket->Subject); my $wrapper = Text::Wrapper->new(columns=>70); $content = $wrapper->wrap($content); $resolved_message .= "Subject: "; $resolved_message .= $subject; $resolved_message .= "\n"; $resolved_message .= "From: "; $resolved_message .= $message->CreatorObj->RealName; $resolved_message .= "\n"; $resolved_message .= "Time: "; $resolved_message .= $message->CreatedObj->AsString; $resolved_message .= "\n"; $resolved_message .= "\n"; $resolved_message .= "$content\n"; $resolved_message .= "--------------------------\n"; } } } $resolved_message; } -- ## Seth Cohn, General Manager of Eugene Free Community Network gm at efn.org ## Businesses planned for service are apt to succeed; Phone 541-484-9637 ## Businesses planned for profit are apt to fail. - N. Butler From jgedeon at qualcomm.com Tue Jan 7 17:11:32 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Tue, 07 Jan 2003 14:11:32 -0800 Subject: [rt-users] Scrip action Message-ID: <5.1.0.14.2.20030107141007.05461008@mail1.qualcomm.com> Who does the scrip action NotifyOtherRecipientsAsComment include? I cant seem to find it in the documentation or the code. John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From pdh at snapgear.com Tue Jan 7 18:22:10 2003 From: pdh at snapgear.com (Phil Homewood) Date: Wed, 8 Jan 2003 09:22:10 +1000 Subject: [rt-users] problem with custom template In-Reply-To: <3E1AFC62.6050706@iwebgroup.com> References: <3E1AFC62.6050706@iwebgroup.com> Message-ID: <20030107232210.GA471@luggage.internal.moreton.com.au> Cyrille Mertes wrote: > and then If I tried to create/modify users, queue.... I have this error... > Any help should be appreciated... > > error: Invalid <%args> section line at > /iweb/rt2/WebRT/html/Elements/ListActions line 11 context: > ... > 7: % } > 8: <& /Elements/TitleBoxEnd &> > 9: % } > 10: <%ARGS> > 11: @actions = undef > 12: > 13: I suspect this is unrelated to your template. (and possibly related to different Mason versions). Try changing the "@actions = undef" to "@actions => undef" and restarting your web server. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Tue Jan 7 18:35:58 2003 From: pdh at snapgear.com (Phil Homewood) Date: Wed, 8 Jan 2003 09:35:58 +1000 Subject: [rt-users] Scrip action In-Reply-To: <5.1.0.14.2.20030107141007.05461008@mail1.qualcomm.com> References: <5.1.0.14.2.20030107141007.05461008@mail1.qualcomm.com> Message-ID: <20030107233558.GB471@luggage.internal.moreton.com.au> John Gedeon wrote: > Who does the scrip action NotifyOtherRecipientsAsComment include? > I cant seem to find it in the documentation or the code. It's not exactly intuitive, is it? "Other" recipients are those in the Cc and Bcc boxes on the "modify ticket" (comment/correspond) page. http://fsck.com/rtfm/article.html?id=2#215 has been updated to reflect this. :-) -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From cyrille at iwebgroup.com Tue Jan 7 19:07:00 2003 From: cyrille at iwebgroup.com (Cyrille Mertes) Date: Tue, 07 Jan 2003 19:07:00 -0500 Subject: [rt-users] problem with custom template References: <3E1AFC62.6050706@iwebgroup.com> <20030107232210.GA471@luggage.internal.moreton.com.au> Message-ID: <006401c2b6a9$ddf05a80$0400a8c0@okcomputer> Thanks, everything is ok now. Cyrille. ----- Original Message ----- From: "Phil Homewood" To: Sent: Tuesday, January 07, 2003 6:22 PM Subject: Re: [rt-users] problem with custom template > Cyrille Mertes wrote: > > and then If I tried to create/modify users, queue.... I have this error... > > Any help should be appreciated... > > > > error: Invalid <%args> section line at > > /iweb/rt2/WebRT/html/Elements/ListActions line 11 context: > > ... > > 7: % } > > 8: <& /Elements/TitleBoxEnd &> > > 9: % } > > 10: <%ARGS> > > 11: @actions = undef > > 12: > > 13: > > I suspect this is unrelated to your template. (and possibly > related to different Mason versions). Try changing the > "@actions = undef" to "@actions => undef" and restarting your > web server. > -- > Phil Homewood, Systems Janitor, www.SnapGear.com > pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 > SnapGear - Custom Embedded Solutions and Security Appliances > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > From jeffholst at hotmail.com Tue Jan 7 22:30:36 2003 From: jeffholst at hotmail.com (Jeff Holst) Date: Tue, 07 Jan 2003 21:30:36 -0600 Subject: [rt-users] Can two unique instances of RT share the same database? Message-ID: I have two unique installations of RT running on one server. Each uses it's own RT code base, and has a dedicated apache server listening on different ports. The one commonality between these two instances of RT is that they point to the same mysql database. I'm doing this because each of the RT instances has it's own look and feel as well as handles authorization differently. Both instances of RT need access to the same queues and tickets, however. Has anyone had any success or failures with a similar setup? Are there any better suggestions how to go about this? I suppose I could have duplicate copies of my database that I syncronize somehow on the backend, but I don't know if this is necessary. The only real concern I have with my installation is I don't know how database locking is handled and if there is a possibility of database corruption if both instances are writting the same information at the same time. Any help would greatly be appreciated. Thanks, -jeff _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From seph at commerceflow.com Tue Jan 7 23:54:31 2003 From: seph at commerceflow.com (seph) Date: Tue, 07 Jan 2003 20:54:31 -0800 Subject: [rt-users] Can two unique instances of RT share the same database? In-Reply-To: ("Jeff Holst"'s message of "Tue, 07 Jan 2003 21:30:36 -0600") References: Message-ID: I don't see why it wouldn't work. realize that the mailgateway and command line clients both talk to the db directly. Having another web interface should be fine. (of course, I haven't ever tried) seph "Jeff Holst" writes: > I have two unique installations of RT running on one server. Each > uses it's own RT code base, and has a dedicated apache server > listening on different ports. The one commonality between these two > instances of RT is that they point to the same mysql database. I'm > doing this because each of the RT instances has it's own look and feel > as well as handles authorization differently. Both instances of RT > need access to the same queues and tickets, however. Has anyone had > any success or failures with a similar setup? Are there any better > suggestions how to go about this? I suppose I could have duplicate > copies of my database that I syncronize somehow on the backend, but I > don't know if this is necessary. The only real concern I have with my > installation is I don't know how database locking is handled and if > there is a possibility of database corruption if both instances are > writting the same information at the same time. Any help would > greatly be appreciated. > > Thanks, > > -jeff > > > > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm From jeffholst at hotmail.com Wed Jan 8 00:34:57 2003 From: jeffholst at hotmail.com (Jeff Holst) Date: Tue, 07 Jan 2003 23:34:57 -0600 Subject: [rt-users] Can two unique instances of RT share the same database? Message-ID: Thanks Seph. Just to clarify my two unique installations of RT using a shared database are installed and fully operational. I've already confirmed this appears to work fine on the surface. I just want to make sure there aren't any known gotchas with a configuration of this type. I forgot about the mailgateway and command line clients essentially doing the same thing so it sounds like everything should be fine. I presume RT must have some type of table locking to prevent database corruption from multiple users with even just one instance of RT. I'm just hoping this applies to two instances of RT as well. -jeff >From: seph >To: "Jeff Holst" >CC: rt-users at lists.fsck.com >Subject: Re: [rt-users] Can two unique instances of RT share the same >database? >Date: Tue, 07 Jan 2003 20:54:31 -0800 > >I don't see why it wouldn't work. realize that the mailgateway and >command line clients both talk to the db directly. Having another web >interface should be fine. (of course, I haven't ever tried) > >seph > >"Jeff Holst" writes: > > > I have two unique installations of RT running on one server. Each > > uses it's own RT code base, and has a dedicated apache server > > listening on different ports. The one commonality between these two > > instances of RT is that they point to the same mysql database. I'm > > doing this because each of the RT instances has it's own look and feel > > as well as handles authorization differently. Both instances of RT > > need access to the same queues and tickets, however. Has anyone had > > any success or failures with a similar setup? Are there any better > > suggestions how to go about this? I suppose I could have duplicate > > copies of my database that I syncronize somehow on the backend, but I > > don't know if this is necessary. The only real concern I have with my > > installation is I don't know how database locking is handled and if > > there is a possibility of database corruption if both instances are > > writting the same information at the same time. Any help would > > greatly be appreciated. > > > > Thanks, > > > > -jeff > > > > > > > > > > _________________________________________________________________ > > MSN 8 with e-mail virus protection service: 2 months FREE* > > http://join.msn.com/?page=features/virus > > > > _______________________________________________ > > rt-users mailing list > > rt-users at lists.fsck.com > > http://lists.fsck.com/mailman/listinfo/rt-users > > > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From js138 at eng.cam.ac.uk Wed Jan 8 09:15:12 2003 From: js138 at eng.cam.ac.uk (J. Sloan) Date: Wed, 8 Jan 2003 14:15:12 +0000 (GMT) Subject: [rt-users] Changing $rtname Message-ID: As per pervious discussion on the list (in 2000) I wanted to change $rtname to shorten the tag on each email. The previous discussion suggests that it can just be changed and all will be well. However this seems to cause authentication to stop working. Even removing all cookies and restarting the browser doesn't help. Now if I have a superuser session running when I stop and start httpd then I can still go in and reset the password of my test user, presumably using the stored cookie. This test user is then able to log in successfully. So I have a workaround - if I make my test user a superuser and apply this bodge, I can then go round and reset the passwords of all my other users, but I'm now worried about what else might break. I don't care anything about the existing tickets in the database, they're just test, but I don't really want to go round recreating all the ACLs, Users, Scrips, Groups etc. Any advice? Thanks. John From js138 at eng.cam.ac.uk Wed Jan 8 09:34:32 2003 From: js138 at eng.cam.ac.uk (J. Sloan) Date: Wed, 8 Jan 2003 14:34:32 +0000 (GMT) Subject: [rt-users] Changing $rtname In-Reply-To: Message-ID: I managed to answer my own question - it was the mod_perl caching. Moving the WebRT/data directory sideways and restarting httpd managed to cure the problem. John From hburgin at kevigs.lincs.sch.uk Wed Jan 8 10:41:32 2003 From: hburgin at kevigs.lincs.sch.uk (hburgin at kevigs.lincs.sch.uk) Date: Wed, 8 Jan 2003 15:41:32 -0000 (GMT) Subject: [rt-users] install problem - DBIx::SearchBuilder Message-ID: <60064.10.28.193.3.1042040492.squirrel@franklin.kevigs.lincs.sch.uk> I can't seem to get rt installed on my redhat 7.2 box - sorted out all the required modules _except_ DBIx::SearchBuilder. Output from make testdeps is: ---snip--- /usr/bin/perl ./tools/testdeps -warn Pg Checking for Digest::MD5...found Checking for Storable...found Checking for DBI 1.18 ...found Checking for DBIx::DataSource 0.02 ...found Checking for DBIx::SearchBuilder 0.48 ....DBIx::SearchBuilder 0.48 not installed. Checking for HTML::Entities...found Checking for MLDBM...found Checking for Net::Domain...found Checking for Net::SMTP...found Checking for Params::Validate 0.02 ...found Checking for HTML::Mason 1.02 ...found Checking for CGI::Cookie 1.20 ...found Checking for Apache::Cookie...found Checking for Apache::Session 1.53 ...found Checking for Date::Parse...found Checking for Date::Format...found Checking for MIME::Entity 5.108 ...found Checking for Mail::Mailer 1.20 ...found Checking for Getopt::Long 2.24 ...found Checking for Tie::IxHash...found Checking for Text::Wrapper...found Checking for Text::Template...found Checking for File::Spec 0.8 ...found Checking for Errno...found Checking for FreezeThaw...found Checking for File::Temp...found Checking for Log::Dispatch 1.6 ...found Checking for DBD::Pg ...found --end of snip-- so, run make fixdeps which gives me: ---snip--- /usr/bin/perl ./tools/testdeps -fix Pg Checking for Digest::MD5...found Checking for Storable...found Checking for DBI 1.18 ...found Checking for DBIx::DataSource 0.02 ...found Checking for DBIx::SearchBuilder 0.48 ....DBIx::SearchBuilder 0.48 not installed.Installing with CPAN...Going to read /root/.cpan/Metadata Database was generated on Tue, 07 Jan 2003 23:46:49 GMT Running install for module DBIx::SearchBuilder Running make for J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz CPAN: MD5 security checks disabled because MD5 not installed. Please consider installing the MD5 module. Scanning cache /root/.cpan/build for sizes DBIx-SearchBuilder-0.73/ DBIx-SearchBuilder-0.73/SearchBuilder/ DBIx-SearchBuilder-0.73/SearchBuilder/Handle/ DBIx-SearchBuilder-0.73/SearchBuilder/Handle/Pg.pm DBIx-SearchBuilder-0.73/SearchBuilder/Handle/mysql.pm DBIx-SearchBuilder-0.73/SearchBuilder/Handle/Oracle.pm DBIx-SearchBuilder-0.73/SearchBuilder/Record.pm DBIx-SearchBuilder-0.73/SearchBuilder/Handle.pm DBIx-SearchBuilder-0.73/SearchBuilder/Record/ DBIx-SearchBuilder-0.73/SearchBuilder/Record/Cachable.pm DBIx-SearchBuilder-0.73/MANIFEST DBIx-SearchBuilder-0.73/test.pl DBIx-SearchBuilder-0.73/MANIFEST.SKIP DBIx-SearchBuilder-0.73/Changes DBIx-SearchBuilder-0.73/Makefile.PL DBIx-SearchBuilder-0.73/SearchBuilder.pm Removing previously used /root/.cpan/build/DBIx-SearchBuilder-0.73 CPAN.pm: Going to build J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz Checking if your kit is complete... Looks good Writing Makefile for DBIx::SearchBuilder ---- Unsatisfied dependencies detected during [J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz] ----- Class::ReturnValue Shall I follow them and prepend them to the queue of modules we are processing right now? [yes] yes Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module Class::ReturnValue Running make for J/JE/JESSE/Class-ReturnValue-0.40.tar.gz CPAN: MD5 security checks disabled because MD5 not installed. Please consider installing the MD5 module. Class-ReturnValue-0.40/ Class-ReturnValue-0.40/Makefile.PL Class-ReturnValue-0.40/Changes Class-ReturnValue-0.40/MANIFEST Class-ReturnValue-0.40/lib/ Class-ReturnValue-0.40/lib/Class/ Class-ReturnValue-0.40/lib/Class/ReturnValue.pm Class-ReturnValue-0.40/t/ Class-ReturnValue-0.40/t/test.pl Removing previously used /root/.cpan/build/Class-ReturnValue-0.40 CPAN.pm: Going to build J/JE/JESSE/Class-ReturnValue-0.40.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Class::ReturnValue make[1]: Entering directory `/root/.cpan/build/Class-ReturnValue-0.40' cp lib/Class/ReturnValue.pm blib/lib/Class/ReturnValue.pm make[1]: Leaving directory `/root/.cpan/build/Class-ReturnValue-0.40' /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Running make for J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz Is already unwrapped into directory /root/.cpan/build/DBIx-SearchBuilder-0.73 CPAN.pm: Going to build J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz make[1]: Entering directory `/root/.cpan/build/DBIx-SearchBuilder-0.73' cp SearchBuilder/Handle/Pg.pm blib/lib/DBIx/SearchBuilder/Handle/Pg.pm cp SearchBuilder/Handle.pm blib/lib/DBIx/SearchBuilder/Handle.pm cp SearchBuilder/Handle/mysql.pm blib/lib/DBIx/SearchBuilder/Handle/mysql.pm cp SearchBuilder.pm blib/lib/DBIx/SearchBuilder.pm cp SearchBuilder/Record.pm blib/lib/DBIx/SearchBuilder/Record.pm cp SearchBuilder/Handle/Oracle.pm blib/lib/DBIx/SearchBuilder/Handle/Oracle.pm cp SearchBuilder/Record/Cachable.pm blib/lib/DBIx/SearchBuilder/Record/Cachable.pm Manifying blib/man3/DBIx::SearchBuilder::Handle.3pm Manifying blib/man3/DBIx::SearchBuilder::Handle::mysql.3pm Manifying blib/man3/DBIx::SearchBuilder.3pm Manifying blib/man3/DBIx::SearchBuilder::Record.3pm Manifying blib/man3/DBIx::SearchBuilder::Handle::Oracle.3pm make[1]: Leaving directory `/root/.cpan/build/DBIx-SearchBuilder-0.73' /usr/bin/make -- OK Running make test make[1]: Entering directory `/root/.cpan/build/DBIx-SearchBuilder-0.73' PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 test.pl 1..6 make[1]: Leaving directory `/root/.cpan/build/DBIx-SearchBuilder-0.73' /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Checking for HTML::Entities...found Checking for MLDBM...found Checking for Net::Domain...found Checking for Net::SMTP...found Checking for Params::Validate 0.02 ...found Checking for HTML::Mason 1.02 ...found Checking for CGI::Cookie 1.20 ...found Checking for Apache::Cookie...found Checking for Apache::Session 1.53 ...found Checking for Date::Parse...found Checking for Date::Format...found Checking for MIME::Entity 5.108 ...found Checking for Mail::Mailer 1.20 ...found Checking for Getopt::Long 2.24 ...found Checking for Tie::IxHash...found Checking for Text::Wrapper...found Checking for Text::Template...found Checking for File::Spec 0.8 ...found Checking for Errno...found Checking for FreezeThaw...found Checking for File::Temp...found Checking for Log::Dispatch 1.6 ...found Checking for DBD::Pg ...found --end of snip-- any advise will be welcome! TIA Harry From nevans at fedex.com Wed Jan 8 11:05:18 2003 From: nevans at fedex.com (Nathan Evans) Date: Wed, 8 Jan 2003 09:05:18 -0700 Subject: [rt-users] install problem - DBIx::SearchBuilder In-Reply-To: <60064.10.28.193.3.1042040492.squirrel@franklin.kevigs.lincs.sch.uk> Message-ID: <00d101c2b72f$bdab9600$c51051c7@ORB> Looks like its failing during the tests. This may be caused because the module test will try to logon to mysql as root without a password. Try to remove the password from mysql (for root) during the install. To remove the password, "mysql> SET PASSWORD ('')". Don't forget to put it back :o) -----Original Message----- From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com] On Behalf Of hburgin at kevigs.lincs.sch.uk Sent: Wednesday, January 08, 2003 8:42 AM To: rt-users at lists.fsck.com Subject: [rt-users] install problem - DBIx::SearchBuilder I can't seem to get rt installed on my redhat 7.2 box - sorted out all the required modules _except_ DBIx::SearchBuilder. Output from make testdeps is: From jesse at bestpractical.com Wed Jan 8 11:07:14 2003 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 8 Jan 2003 11:07:14 -0500 Subject: [rt-users] install problem - DBIx::SearchBuilder In-Reply-To: <60064.10.28.193.3.1042040492.squirrel@franklin.kevigs.lincs.sch.uk> References: <60064.10.28.193.3.1042040492.squirrel@franklin.kevigs.lincs.sch.uk> Message-ID: <20030108160714.GX12365@pallas.fsck.com> The current version of Class::ReturnValue in CPAN has a dependency on Test::Inline that's not being properly expressed. Force installation of Class::ReturnValue and you should be good to go. -j On Wed, Jan 08, 2003 at 03:41:32PM -0000, hburgin at kevigs.lincs.sch.uk wrote: > I can't seem to get rt installed on my redhat 7.2 box - sorted out all the > required modules _except_ DBIx::SearchBuilder. Output from make testdeps > is: > > ---snip--- > /usr/bin/perl ./tools/testdeps -warn Pg > Checking for Digest::MD5...found > Checking for Storable...found > Checking for DBI 1.18 ...found > Checking for DBIx::DataSource 0.02 ...found > Checking for DBIx::SearchBuilder 0.48 ....DBIx::SearchBuilder 0.48 not > installed. > Checking for HTML::Entities...found > Checking for MLDBM...found > Checking for Net::Domain...found > Checking for Net::SMTP...found > Checking for Params::Validate 0.02 ...found > Checking for HTML::Mason 1.02 ...found > Checking for CGI::Cookie 1.20 ...found > Checking for Apache::Cookie...found > Checking for Apache::Session 1.53 ...found > Checking for Date::Parse...found > Checking for Date::Format...found > Checking for MIME::Entity 5.108 ...found > Checking for Mail::Mailer 1.20 ...found > Checking for Getopt::Long 2.24 ...found > Checking for Tie::IxHash...found > Checking for Text::Wrapper...found > Checking for Text::Template...found > Checking for File::Spec 0.8 ...found > Checking for Errno...found > Checking for FreezeThaw...found > Checking for File::Temp...found > Checking for Log::Dispatch 1.6 ...found > Checking for DBD::Pg ...found > > --end of snip-- > > so, run make fixdeps which gives me: > > ---snip--- > > /usr/bin/perl ./tools/testdeps -fix Pg > Checking for Digest::MD5...found > Checking for Storable...found > Checking for DBI 1.18 ...found > Checking for DBIx::DataSource 0.02 ...found > Checking for DBIx::SearchBuilder 0.48 ....DBIx::SearchBuilder 0.48 not > installed.Installing with CPAN...Going to read /root/.cpan/Metadata > Database was generated on Tue, 07 Jan 2003 23:46:49 GMT > Running install for module DBIx::SearchBuilder > Running make for J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz > > CPAN: MD5 security checks disabled because MD5 not installed. > Please consider installing the MD5 module. > > Scanning cache /root/.cpan/build for sizes > DBIx-SearchBuilder-0.73/ > DBIx-SearchBuilder-0.73/SearchBuilder/ > DBIx-SearchBuilder-0.73/SearchBuilder/Handle/ > DBIx-SearchBuilder-0.73/SearchBuilder/Handle/Pg.pm > DBIx-SearchBuilder-0.73/SearchBuilder/Handle/mysql.pm > DBIx-SearchBuilder-0.73/SearchBuilder/Handle/Oracle.pm > DBIx-SearchBuilder-0.73/SearchBuilder/Record.pm > DBIx-SearchBuilder-0.73/SearchBuilder/Handle.pm > DBIx-SearchBuilder-0.73/SearchBuilder/Record/ > DBIx-SearchBuilder-0.73/SearchBuilder/Record/Cachable.pm > DBIx-SearchBuilder-0.73/MANIFEST > DBIx-SearchBuilder-0.73/test.pl > DBIx-SearchBuilder-0.73/MANIFEST.SKIP > DBIx-SearchBuilder-0.73/Changes > DBIx-SearchBuilder-0.73/Makefile.PL > DBIx-SearchBuilder-0.73/SearchBuilder.pm > Removing previously used /root/.cpan/build/DBIx-SearchBuilder-0.73 > > CPAN.pm: Going to build J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz > > Checking if your kit is complete... > Looks good > Writing Makefile for DBIx::SearchBuilder > ---- Unsatisfied dependencies detected during > [J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz] ----- > Class::ReturnValue > Shall I follow them and prepend them to the queue > of modules we are processing right now? [yes] yes > Running make test > Delayed until after prerequisites > Running make install > Delayed until after prerequisites > Running install for module Class::ReturnValue > Running make for J/JE/JESSE/Class-ReturnValue-0.40.tar.gz > > CPAN: MD5 security checks disabled because MD5 not installed. > Please consider installing the MD5 module. > > Class-ReturnValue-0.40/ > Class-ReturnValue-0.40/Makefile.PL > Class-ReturnValue-0.40/Changes > Class-ReturnValue-0.40/MANIFEST > Class-ReturnValue-0.40/lib/ > Class-ReturnValue-0.40/lib/Class/ > Class-ReturnValue-0.40/lib/Class/ReturnValue.pm > Class-ReturnValue-0.40/t/ > Class-ReturnValue-0.40/t/test.pl > Removing previously used /root/.cpan/build/Class-ReturnValue-0.40 > > CPAN.pm: Going to build J/JE/JESSE/Class-ReturnValue-0.40.tar.gz > > Checking if your kit is complete... > Looks good > Writing Makefile for Class::ReturnValue > make[1]: Entering directory `/root/.cpan/build/Class-ReturnValue-0.40' > cp lib/Class/ReturnValue.pm blib/lib/Class/ReturnValue.pm > make[1]: Leaving directory `/root/.cpan/build/Class-ReturnValue-0.40' > /usr/bin/make -- NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible > Running make for J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz > Is already unwrapped into directory > /root/.cpan/build/DBIx-SearchBuilder-0.73 > > CPAN.pm: Going to build J/JE/JESSE/DBIx-SearchBuilder-0.73.tar.gz > > make[1]: Entering directory `/root/.cpan/build/DBIx-SearchBuilder-0.73' > cp SearchBuilder/Handle/Pg.pm blib/lib/DBIx/SearchBuilder/Handle/Pg.pm > cp SearchBuilder/Handle.pm blib/lib/DBIx/SearchBuilder/Handle.pm > cp SearchBuilder/Handle/mysql.pm blib/lib/DBIx/SearchBuilder/Handle/mysql.pm > cp SearchBuilder.pm blib/lib/DBIx/SearchBuilder.pm > cp SearchBuilder/Record.pm blib/lib/DBIx/SearchBuilder/Record.pm > cp SearchBuilder/Handle/Oracle.pm > blib/lib/DBIx/SearchBuilder/Handle/Oracle.pm > cp SearchBuilder/Record/Cachable.pm > blib/lib/DBIx/SearchBuilder/Record/Cachable.pm > Manifying blib/man3/DBIx::SearchBuilder::Handle.3pm > Manifying blib/man3/DBIx::SearchBuilder::Handle::mysql.3pm > Manifying blib/man3/DBIx::SearchBuilder.3pm > Manifying blib/man3/DBIx::SearchBuilder::Record.3pm > Manifying blib/man3/DBIx::SearchBuilder::Handle::Oracle.3pm > make[1]: Leaving directory `/root/.cpan/build/DBIx-SearchBuilder-0.73' > /usr/bin/make -- OK > Running make test > make[1]: Entering directory `/root/.cpan/build/DBIx-SearchBuilder-0.73' > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 test.pl > 1..6 > make[1]: Leaving directory `/root/.cpan/build/DBIx-SearchBuilder-0.73' > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force > > Checking for HTML::Entities...found > Checking for MLDBM...found > Checking for Net::Domain...found > Checking for Net::SMTP...found > Checking for Params::Validate 0.02 ...found > Checking for HTML::Mason 1.02 ...found > Checking for CGI::Cookie 1.20 ...found > Checking for Apache::Cookie...found > Checking for Apache::Session 1.53 ...found > Checking for Date::Parse...found > Checking for Date::Format...found > Checking for MIME::Entity 5.108 ...found > Checking for Mail::Mailer 1.20 ...found > Checking for Getopt::Long 2.24 ...found > Checking for Tie::IxHash...found > Checking for Text::Wrapper...found > Checking for Text::Template...found > Checking for File::Spec 0.8 ...found > Checking for Errno...found > Checking for FreezeThaw...found > Checking for File::Temp...found > Checking for Log::Dispatch 1.6 ...found > Checking for DBD::Pg ...found > > --end of snip-- > > any advise will be welcome! > > TIA > > Harry > > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > -- ?|? http://www.bestpractical.com/rt -- Trouble Ticketing. Free. From kamara at eahd.or.ug Wed Jan 8 11:30:28 2003 From: kamara at eahd.or.ug (Kamara Eric R-M) Date: Wed, 8 Jan 2003 19:30:28 +0300 (EAT) Subject: [rt-users] Configuration Problem In-Reply-To: <20030107145325.33120.qmail@web13704.mail.yahoo.com> References: <20030107145325.33120.qmail@web13704.mail.yahoo.com> Message-ID: <20030108192918.V35735-100000@nemesis.eahd.or.ug> Hi Stan, Thanx alot...I did just that and now the server starts up just fine. Regards, Eric On Tue, 7 Jan 2003, Stanislav Sinyagin wrote: > Hi, > > this means your Apache is not aware about mod_perl. > Check the installation instructions regarding Apache setup. > > --- Kamara Eric R-M wrote: > > Syntax error on line 562 of /etc/httpd/httpd.conf: > > Invalid command 'PerlRequire', perhaps mis-spelled or defined by a module > > not included in the server configuration > > /usr/sbin/apachectl startssl: httpd could not be started > > Regards, > Stan > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > From jgedeon at qualcomm.com Wed Jan 8 11:48:35 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Wed, 08 Jan 2003 08:48:35 -0800 Subject: [rt-users] Removing quoted email text Message-ID: <5.1.0.14.2.20030108084429.05e7b008@mail1.qualcomm.com> I have rt 2.0.15 with fast cgi and a mysql backend. I was wondering if one could have all the quoted email text stripped out and not saved or sent? This is due to the fact that we have a high volume of emails where the replies of one person includes all the previous email? Ideally on ticket creation I would not strip out the quoted material (since that is likely to be a fwd of new data) and then start stripping out all other quoted material since it is probably just their mail client auto quoting the last email. Has any one done this? or tackled this problem? John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From mda at embratel.net.br Wed Jan 8 12:45:56 2003 From: mda at embratel.net.br (=?ISO-8859-1?Q?Marco_A_P_D=B4Andrade?=) Date: Wed, 08 Jan 2003 15:45:56 -0200 Subject: [rt-users] 100's of duplicate database queries? postgresql References: <200301061359.02918.tarragon@onthe.net.au> <200301071657.38526.tarragon@onthe.net.au> Message-ID: <3E1C63D4.3030701@embratel.net.br> I found a similar problem, but I have about 3000 tickets, and 31 users and a relative complex acl. My response time is about 6 and 10 seconds. During debug querys I count about 40 times (cut ... | sort | uniq -c ), but wait for have time to debug code. I don't have time to finish this work, but supose problems around on sucessive query's on isa tree Queue/Ticket -> ACE -> EasySearch -> ACL -> CurrentUser -> User -> _HasRight... If have time to verify, debug the hashkey and expire (10 seconds) on Users.pm. PS: I don't finish this debug, but now my new project use DBIx::SearchBuilder ( Thank's Jesse ! It's a great work ! ) Marco Antonio seph wrote: >how many users do you have in the system? >how many watchers on the ticket? you're initial mail didn't say. > >seph > >Tarragon Allen writes: > > > >>On Tuesday 07 January 2003 15:16, seph wrote: >> >> >>>Tarragon Allen writes: >>> >>> >>>>Hi, >>>> >>>>I'm presently trying to determine why our version of RT is running so >>>>slow. At first we thought it was because the system it was running on was >>>>underpowered, however I've just moved it across to a new high powered >>>>machine and it's still running dog slow. >>>> >>>> >>>did you look in the mail archives? Or the faq? they both have some >>>suggestions. >>> >>> >>Yes, and yes. As I said, I've looked at the indexes, they appear fine, and >>yes, I've looked at the hardware running the show, however it seems to me >>that for the size of our database, compared to other discussions where RT is >>running slow, we should not be seeing these sorts of slowdowns. >> >>It seemed strange to me that RT is making 100's of apparently duplicate >>queries for a single "view ticket". Is this normal behaviour, and if so, >>wouldn't it be a lot more efficient to do one query and cache it? >> >>I came to this list as a last resort after spending quite a lot of time trying >>to determine what was wrong myself. >> >>t >>-- >>GPG: http://n12turbo.com/tarragon/public.key >> >> >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > > > > From ben at oculan.com Wed Jan 8 12:35:36 2003 From: ben at oculan.com (Benjamin Reed) Date: Wed, 8 Jan 2003 12:35:36 -0500 Subject: [rt-users] strange behavior with CC's Message-ID: <98AB4A20-232F-11D7-96F2-00039357AAEE@oculan.com> I'm running rt 2.0.15, and I'm having trouble with mail not getting sent for certain CC's. The queue's group rights have "Everyone" set to CommentOnTicket, ReplyToTicket, and Watch. The queue has 5 admincc's who receive all mail. No matter how I change around rights, the *only* people who seem able to receive mail from tickets in this queue are 1. the requestor, and 2. the admincc's. I'm trying to cc a user who's not on the admincc list, and it just goes into the aether. From modle at ara.com Wed Jan 8 14:12:45 2003 From: modle at ara.com (Matt Odle) Date: Wed, 8 Jan 2003 12:12:45 -0700 Subject: [rt-users] FW: User could not be created Message-ID: <0a1b01c2b749$ed1a3ad0$630f633f@ara.wan> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The following is the error I get when trying to mail the following alias. swdsupport: "|/usr/local/rt2/bin/rt-mailgate --queue swdsupport - --action correspond" > -----Original Message----- > From: "RT::Correspond???????????????????? > [mailto:"RT::Correspond????????????????????] > Sent: Wednesday, January 08, 2003 12:08 PM > To: matto at bagend.swd.ara.com > Subject: User could not be created > > > User creation failed in mailgateway: No permission to create users > I am running sendmail on FreeBSD, with the proper link in the smrsh directory. I've opened up the permissions in the mysql database fully for testing, and email from users already in the database works great. Any ideas on what else could be going on? Thanks, Matt -----BEGIN PGP SIGNATURE----- Version: PGP 7.1.1 iQA/AwUBPhx4LXImbWuVz95HEQJANgCfVp7h0srMIHehhG4FuQZC5A028CUAn3Ft a7Mf30hPPit085NK+LMNKMGc =xvi8 -----END PGP SIGNATURE----- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Test 10.txt URL: From mk at calcentral.com Wed Jan 8 15:53:15 2003 From: mk at calcentral.com (Matthew Kalastro) Date: Wed, 8 Jan 2003 12:53:15 -0800 Subject: [rt-users] error on ticket creation In-Reply-To: <20030108192918.V35735-100000@nemesis.eahd.or.ug> Message-ID: Hi, My RT users are getting an "Internal Server Error" when the create new tickets through the SelfService interface. The ticket does get created, and I'm seeing this in apache's logs: [Wed Jan 8 12:41:40 2003] [error] Operation `""': no method found, argument in overloaded package overload::Fake at /home/local/perl5.8/lib/5.8.0/overload.pm l ine 94. I couldn't find an RT module that "use['s] overload;", so I'm scratching my head. Any clues as to where to start? I'm using RT 2.0.15, mod_perl 1.27, and perl 5.8. I just upgraded perl, apache and mod_perl, and this might be related. Any help appreciated. Thanks a lot, Matt From pdh at snapgear.com Wed Jan 8 17:15:00 2003 From: pdh at snapgear.com (Phil Homewood) Date: Thu, 9 Jan 2003 08:15:00 +1000 Subject: [rt-users] Removing quoted email text In-Reply-To: <5.1.0.14.2.20030108084429.05e7b008@mail1.qualcomm.com> References: <5.1.0.14.2.20030108084429.05e7b008@mail1.qualcomm.com> Message-ID: <20030108221500.GA444@luggage.internal.moreton.com.au> John Gedeon wrote: > I was wondering if one could have all the quoted email text stripped out > and not saved or sent? This is due to the fact that we have a high volume > of emails where the replies of one person includes all the previous email? > Ideally on ticket creation I would not strip out the quoted material (since > that is likely to be a fwd of new data) and then start stripping out all > other quoted material since it is probably just their mail client auto > quoting the last email. Horses for courses; I'd recommend using procmail (or similar) to do this before rt-mailgate gets hold of the message. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From gm at efn.org Wed Jan 8 18:45:28 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Wed, 8 Jan 2003 15:45:28 -0800 (PST) Subject: [rt-users] Search for dead tickets fails? Message-ID: Running RT 2.0.14, A search for dead tickets fails to find any, though there are dead tickets, and entering a number for one pulls it up. Bug? From rich+rt at lafferty.ca Wed Jan 8 19:43:09 2003 From: rich+rt at lafferty.ca (Rich Lafferty) Date: Wed, 8 Jan 2003 19:43:09 -0500 Subject: [rt-users] Search for dead tickets fails? In-Reply-To: ; from gm@efn.org on Wed, Jan 08, 2003 at 03:45:28PM -0800 References: Message-ID: <20030108194309.A20551@lafferty.ca> On Wed, Jan 08, 2003 at 03:45:28PM -0800, Seth Cohn, EFN General Manager wrote: > Running RT 2.0.14, A search for dead tickets fails to find any, though > there are dead tickets, and entering a number for one pulls it up. > > Bug? It's dead, Jim! Dead tickets won't ever appear in the web interface by design. The only difference between "dead" and "deleted" is that you can't delete tickets without affecting referential integrity. You might be able to use the commandline tool to see them or the API directly -- I'm not near somewhere I can test. :-) -Rich -- Rich Lafferty --------------+----------------------------------------------- Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus! http://www.lafferty.ca/ | http://zapatopi.net/treeoctopus.html rich at lafferty.ca -----------+----------------------------------------------- From gm at efn.org Wed Jan 8 20:20:40 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Wed, 8 Jan 2003 17:20:40 -0800 (PST) Subject: [rt-users] Search for dead tickets fails? In-Reply-To: <20030108194309.A20551@lafferty.ca> Message-ID: On Wed, 8 Jan 2003, Rich Lafferty wrote: > > Running RT 2.0.14, A search for dead tickets fails to find any, though > > there are dead tickets, and entering a number for one pulls it up. > > > > Bug? > > It's dead, Jim! > > Dead tickets won't ever appear in the web interface by design. Except it _will_ appear if you enter the number in the web interface. You can also _select_ Dead as a status option in search, but it's a bogus option and never works. This seems like a bug. Either the option shouldn't be visible, or it should work. > The > only difference between "dead" and "deleted" is that you can't > delete tickets without affecting referential integrity. I agree with that. I'm working on a spamfiltering tool to kill spam tickets (based on the autoresponse bounce) and I did a search and noticed 'hey, wait a sec...." From jgedeon at qualcomm.com Wed Jan 8 20:21:22 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Wed, 08 Jan 2003 17:21:22 -0800 Subject: [rt-users] Login Form Message-ID: <5.1.0.14.2.20030108171957.036dd8d8@mail1.qualcomm.com> When users of our rt system log in via a webbrowser on a windows machine they can hit enter to submit with out selecting the button; however unix users via the same webform cannot simply hit enter. Is there a way to fix that? John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From rich+rt at lafferty.ca Wed Jan 8 20:37:41 2003 From: rich+rt at lafferty.ca (Rich Lafferty) Date: Wed, 8 Jan 2003 20:37:41 -0500 Subject: [rt-users] Login Form In-Reply-To: <5.1.0.14.2.20030108171957.036dd8d8@mail1.qualcomm.com>; from jgedeon@qualcomm.com on Wed, Jan 08, 2003 at 05:21:22PM -0800 References: <5.1.0.14.2.20030108171957.036dd8d8@mail1.qualcomm.com> Message-ID: <20030108203741.B20551@lafferty.ca> On Wed, Jan 08, 2003 at 05:21:22PM -0800, John Gedeon wrote: > > When users of our rt system log in via a webbrowser on a windows > machine they can hit enter to submit with out selecting the button; > however unix users via the same webform cannot simply hit enter. Is > there a way to fix that? Whether or not to submit based on user action is the decision of the browser, not the server; the short answer is to use a browser that does that. The long answer would list browsers that do -- Opera and Phoenix (and thus Mozilla) appear to do so for me. -Rich -- Rich Lafferty --------------+----------------------------------------------- Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus! http://www.lafferty.ca/ | http://zapatopi.net/treeoctopus.html rich at lafferty.ca -----------+----------------------------------------------- From pdh at snapgear.com Wed Jan 8 20:50:11 2003 From: pdh at snapgear.com (Phil Homewood) Date: Thu, 9 Jan 2003 11:50:11 +1000 Subject: [rt-users] strange behavior with CC's In-Reply-To: <98AB4A20-232F-11D7-96F2-00039357AAEE@oculan.com> References: <98AB4A20-232F-11D7-96F2-00039357AAEE@oculan.com> Message-ID: <20030109015011.GE444@luggage.internal.moreton.com.au> Benjamin Reed wrote: > No matter how I change around rights, the *only* people who seem able > to receive mail from tickets in this queue are 1. the requestor, and 2. > the admincc's. I'm trying to cc a user who's not on the admincc list, > and it just goes into the aether. Do you have the appropriate scrips configured? http://fsck.com/rtfm/article.html?id=2#215 -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Wed Jan 8 20:58:40 2003 From: pdh at snapgear.com (Phil Homewood) Date: Thu, 9 Jan 2003 11:58:40 +1000 Subject: [rt-users] FW: User could not be created In-Reply-To: <0a1b01c2b749$ed1a3ad0$630f633f@ara.wan> References: <0a1b01c2b749$ed1a3ad0$630f633f@ara.wan> Message-ID: <20030109015840.GF444@luggage.internal.moreton.com.au> Matt Odle wrote: > > User creation failed in mailgateway: No permission to create users This shouldn't be possible, unless your $RT::SystemUser (RT_System) has been munged in the database. mysql> select Name, Privileged, Disabled from Users where Privileged = 2; should show RT_System and Nobody, neither one disabled. Does it? -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Wed Jan 8 21:30:55 2003 From: pdh at snapgear.com (Phil Homewood) Date: Thu, 9 Jan 2003 12:30:55 +1000 Subject: [rt-users] [Mason] Cannot resolve file to component ? In-Reply-To: <3E06C35A.5020308@netcologne.de> References: <3E031701.8060703@netcologne.de> <20021222233203.GP472@luggage.internal.moreton.com.au> <3E06C35A.5020308@netcologne.de> Message-ID: <20030109023055.GG444@luggage.internal.moreton.com.au> Two weeks ago, Emre Bastuz wrote: > For others to follow this thread, a complete Vhost config for > usage of rt2 with fastcgi might look like this: > > > AddHandler fastcgi-script fcgi > DocumentRoot /usr/local/rt2/WebRT/html > ServerName rt2-test.somehost.de > FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi > Alias /NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/ > ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/ > PerlModule Apache::DBI > > PerlHandler RT::Mason > > This can't be correct, either. There's still mod_perlisms there. PerlModule and PerlHandler aren't applicable to fcgi. Aside from that, everything appears to be in order. My AddHandler and FastCgiServer directives appear outside the VirtualHost; I'm not sure that it really matters one way or the other (anyone?) For the record (and to add to the confusion), here's a config that works with fcgi, with no trace of mod_perl loaded: LoadModule fastcgi_module libexec/apache/mod_fastcgi.so AddModule mod_fastcgi.c AddHandler fastcgi-script fcgi FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi -idle-timeout 300 DocumentRoot /usr/local/rt2/WebRT/html ServerName rt.example.com Alias /NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/ ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/ (can anyone improve on this for the doco? :-) -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From khera at kcilink.com Wed Jan 8 21:41:25 2003 From: khera at kcilink.com (Vivek Khera) Date: Wed, 8 Jan 2003 21:41:25 -0500 Subject: [rt-users] Search for dead tickets fails? In-Reply-To: <20030108194309.A20551@lafferty.ca> References: <20030108194309.A20551@lafferty.ca> Message-ID: <15900.57685.241901.161343@yertle.kciLink.com> >>>>> "RL" == Rich Lafferty writes: RL> only difference between "dead" and "deleted" is that you can't RL> delete tickets without affecting referential integrity. Sure you can, as long as your DB enforces RI for you, using foreign keys. I posted a bunch of suitable FK's here a while back. Of course, this assumes you have a DB that is capable of it. From khera at kcilink.com Wed Jan 8 21:44:48 2003 From: khera at kcilink.com (Vivek Khera) Date: Wed, 8 Jan 2003 21:44:48 -0500 Subject: [rt-users] Login Form In-Reply-To: <5.1.0.14.2.20030108171957.036dd8d8@mail1.qualcomm.com> References: <5.1.0.14.2.20030108171957.036dd8d8@mail1.qualcomm.com> Message-ID: <15900.57888.579961.929124@yertle.kciLink.com> >>>>> "JG" == John Gedeon writes: JG> When users of our rt system log in via a webbrowser on a windows machine JG> they can hit enter to submit with out selecting the button; however unix JG> users via the same webform cannot simply hit enter. Is there a way to fix that? Use the same web client on your unix boxes and you'll get the same behavior. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera at kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ From gm at efn.org Thu Jan 9 03:13:23 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Thu, 9 Jan 2003 00:13:23 -0800 (PST) Subject: [rt-users] Error in log Message-ID: I'm seeing a bunch of the following error. Any suggestion on how to track it down better? [Thu Jan 9 08:02:07 2003] [crit]: Can't bind a reference (Class::ReturnValue=HASH(0x8894fa8)) at /usr/share/perl5/DBIx/SearchBuilder/Handle.pm line 376, line 29. [Thu Jan 9 08:03:34 2003] [crit]: Can't bind a reference (Class::ReturnValue=HASH(0x88941c8)) at /usr/share/perl5/DBIx/SearchBuilder/Handle.pm line 376, line 24. From binand at gmx.net Thu Jan 9 03:43:45 2003 From: binand at gmx.net (Binand Raj S.) Date: Thu, 9 Jan 2003 14:13:45 +0530 Subject: [rt-users] Correspondence to a nonexistent ticket ID Message-ID: <20030109084345.GB2484@binand.cysphere.com> Hi All, Off late, I have been pestering this list with my efforts to migrate RT from one domain to another. :) Thanks for all the help. One last question (hopefully, that is). My old $rtname is xxx.com and my new $rtname is yyy.com. We have decided not to migrate the old tickets (among other things, we moved from mysql to RHDB - one of the reasons for this decision). I was experimenting with ways of dealing with correspondence on the old tickets that will inevitable land on the new system. I tried to send a mail with subject [yyy.com #nnn], where nnn is a non-existent ticket. For which I got a reply which just said "Permission Denied". Now that is not very intuitive. How do I customise that? Binand From bruce_campbell at ripe.net Thu Jan 9 04:59:39 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Thu, 9 Jan 2003 10:59:39 +0100 (CET) Subject: [rt-users] Search for dead tickets fails? In-Reply-To: Message-ID: On Wed, 8 Jan 2003, Seth Cohn, EFN General Manager wrote: > On Wed, 8 Jan 2003, Rich Lafferty wrote: > > > > Running RT 2.0.14, A search for dead tickets fails to find any, though > > > there are dead tickets, and entering a number for one pulls it up. > > > > Dead tickets won't ever appear in the web interface by design. > > Except it _will_ appear if you enter the number in the web interface. > > You can also _select_ Dead as a status option in search, but it's a bogus > option and never works. This seems like a bug. Either the option > shouldn't be visible, or it should work. Ok, lets clarify that: 'Dead Tickets cannot be retrieved by searching for them, in RT as shipped.' This is done by a special case in the RT::Tickets->Next() method, which goes for the Next ticket when it encounters a dead one, eg: $ grep -A 3 'dead' lib/RT/Tickets.pm #Make sure we _never_ show dead tickets #TODO we should be doing this in the where clause. #but you can't do multiple clauses on the same field just yet :/ if ($Ticket->Status eq 'dead') { return($self->Next()); } elsif ($Ticket->CurrentUserHasRight('ShowTicket')) { Of course, there are three lines in the above that you could comment out, if you wanted to retrieve 'dead' tickets via searches. > > The > > only difference between "dead" and "deleted" is that you can't > > delete tickets without affecting referential integrity. > > I agree with that. I'm working on a spamfiltering tool to kill spam > tickets (based on the autoresponse bounce) and I did a search and noticed > 'hey, wait a sec...." Oooh, thats nifty, but wouldn't the bounce take a long time occasionally? ( eg, the sending domain exists, but isn't responding on port 25. Your local MTA would then wait a default of 8 hours before returning a warning message. Ditto for false positives when a customer sends from their private domain complaining that their mail is down; you'd kill their ticket because their mail is bouncing ;) ) -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From bruce_campbell at ripe.net Thu Jan 9 05:13:12 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Thu, 9 Jan 2003 11:13:12 +0100 (CET) Subject: [rt-users] Removing quoted email text In-Reply-To: <5.1.0.14.2.20030108084429.05e7b008@mail1.qualcomm.com> Message-ID: On Wed, 8 Jan 2003, John Gedeon wrote: > I was wondering if one could have all the quoted email text stripped out > and not saved or sent? This is due to the fact that we have a high volume > of emails where the replies of one person includes all the previous email? That sounds like you have an environment where people are continually using MS (spit, ptoui) Outlook and similar mailers. By default, these mailers encourage people to top-post, and to leave all the 'quoted' reply text at the bottom. However, in such an environment, you have two things in your favour. The first is that the MS (spit, ptoui) default idea of 'quoting' a previous message is to have it not indented by anything at all. Thus, the 'quoted' text is just the same as the text that they received. Secondly, RT by default won't quote any text after a .signature separator, being '-- ' on a line of its own (ref lib/RT/Attachment.pm and lib/RT/Transaction.pm) . Thus, you can limit the excessive quoting of previous messages, by ensuring that your .signatures (as stored by RT in your per-User preferences, and put at the bottom of each reply) has a line of '-- '. However, the long term solution is to hit them repeatedly over the head with multiple copies of RFC1855, Netiquette Guidelines, until they cease such annoying behaviour. Regards, -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From js138 at eng.cam.ac.uk Thu Jan 9 07:50:40 2003 From: js138 at eng.cam.ac.uk (J. Sloan) Date: Thu, 9 Jan 2003 12:50:40 +0000 (GMT) Subject: [rt-users] NotifyAllWatchers query. Message-ID: If I set up the Scrip: OnCorrespond NotifyAllWatchers with template Correspondance then what seems to happen is that the requestor and the AdminCCs get an email with the correspondance in it. This is perfect except that the AdminCCs appear to be CCed rather than BCCed as advertised and desired. Now looking at Notify.pm it appears that they should be BCCed, so I speculate that there is something amiss in the way my MTA is being invoked. It's exim 4 using the settings: $MailCommand = 'sendmailpipe'; $SendmailArguments="-oi -t"; $SendmailPath = "/usr/sbin/sendmail"; Where /usr/sbin/sendmail is a link to the exim binary as you might expect. Anyone else run into this? Thanks. John From binand at gmx.net Thu Jan 9 09:38:39 2003 From: binand at gmx.net (Binand Raj S.) Date: Thu, 9 Jan 2003 20:08:39 +0530 Subject: [rt-users] Random Password template Message-ID: <20030109143839.GC4038@binand.cysphere.com> Hi All, I was trying to use Jesse's Random Password template, but it doesn't work :( The template is here: http://lists.fsck.com/pipermail/rt-doc-workers/2002-November/000198.html I added a scrip OnCreate AutoreplyToRequestors with template RandomPassword but everyone gets a mail saying an internal error occured. :( RT is 2.0.15, RHDB 2.1 (postgres), fastcgi. Thanks, Binand From jonesy at CS.Princeton.EDU Thu Jan 9 09:48:39 2003 From: jonesy at CS.Princeton.EDU (Brian Jones) Date: Thu, 9 Jan 2003 09:48:39 -0500 Subject: [rt-users] notification of correspondence to person performing action --also, mail commands? Message-ID: <70773201-23E1-11D7-A657-000393DAC578@cs.princeton.edu> hi all, I'm running RT 2.0.14, and we've been using RT in general for quite some time now. In the newer versions, however, we've all noted two rather large changes that we'd like to somehow hack into the newer version (it 'just worked'(tm) in the older versions): 1. Some of us deal with RT almost exclusively via email. However, in this version, if I reply to a ticket, everyone gets that correspondence except for me! Everyone in my group would like the ability to have the whole thread, including our replies, in our RT mail folders, but for the life of me I can't determine the proper place in the code to make this change. Sifting through all this terminology and code is non-trivial. Can I do this with some simple scrip? Has someone done this? Did I miss this in the manual? I read it! 2. Since we upgraded, the old % commands we used to be able to put in our emails don't work. Was this feature deprecated? Can I get it back somehow? Thanks for any input here. brian. From binand at gmx.net Thu Jan 9 09:57:18 2003 From: binand at gmx.net (Binand Raj S.) Date: Thu, 9 Jan 2003 20:27:18 +0530 Subject: [rt-users] Random Password template In-Reply-To: <20030109143839.GC4038@binand.cysphere.com> References: <20030109143839.GC4038@binand.cysphere.com> Message-ID: <20030109145718.GD4038@binand.cysphere.com> On Thu, Jan 09, 2003 at 08:08:39PM +0530, Binand Raj S. wrote: > Hi All, > > I was trying to use Jesse's Random Password template, but it doesn't work :( > > The template is here: > > http://lists.fsck.com/pipermail/rt-doc-workers/2002-November/000198.html > > I added a scrip > > OnCreate AutoreplyToRequestors with template RandomPassword > > but everyone gets a mail saying an internal error occured. :( The exact text is An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance. I have granted EveryOne ModifySelf right too. Binand From hwagener at hamburg.fcb.com Thu Jan 9 10:16:01 2003 From: hwagener at hamburg.fcb.com (Harald Wagener) Date: Thu, 9 Jan 2003 16:16:01 +0100 Subject: [rt-users] Random Password template In-Reply-To: <20030109145718.GD4038@binand.cysphere.com> Message-ID: <43A16DD4-23E5-11D7-97BE-003065DC18B8@hamburg.fcb.com> Am Donnerstag, 09.01.03 um 15:57 Uhr schrieb Binand Raj S.: > On Thu, Jan 09, 2003 at 08:08:39PM +0530, Binand Raj S. wrote: >> Hi All, >> >> I was trying to use Jesse's Random Password template, but it doesn't >> work :( >> >> The template is here: >> >> http://lists.fsck.com/pipermail/rt-doc-workers/2002-November/ >> 000198.html >> >> I added a scrip >> >> OnCreate AutoreplyToRequestors with template RandomPassword >> >> but everyone gets a mail saying an internal error occured. :( > > The exact text is > > An internal error has occurred. RT was not able to set a password for > you. > Please contact your local RT administrator for assistance. > > I have granted EveryOne ModifySelf right too. > You should set $logToFile = 'debug' in config.pm to get more information. Don't forget to stop and start apache after doing so. Then, try agan, and see if there is more information in the log(s). Regards, Harald -- Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg From modle at ara.com Thu Jan 9 10:29:28 2003 From: modle at ara.com (Matt Odle) Date: Thu, 9 Jan 2003 08:29:28 -0700 Subject: [rt-users] FW: User could not be created In-Reply-To: <20030109015840.GF444@luggage.internal.moreton.com.au> Message-ID: <090201c2b7f3$e608d670$630f633f@ara.wan> I have RT_System Privileged=2, Disabled = 0 Nobody Privileged=2, Disabled = 0 SO that looks correct right? Thanks for your help, Matt > -----Original Message----- > From: rt-users-admin at lists.fsck.com > [mailto:rt-users-admin at lists.fsck.com] On Behalf Of Phil Homewood > Sent: Wednesday, January 08, 2003 6:59 PM > To: rt-users at lists.fsck.com > Subject: Re: [rt-users] FW: User could not be created > > > Matt Odle wrote: > > > User creation failed in mailgateway: No permission to create users > > This shouldn't be possible, unless your $RT::SystemUser > (RT_System) has been munged in the database. > > mysql> select Name, Privileged, Disabled from Users where > Privileged = > mysql> 2; > > should show RT_System and Nobody, neither one disabled. Does it? > -- > Phil Homewood, Systems Janitor, www.SnapGear.com > pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 > SnapGear - Custom Embedded Solutions and Security Appliances > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-> users > > Have you > read the FAQ? The RT FAQ Manager lives at > http://fsck.com/rtfm > From jgedeon at qualcomm.com Thu Jan 9 11:57:33 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Thu, 09 Jan 2003 08:57:33 -0800 Subject: [rt-users] History display order Message-ID: <5.1.0.14.2.20030109085607.03727928@mail1.qualcomm.com> Is there a way to add a link or button which will reverse the order of how the history is displayed? I have users who want both. I found that the default is set in Transactios.pm but I can't seem to find a way to set that based on a variable via the web. John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From hakimsoso at yahoo.com Thu Jan 9 12:05:52 2003 From: hakimsoso at yahoo.com (kh es) Date: Thu, 9 Jan 2003 09:05:52 -0800 (PST) Subject: [rt-users] Server error Message-ID: <20030109170552.97881.qmail@web14710.mail.yahoo.com> Hi I installed RT on RedHat 7.2 as stated in "Full install notes for RedHat 7.2" in Installtion Guide, but when I try to log to web page i get this error : Internal Server Error What is this error for? --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From darren at boston.com Thu Jan 9 12:08:02 2003 From: darren at boston.com (darren chamberlain) Date: Thu, 9 Jan 2003 12:08:02 -0500 Subject: [rt-users] History display order In-Reply-To: <5.1.0.14.2.20030109085607.03727928@mail1.qualcomm.com> References: <5.1.0.14.2.20030109085607.03727928@mail1.qualcomm.com> Message-ID: <20030109-72127671bf71978e725d0c357163364f@mail.boston.com> * John Gedeon [2003-01-09 11:58]: > Is there a way to add a link or button which will reverse the order of how > the history is displayed? > I have users who want both. I found that the default is set in > Transactios.pm but I can't seem to find a way to set that based on a > variable via the web. Warning: I'm using an ancient version of rt2; locations in file may have changed. Look at $RT/WebRT/html/Tickets/Elements/ShowHistory, which does: %while (my $Transaction = $Transactions->Next) { <& ShowTransaction, ... &> %} (I've trimmed significantly.) You can just (conditionally) reverse the order of the transactions. Replace the while line above with something like this: % my @transactions; % while (my $Transaction = $Transactions->Next) { % push @transactions, $Transaction; % } % # $ARGV{'reverse'} is your parameter indicating reverse history order % if ($ARGS{'reverse'}) { % @transactions = reverse @transactions; % } % foreach my $Transaction (@transactions) { And then continue with the rest of the template. (darren) -- I disapprove of what you say, but I will defend to the death your right to say it. -- S.G. Tallentyre From bpinksto at centenary.edu Thu Jan 9 12:44:55 2003 From: bpinksto at centenary.edu (Brad Pinkston) Date: Thu, 9 Jan 2003 11:44:55 -0600 Subject: [rt-users] Correspondence Denied Message-ID: <003201c2b806$d24f4480$8d5ac4cc@gents.centenary.edu> When I reply to correspondence sent through RT I get permission denied email sent back. How do I allow anyone to reply to the correspondence RT sends out and that to append to the referenced work order. Brad Pinkston Centenary College of LA Firewall/Network Administrator IT Department (318) 869-5003 bpinksto at centenary.edu From jgedeon at qualcomm.com Thu Jan 9 12:57:59 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Thu, 09 Jan 2003 09:57:59 -0800 Subject: [rt-users] History display order In-Reply-To: <20030109-72127671bf71978e725d0c357163364f@mail.boston.com> References: <5.1.0.14.2.20030109085607.03727928@mail1.qualcomm.com> <5.1.0.14.2.20030109085607.03727928@mail1.qualcomm.com> Message-ID: <5.1.0.14.2.20030109092147.0372a770@mail1.qualcomm.com> What I ended up doing is the following. In the file Ticket/History.html ... <& /Ticket/Elements/ShowHistory , Ticket => $Ticket, ShowHeaders => $ARGS{'ShowHeaders'}, URIFile => 'History.html' + , Order => $ARGS{'Order'} &> ... in file Ticket/Elemenets/ShowHistory: ... % if ($ShowHeaders ... FullHeaders] % } % if ($Order eq 'asc') { [Descending] % } else { more options like that % } .... <%INIT> my $Transactios = $Ticket->Transactions; + $Transactions->OrderBy ( ALIAS => 'main', FIELD => 'Created' , ORDER => "$Order"); my $i; ... <%ARGS> ... $ShowHeaders => undef + $Order => 'asc' $Collapsed => undef ... $Order is set by the link. by defaut its ASC and clicking the link makes it DESC and vice versa. (now if i can make it a user preference so that their preference can be saved that would be good.) At 09:08 AM 1/9/2003, darren chamberlain wrote: >* John Gedeon [2003-01-09 11:58]: > > Is there a way to add a link or button which will reverse the order of how > > the history is displayed? > > I have users who want both. I found that the default is set in > > Transactios.pm but I can't seem to find a way to set that based on a > > variable via the web. > >Warning: I'm using an ancient version of rt2; locations in file may have >changed. > >Look at $RT/WebRT/html/Tickets/Elements/ShowHistory, which does: > > %while (my $Transaction = $Transactions->Next) { > <& ShowTransaction, ... &> > %} > >(I've trimmed significantly.) > >You can just (conditionally) reverse the order of the transactions. >Replace the while line above with something like this: > > % my @transactions; > % while (my $Transaction = $Transactions->Next) { > % push @transactions, $Transaction; > % } > % # $ARGV{'reverse'} is your parameter indicating reverse history order > % if ($ARGS{'reverse'}) { > % @transactions = reverse @transactions; > % } > > % foreach my $Transaction (@transactions) { > >And then continue with the rest of the template. > >(darren) > >-- >I disapprove of what you say, but I will defend to the death your >right to say it. > -- S.G. Tallentyre >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From jgedeon at qualcomm.com Thu Jan 9 12:59:57 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Thu, 09 Jan 2003 09:59:57 -0800 Subject: [rt-users] Server error In-Reply-To: <20030109170552.97881.qmail@web14710.mail.yahoo.com> Message-ID: <5.1.0.14.2.20030109095844.03745098@mail1.qualcomm.com> That error could mean anything, You should start by checking the apache web server error log files and the rt systems log files to see if you can get a more detailed error message. John At 09:05 AM 1/9/2003, you wrote: >Hi > >I installed RT on RedHat 7.2 as stated in "Full install notes for RedHat >7.2" in Installtion Guide, but when I try to log to web page i get this error : > >Internal Server Error > >What is this error for? > > > >Do you Yahoo!? >Yahoo! Mail >Plus - Powerful. Affordable. >Sign up now -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From omehegan at perseus.com Thu Jan 9 16:05:27 2003 From: omehegan at perseus.com (Owen B. Mehegan) Date: Thu, 9 Jan 2003 16:05:27 -0500 Subject: [rt-users] Trouble setting up AutoAssign In-Reply-To: Message-ID: Does anyone have any suggestions on this? I've messed around with it for a few days and had no luck. /Owen -----Original Message----- From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com]On Behalf Of Owen B. Mehegan Sent: Friday, January 03, 2003 2:17 PM To: rt-users at lists.fsck.com Subject: [rt-users] Trouble setting up AutoAssign I'm trying to set up the AutoAssign scripaction and having no luck so far. Here's what I've done: 1. Ran AutoAssign.pm.insertdata; it returned no errors. 2. Put AutoAssign.pm in /usr/local/rt2/lib/RT/Action and gave it the same ownership and permissions as the other scrips in there 3. Assigned myself as a CC watcher to the Customers queue 4. Set up a scrip in that queue that says OnCreate AutoAssign with template Correspondence When I run 'perl AutoAssign.pm' I get no errors, when the RT logs have no errors in them, but when I create a ticket in the Customers queue, it remains assigned to Nobody rather than being reassigned to me. I have a feeling that I've just configured this wrong or am using it wrong. Can anyone give me some pointers? Thanks in advance. /Owen _______________________________________________ rt-users mailing list rt-users at lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm From gm at efn.org Thu Jan 9 16:43:57 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Thu, 9 Jan 2003 13:43:57 -0800 (PST) Subject: [rt-users] Search for dead tickets fails? In-Reply-To: Message-ID: On Thu, 9 Jan 2003, Bruce Campbell wrote: > Ok, lets clarify that: > > 'Dead Tickets cannot be retrieved by searching for them, in RT as > shipped.' > > This is done by a special case in the RT::Tickets->Next() method, which > goes for the Next ticket when it encounters a dead one, eg: > > $ grep -A 3 'dead' lib/RT/Tickets.pm > #Make sure we _never_ show dead tickets > #TODO we should be doing this in the where clause. > #but you can't do multiple clauses on the same field just yet :/ > > if ($Ticket->Status eq 'dead') { > return($self->Next()); > } > elsif ($Ticket->CurrentUserHasRight('ShowTicket')) { Thank you, that was the code I was looking for. > Of course, there are three lines in the above that you could comment out, > if you wanted to retrieve 'dead' tickets via searches. yet another 'little' tweak to the system I guess. > > I agree with that. I'm working on a spamfiltering tool to kill spam > > tickets (based on the autoresponse bounce) and I did a search and noticed > > 'hey, wait a sec...." > > Oooh, thats nifty, but wouldn't the bounce take a long time occasionally? Agreed. it's not the best solution, _but_ short of spamfiltering the queue mail before it gets to RT, it's a good attempt. > ( eg, the sending domain exists, but isn't responding on port 25. Your > local MTA would then wait a default of 8 hours before returning a > warning message. True. Same for spam with a valid return address (or one that doesn't generate a bounce at least). > Ditto for false positives when a customer sends from > their private domain complaining that their mail is down; you'd kill > their ticket because their mail is bouncing ;) ) I'm planning on modifying the kill script (which simply filters the bounce address, looks for MAILER-DAEMON and the ticket #, and calls rt commandline) to avoid killing 'local' domains. But yes, this is one reason I want to be able to search dead tickets. -- ## Seth Cohn, General Manager of Eugene Free Community Network gm at efn.org ## Businesses planned for service are apt to succeed; Phone 541-484-9637 ## Businesses planned for profit are apt to fail. - N. Butler From talklists at index-s.de Thu Jan 9 16:50:23 2003 From: talklists at index-s.de (Stefan Seiz) Date: Thu, 09 Jan 2003 22:50:23 +0100 Subject: [rt-users] automatically adding new email tickets to a specific queue based on sender email-address Message-ID: Hi, is it somehow possible (using rt 2.11) to automatically assign tickets incoming via email to a Specific Queue based on the requesters from-address? What I want to achieve is, that any request from user at domain.dom is added to queue "domain", but an request from me at home.dom is assigned to queue "home". Thanks Stefan PS: plese CC me, I'm on Digest -- Spamto: From pdh at snapgear.com Thu Jan 9 17:37:52 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 10 Jan 2003 08:37:52 +1000 Subject: [rt-users] automatically adding new email tickets to a specific queue based on sender email-address In-Reply-To: References: Message-ID: <20030109223752.GA448@luggage.internal.moreton.com.au> Stefan Seiz wrote: > What I want to achieve is, that any request from user at domain.dom is added to > queue "domain", but an request from me at home.dom is assigned to queue "home". Sounds like yet another job for procmail... :0 * ^From: .*@domain\.dom | /path/to/rt-mailgate --queue domain --action correspond :0 * ^From: .*@home\.dom | /path/to/rt-mailgate --queue home --action correspond :0 | /path/to/rt-mailgate --queue default --action correspond -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From jgedeon at qualcomm.com Thu Jan 9 18:07:00 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Thu, 09 Jan 2003 15:07:00 -0800 Subject: [rt-users] Adding a preference Message-ID: <5.1.0.14.2.20030109150433.036eb418@mail1.qualcomm.com> I have a preference I would like to store for each user. I added a column to the Users table. I have a function In User.pm that is supposed to return it. However I cannot figure out how to access that attribute of the current user? is it possible? my function so far is sub Order { my $self = shift; my $o = ''; $o = $self->_Value('HistoryOrder'); return $o; } HistoryOrder is the column I want to get? John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From pdh at snapgear.com Thu Jan 9 19:48:30 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 10 Jan 2003 10:48:30 +1000 Subject: [rt-users] notification of correspondence to person performing action --also, mail commands? In-Reply-To: <70773201-23E1-11D7-A657-000393DAC578@cs.princeton.edu> References: <70773201-23E1-11D7-A657-000393DAC578@cs.princeton.edu> Message-ID: <20030110004830.GD448@luggage.internal.moreton.com.au> Brian Jones wrote: > I'm running RT 2.0.14, and we've been using RT in general for quite > some time now. In the newer versions, however, we've all noted two > rather large changes that we'd like to somehow hack into the newer > version (it 'just worked'(tm) in the older versions): It sounds like you're upgrading from 1.x? > 1. Some of us deal with RT almost exclusively via email. However, in > this version, if I reply to a ticket, everyone gets that correspondence > except for me! Everyone in my group would like the ability to have the > whole thread, including our replies, in our RT mail folders, but for > the life of me I can't determine the proper place in the code to make > this change. Sifting through all this terminology and code is > non-trivial. Can I do this with some simple scrip? Has someone done > this? Did I miss this in the manual? I read it! I've just added this to the FAQ: http://fsck.com/rtfm/article.html?id=5#73 > 2. Since we upgraded, the old % commands we used to be able to put in > our emails don't work. Was this feature deprecated? Can I get it back > somehow? http://fsck.com/rtfm/article.html?id=5#76 -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From gm at efn.org Thu Jan 9 21:53:24 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Thu, 9 Jan 2003 18:53:24 -0800 (PST) Subject: [rt-users] escalate/EscalatePriority vs sql_rt2_escalator.pl Message-ID: I'm looking at 2 different tools to handle Priority bumping: The pair of escalate (as a daily cron) and EscalatePriority.pm or sql_rt2_escalator.pl It seems the advantage of escalate/EP.pm is that it uses RT to make the changes. I'm wanting to using IfPriorityExceeds scrips too, and I guess (but I'm not sure if I'm correct) that using those will trigger when the escalate script runs, as it increments as it increments each ticket in turn. On the other hand, the sql method is much faster, I'd think, since it's a just a simple direct SQL update. Am I correct that the IfPriority's won't trigger, until the ticket is otherwise 'touched'? Anyone using one or the other have any comments/suggestions? From bobby at wrennest.com Thu Jan 9 22:13:17 2003 From: bobby at wrennest.com (Bobby Wrenn) Date: Thu, 09 Jan 2003 21:13:17 -0600 Subject: [rt-users] What happened after reboot Message-ID: <3E1E3A4D.3CDE58F4@wrennest.com> This is starting to make me crazy. After trying to install RT on the latest RedHat and Mandrake I tried RedHat 7.2. That didn't work so, I installed RH7.3 (fresh install) I satisfied all the dependencies and installed rt2. After the install I connected to the WebRT server and added a user. I then shut down the system and moved it. After bringing it up again the web page would not load. executing: -------------- [root at bigbird bwrenn]# /usr/local/rt2/bin/webmux.pl /usr/local/rt2/bin/webmux.pl: use: command not found /usr/local/rt2/bin/webmux.pl: {PATH}: command not found /usr/local/rt2/bin/webmux.pl: {CDPATH}: command not found /usr/local/rt2/bin/webmux.pl: {SHELL}: command not found /usr/local/rt2/bin/webmux.pl: {ENV}: command not found /usr/local/rt2/bin/webmux.pl: {IFS}: command not found /usr/local/rt2/bin/webmux.pl: package: command not found /usr/local/rt2/bin/webmux.pl: line 18: syntax error near unexpected token `qw(-'/usr/local/rt2/bin/webmux.pl: line 18: `use CGI qw(-private_tempfiles); #bring this in before mason, to make sure we' -------------- That is where it ends. I must need to restart something else I just don't know what. When trying to load the web page I get: ------------ 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. ------------ Help! Bobby From bruce_campbell at ripe.net Fri Jan 10 03:41:34 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Fri, 10 Jan 2003 09:41:34 +0100 (CET) Subject: [rt-users] What happened after reboot In-Reply-To: <3E1E3A4D.3CDE58F4@wrennest.com> Message-ID: On Thu, 9 Jan 2003, Bobby Wrenn wrote: > executing: > -------------- > [root at bigbird bwrenn]# /usr/local/rt2/bin/webmux.pl > /usr/local/rt2/bin/webmux.pl: use: command not found eh? Does webmux.pl have a #! line as the very first line, pointing to a valid version of perl on your system? eg: #!/usr/bin/perl -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From bruce_campbell at ripe.net Fri Jan 10 03:48:31 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Fri, 10 Jan 2003 09:48:31 +0100 (CET) Subject: [rt-users] Search for dead tickets fails? In-Reply-To: Message-ID: On Thu, 9 Jan 2003, Seth Cohn, EFN General Manager wrote: > On Thu, 9 Jan 2003, Bruce Campbell wrote: > > > > I agree with that. I'm working on a spamfiltering tool to kill spam > > > tickets (based on the autoresponse bounce) and I did a search and noticed > > > 'hey, wait a sec...." > > > > Oooh, thats nifty, but wouldn't the bounce take a long time occasionally? > > Agreed. it's not the best solution, _but_ short of spamfiltering the > queue mail before it gets to RT, it's a good attempt. Run the mail through a spam filter, then have Rt (or RT's procmailrc) do stuff basic on your spamfilter's headers. Eg, all mail here passes through SpamAssassin, then our installation of RT essentially does: If got SpamAssassin 4 stars or more ; then If got '^\s*Received:' in the body ; then Mark as Spam Complaint Bounce to Autoresponder else Mark as Spam fi Mark as Resolved else Other stuff, such as sending autoack fi > > ( eg, the sending domain exists, but isn't responding on port 25. Your > > local MTA would then wait a default of 8 hours before returning a > > warning message. > > True. Same for spam with a valid return address (or one that doesn't > generate a bounce at least). Although this could be reduced by tweaking your MTA to return a warning to RT comparitively quickly. -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From greg at dreamlabs.co.nz Fri Jan 10 04:01:10 2003 From: greg at dreamlabs.co.nz (Greg Elisara) Date: Fri, 10 Jan 2003 22:01:10 +1300 Subject: [rt-users] Precedence setting for email headers Message-ID: Hi All, From kamara at eahd.or.ug Fri Jan 10 06:00:02 2003 From: kamara at eahd.or.ug (Kamara Eric R-M) Date: Fri, 10 Jan 2003 14:00:02 +0300 (EAT) Subject: [rt-users] Server error In-Reply-To: <20030109170552.97881.qmail@web14710.mail.yahoo.com> References: <20030109170552.97881.qmail@web14710.mail.yahoo.com> Message-ID: <20030110135501.Q70658-100000@nemesis.eahd.or.ug> Hi, If you look at the error log file for your webserver, do you see an error like this one? [error] Can't write to '/var/log/rt2/rt.log0': Permission denied at /usr/local/lib/perl5/site_perl/5.8.0/Log/Dispatch/File.pm line 72. If that is the case, then you need to set the appropriate permissions on the rt logfile.Otherwise please try to look at your webserver error log and look for rt related errorr, Regards, Eric On Thu, 9 Jan 2003, kh es wrote: > > Hi > > I installed RT on RedHat 7.2 as stated in "Full install notes for RedHat 7.2" in Installtion Guide, but when I try to log to web page i get this error : > > Internal Server Error > > What is this error for? > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now From binand at gmx.net Fri Jan 10 07:41:42 2003 From: binand at gmx.net (Binand Raj S.) Date: Fri, 10 Jan 2003 18:11:42 +0530 Subject: [rt-users] Random Password template In-Reply-To: <43A16DD4-23E5-11D7-97BE-003065DC18B8@hamburg.fcb.com> References: <20030109145718.GD4038@binand.cysphere.com> <43A16DD4-23E5-11D7-97BE-003065DC18B8@hamburg.fcb.com> Message-ID: <20030110124142.GG6881@binand.cysphere.com> On Thu, Jan 09, 2003 at 04:16:01PM +0100, Harald Wagener wrote: > You should set $logToFile = 'debug' in config.pm to get more > information. Don't forget to stop and start apache after doing so. > Then, try agan, and see if there is more information in the log(s). Well, thanks. I figured the problem (and recording here for posterity :) Should I file this as a bug in RT? The issue was a hardcoded password length limit in RT/lib/User.pm. I had $MinimumPasswordLength = "8"; in my etc/config.pm. But, in RT/lib/User.pm, we have: my $pass = $self->GenerateRandomPassword(6,8); Thus, more often than not, the random passwords thus generated were less than 8 characters. I changed the template to print out $pass in case of error too, to figure this out. For my purpose, this patch is enough. Everyone gets 8 character passwords. YMMV. Ideally, User.pm should use $MinimumPasswordLength and $MaximumPasswordLength (which defaults to two more than the minimum :) --- lib/RT/User.pm.old Fri Jan 10 07:23:50 2003 +++ lib/RT/User.pm Fri Jan 10 07:23:56 2003 @@ -315,7 +315,7 @@ return (0, "Permission Denied"); } - my $pass = $self->GenerateRandomPassword(6,8); + my $pass = $self->GenerateRandomPassword(8,8); # If we have "notify user on Binand From jonesy at CS.Princeton.EDU Fri Jan 10 09:55:11 2003 From: jonesy at CS.Princeton.EDU (Brian Jones) Date: Fri, 10 Jan 2003 09:55:11 -0500 Subject: [rt-users] notification of correspondence to person performing action --also, mail commands? In-Reply-To: <20030110004830.GD448@luggage.internal.moreton.com.au> Message-ID: <847011C2-24AB-11D7-BB64-000393DAC578@cs.princeton.edu> On Thursday, January 9, 2003, at 07:48 PM, Phil Homewood wrote: > It sounds like you're upgrading from 1.x? Yes, we upgraded some number of months ago, and are just now getting around to doing some work on it. > > I've just added this to the FAQ: > http://fsck.com/rtfm/article.html?id=5#73 Great. I commented out these lines, but I'm not seeing any change. Then I realized that '$creator' is only referenced in that file, so I commented out the creation of '$creator', just above the lines you said to comment out, where it starts out 'my $creator = ...->EmailAddress()'. Still no change that I can see. I tested creating a problem ticket via email, replying to a problem ticket via email, replying via the web interface, then taking ownership of the ticket and doing all of that while I owned the ticket (just in case). I didn't receive any mail at all :-( Did I forget to do something? I'm still not seeing a change, but I'll have to check out the logs I guess (when I find them... this is my first venture into RT's structure, so excuse my ignorance. > http://fsck.com/rtfm/article.html?id=5#76 This is helpful, thanks a lot for the pointer... brian From rthompson at interpublic.com Fri Jan 10 10:19:46 2003 From: rthompson at interpublic.com (Ray Thompson) Date: Fri, 10 Jan 2003 09:19:46 -0600 Subject: [rt-users] automatically adding new email tickets to a specific queue based on sender email-address Message-ID: Probably not what you're looking for but we have a perl script that compares the sender to our directory and sets the queue based on the ou of the user. If that person's not in our directory then the ticket is placed in the "General" queue. /etc/mail/aliases: support: "|/opt/rt2/bin/pickque" /opt/rt2/bin/pickque: #!/usr/bin/perl my $filter = ""; $random = int( rand(64000) ) + 1; open(OUTFILE,">/tmp/msg$random.txt") or die "Can't open output file $!"; while ($line = ) { if ($line =~ /From:/) { $filter = "uid="; ($w1,$w2) = split("<",$line); ($uid,$domain) = split("@",$w2); $filter .= $uid; $entry = `ldapsearch -b \"o=True North\" -s sub -h chidir1 $filter dn`; $queue="general"; if ($entry) { $dn=$entry; if ($dn =~ /Asia Pacific/) { $queue = "Region - Asia/Pacific"; } if ($dn =~ /Europe/) { $queue = "Region - Europe"; } if ($dn =~ /Latin America/) { $queue = "Region - South America"; } if ($dn =~ /North America/) { $queue = "Region - North America"; } } #print "$queue\n"; } print OUTFILE $line; } close OUTFILE; $result = `/opt/rt2/bin/rt-mailgate --queue \'$queue\' --action correspond < /tmp/msg$random.txt`; unlink "/tmp/msg$random.txt"; > -----Original Message----- > From: rt-users-admin at lists.fsck.com > [mailto:rt-users-admin at lists.fsck.com] On Behalf Of Stefan Seiz > Sent: Thursday, January 09, 2003 3:50 PM > To: rt-users at lists.fsck.com > Subject: [rt-users] automatically adding new email tickets to > a specific queue based on sender email-address > > > Hi, > > is it somehow possible (using rt 2.11) to automatically > assign tickets incoming via email to a Specific Queue based > on the requesters from-address? > > What I want to achieve is, that any request from > user at domain.dom is added to queue "domain", but an request > from me at home.dom is assigned to queue "home". > > Thanks > Stefan > PS: plese CC me, I'm on Digest > > -- > > Spamto: > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-> users > > Have you > read the FAQ? The RT FAQ Manager lives at > http://fsck.com/rtfm > From jgedeon at qualcomm.com Fri Jan 10 11:44:20 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 10 Jan 2003 08:44:20 -0800 Subject: [rt-users] Adding a status. In-Reply-To: Message-ID: <5.1.0.14.2.20030110084256.036de1a0@mail1.qualcomm.com> A quick way to do this would be to just make use of the keyword selections. there is a nice tutorial at http://fsck.com/rtfm/article.html?id=4#149 HTH John At 09:09 AM 11/4/2002, you wrote: >Is it possible to add another status type? I've got a group of users that >would like another status type to use for marking tickets of interest. They >mainly want to build a knowledge base. I haven't had an opportunity to look >at the TemplateAnswers (Looks like that's what everyone suggests for KB) in >contrib yet. They're pretty intent on just having another status type. > >James. >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From jgedeon at qualcomm.com Fri Jan 10 11:56:34 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 10 Jan 2003 08:56:34 -0800 Subject: [rt-users] Additional field in User details In-Reply-To: Message-ID: <5.1.0.14.2.20030110085330.05da0b78@mail1.qualcomm.com> I too have been working at getting this exact thing to work as well. I managed to do all the stuff same as Sean and am stuck with a similar problem. I cannot seem to figure out how to access the column that is in the database. I added a function to User.pm that was called Order (thats the name of my field that I wish to add) and have it return a default value, that fixes the error from mason that I got, however I cant seem to get the data into or out of the db. Any help is welcomed. John At 04:12 PM 10/2/2002, you wrote: >Hiya, > >I've run into a problem I can't seem to resolve. I would appreciate any >help anyone can offer. I'm running RT 2.0.13. > >I'm looking to add an additional field to the Users table to keep track of >the names of the employees that are using that username. It might sound >obscure, but it's pretty important to the scheme I'm working with. > >--- > >So, I added a row for it in the database like this: > >mysql> alter table Users add Employees blob; >mysql> insert into Users (Employees) VALUES(NULL); > >--- > >Next, I opened up User.pm and added a corresponding entry for "Employees": >vi /usr/local/rt/lib/RT/User.pm > > my %Cols = ( > # {{{ Core RT info > Name => 'public/read/write/admin', > Password => 'write', > Comments => 'read/write/admin', > Employees => 'read/write/admin', >--- > >Next, I added this statement to Admin/Users/Modify.html to display the >Employees field. > > > >and at the bottom: > >$Employees=> undef > > >--- > >But I got the following error on that page: > >Mason error > >component stack: /Admin/Users/Modify.html [standard] >/autohandler [standard] > >code >stack: /usr/local/rt/WebRT/data/obj/STANDARD/Admin/Users/Modify.html:332 >/usr/local/rt/WebRT/data/obj/STANDARD/autohandler:69 > > >misc info: error while executing /Admin/Users/Modify.html [standard]: > >--- > >As a side note, I was able to replace the "Employees" with a previously >created, but unused value. For instance - I replaced it with Creator >(which was a valid field, but isn't usually displayed at all on >Modify.html) and it worked fine. > >By the way, here's autohandler:69 > >68 else { >69 $m->call_next; >70 } > > >--- > >I would appreciate any help on this issue. It has me greatly befuddled. > >Thanks. >Sean Byron > >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From gm at efn.org Fri Jan 10 12:39:40 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Fri, 10 Jan 2003 09:39:40 -0800 (PST) Subject: [rt-users] notification of correspondence to person performing action --also, mail commands? In-Reply-To: <847011C2-24AB-11D7-BB64-000393DAC578@cs.princeton.edu> Message-ID: On Fri, 10 Jan 2003, Brian Jones wrote: > > http://fsck.com/rtfm/article.html?id=5#73 > > Great. I commented out these lines, but I'm not seeing any change. > Then I realized that '$creator' is only referenced in that file, so I > commented out the creation of '$creator', just above the lines you said > to comment out, where it starts out 'my $creator = > ...->EmailAddress()'. Still no change that I can see. I tested > creating a problem ticket via email, replying to a problem ticket via > email, replying via the web interface, then taking ownership of the > ticket and doing all of that while I owned the ticket (just in case). > I didn't receive any mail at all :-( Did I forget to do something? > > I'm still not seeing a change, but I'll have to check out the logs I > guess (when I find them... this is my first venture into RT's > structure, so excuse my ignorance. You probably need to restart apache (or apache-ssl) because of mod_perl. You changed a perl code module, and it's not loading the new version yet. Seth From jgedeon at qualcomm.com Fri Jan 10 13:07:23 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 10 Jan 2003 10:07:23 -0800 Subject: [rt-users] Additional field in User details Message-ID: <5.1.0.14.2.20030110100651.036d6008@mail1.qualcomm.com> I found that in my function Order I can call $self->__Value(dbfield) and get almost any data. I can show the name email creator user id etc but it returns null for my Order field. If i login in to the database i can see that the field is not null what else do I need to change? Previous changes. John >At 08:56 AM 1/10/2003, you wrote: >>I too have been working at getting this exact thing to work as well. I >>managed to do all the stuff same as Sean and am stuck with a similar >>problem. I cannot seem to figure out how to access the column that is in >>the database. I added a function to User.pm that was called Order (thats >>the name of my field that I wish to add) and have it return a default >>value, that fixes the error from mason that I got, however I cant seem to >>get the data into or out of the db. >> >>Any help is welcomed. >>John >> >>At 04:12 PM 10/2/2002, you wrote: >>>Hiya, >>> >>>I've run into a problem I can't seem to resolve. I would appreciate any >>>help anyone can offer. I'm running RT 2.0.13. >>> >>>I'm looking to add an additional field to the Users table to keep track of >>>the names of the employees that are using that username. It might sound >>>obscure, but it's pretty important to the scheme I'm working with. >>> >>>--- >>> >>>So, I added a row for it in the database like this: >>> >>>mysql> alter table Users add Employees blob; >>>mysql> insert into Users (Employees) VALUES(NULL); >>> >>>--- >>> >>>Next, I opened up User.pm and added a corresponding entry for "Employees": >>>vi /usr/local/rt/lib/RT/User.pm >>> >>> my %Cols = ( >>> # {{{ Core RT info >>> Name => 'public/read/write/admin', >>> Password => 'write', >>> Comments => 'read/write/admin', >>> Employees => 'read/write/admin', >>>--- >>> >>>Next, I added this statement to Admin/Users/Modify.html to display the >>>Employees field. >>> >>> >>> >>>and at the bottom: >>> >>>$Employees=> undef >>> >>> >>>--- >>> >>>But I got the following error on that page: >>> >>>Mason error >>> >>>component stack: /Admin/Users/Modify.html [standard] >>>/autohandler [standard] >>> >>>code >>>stack: /usr/local/rt/WebRT/data/obj/STANDARD/Admin/Users/Modify.html:332 >>>/usr/local/rt/WebRT/data/obj/STANDARD/autohandler:69 >>> >>> >>>misc info: error while executing /Admin/Users/Modify.html [standard]: >>> >>>--- >>> >>>As a side note, I was able to replace the "Employees" with a previously >>>created, but unused value. For instance - I replaced it with Creator >>>(which was a valid field, but isn't usually displayed at all on >>>Modify.html) and it worked fine. >>> >>>By the way, here's autohandler:69 >>> >>>68 else { >>>69 $m->call_next; >>>70 } >>> >>> >>>--- >>> >>>I would appreciate any help on this issue. It has me greatly befuddled. >>> >>>Thanks. >>>Sean Byron >>> >>>_______________________________________________ >>>rt-users mailing list >>>rt-users at lists.fsck.com >>>http://lists.fsck.com/mailman/listinfo/rt-users >>> >>>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm >> >> >>-- >><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >>your own understanding;" >> >>_______________________________________________ >>rt-users mailing list >>rt-users at lists.fsck.com >>http://lists.fsck.com/mailman/listinfo/rt-users >> >>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > > >-- ><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >your own understanding;" > -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From js138 at eng.cam.ac.uk Fri Jan 10 13:14:43 2003 From: js138 at eng.cam.ac.uk (J. Sloan) Date: Fri, 10 Jan 2003 18:14:43 +0000 (GMT) Subject: [rt-users] Messages to multiple queues. Message-ID: Here's an interesting one. If I send a message to two rt-entrypoints then two tickets are created - one in each queue. All fair and dandy, and everyone who ought to see the message does so. However if I reply to a ticket and CC a second ticket entrypoint (for information) then that CC is effectively silently ignored, since the ticket is delivered to the first queue and only it's scrips are actioned. Does anyone have a stock solution to this problem? Thanks. John From jgedeon at qualcomm.com Fri Jan 10 16:08:15 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 10 Jan 2003 13:08:15 -0800 Subject: [rt-users] RT Connect failure Message-ID: <5.1.0.14.2.20030110125405.05897e40@mail1.qualcomm.com> I am trying to set up rt so that it will use Oracle as a backend. during the install rt connects and creates the schema but uppon trying to insert the data if fails saing the following: /local/mnt/workspace/rtdev/bin/perl -I//local/mnt/workspace/rtdev/rt2/etc -I//local/mnt/workspace/rtdev/rt2/lib //local/mnt/workspace/rtdev/rt2/etc/insertdata DBI connect('dbname=KDQCTDEV;host=winchester;port=1524','restrack',...) failed: Can't connect using this syntax without specifying a HOST and a SID at /local/mnt/workspace/rtdev/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Handle.pm line 119 Connect Failed Can't connect using this syntax without specifying a HOST and a SID at //local/mnt/workspace/rtdev/rt2/etc/insertdata line 27 *** Error code 255 make: Fatal error: Command failed for target `insert' what else do I need to set? I have other scripts which can connect using this install of perl and dbd::oracle.... John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From jgedeon at qualcomm.com Fri Jan 10 17:57:35 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 10 Jan 2003 14:57:35 -0800 Subject: [rt-users] Database handle destroyed Message-ID: <5.1.0.14.2.20030110145505.05e714a8@mail1.qualcomm.com> I have an oracle db running and finally got rt to successfully connect to it. however during the uploading of the default data, the system user is destroyed when i get an error saying that the database handle was destroyed with out a disconnect at line 281 of Handle.pm I am triying to figure out what happend but cant. the insertdata script doesn't try to disconnect from the db untill the end but I am not sure where it does's something to ruin the dbhandle. Help any one? John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From jgedeon at qualcomm.com Fri Jan 10 18:18:02 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 10 Jan 2003 15:18:02 -0800 Subject: [rt-users] Database handle destroyed In-Reply-To: <5.1.0.14.2.20030110145505.05e714a8@mail1.qualcomm.com> Message-ID: <5.1.0.14.2.20030110151712.0578e860@mail1.qualcomm.com> Solved this problem. there is a DBConnect() in insertdata and oracle needs a disconnect just before that other wise it fails. John At 02:57 PM 1/10/2003, you wrote: >I have an oracle db running and finally got rt to successfully connect to >it. however during the uploading of the default data, the system user is >destroyed when i get an error saying that the database handle was >destroyed with out a disconnect at line 281 of Handle.pm I am triying to >figure out what happend but cant. the insertdata script doesn't try to >disconnect from the db untill the end but I am not sure where it does's >something to ruin the dbhandle. >Help any one? > >John > > >-- ><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >your own understanding;" > >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From john at trdlnk.com Fri Jan 10 18:23:52 2003 From: john at trdlnk.com (John Giles) Date: Fri, 10 Jan 2003 17:23:52 -0600 Subject: [rt-users] [err]: Couldn't load from the users database. Message-ID: <20030110232352.GA17554@trdlnk.com> Help. I have a major problem. My RT2 on RH 8.0 with MySQL was working great. Now it doesn't send any emails and I get this error when I take ownership of a ticket. ---- [err]: Couldn't load from the users database. ---- I manually deleted a number of unwanted usernames from within MySQL that has their password set to *NO-PASSWORD* (because I noticed there were a lot of SPAM addresses). I must have removed a few important Users, Nobody and root. I believe I can fix this problem if I can recreate the base Users table for RT2... Most importantly 'Nobody' and 'root'. I found $RT/etc/insertdata and recreated the two users based off that script but still no go. I can promise the Users tables the only RT2 table I issued a delete command on. Please reply to john at trdlnk.com AND the RT list with all emails. John Giles john at trdlnk.com From wash at wananchi.biz Sat Jan 11 07:23:31 2003 From: wash at wananchi.biz (Odhiambo Washington) Date: Sat, 11 Jan 2003 15:23:31 +0300 Subject: [rt-users] Random Password template In-Reply-To: <20030110124142.GG6881@binand.cysphere.com> References: <20030109145718.GD4038@binand.cysphere.com> <43A16DD4-23E5-11D7-97BE-003065DC18B8@hamburg.fcb.com> <20030110124142.GG6881@binand.cysphere.com> Message-ID: <20030111122331.GH888@ns2.wananchi.com> * Binand Raj S. [20030110 15:45]: wrote: > On Thu, Jan 09, 2003 at 04:16:01PM +0100, Harald Wagener wrote: > > You should set $logToFile = 'debug' in config.pm to get more > > information. Don't forget to stop and start apache after doing so. > > Then, try agan, and see if there is more information in the log(s). > > Well, thanks. I figured the problem (and recording here for posterity :) > Should I file this as a bug in RT? Hello Binand, I've used the same template and it works, but when I login to the web ui, no tickets are displayed. There are three tabs for [Open requests] [Closed requests] and [New request] but no ticket is shown at all. Any clues as to why? Thanks cheers - wash +----------------------------------+-----------------------------------------+ Odhiambo Washington, wash at wananchi.com . WANANCHI ONLINE LTD (Nairobi, KE) | http://ns2.wananchi.com/~wash/ . 1ere Etage, Loita Hse, Loita St., | GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI | +---------------------------------+------------------------------------------+ "Oh My God! They killed init! You Bastards!" --from a /. post From binand at gmx.net Sat Jan 11 07:42:25 2003 From: binand at gmx.net (Binand Raj S.) Date: Sat, 11 Jan 2003 18:12:25 +0530 Subject: [rt-users] Random Password template In-Reply-To: <20030111122331.GH888@ns2.wananchi.com> References: <20030109145718.GD4038@binand.cysphere.com> <43A16DD4-23E5-11D7-97BE-003065DC18B8@hamburg.fcb.com> <20030110124142.GG6881@binand.cysphere.com> <20030111122331.GH888@ns2.wananchi.com> Message-ID: <20030111124225.GB11568@binand.cysphere.com> On Sat, Jan 11, 2003 at 03:23:31PM +0300, Odhiambo Washington wrote: > I've used the same template and it works, but when I login to the web ui, > no tickets are displayed. There are three tabs for [Open requests] [Closed requests] > and [New request] but no ticket is shown at all. It didn't work for me because for my installation, the minimum password length is 8 whereas the template as published generates passwords between 6-8 characters. This probably has nothing to do with your installation. Do you have SeeQueue right for EveryOne group in your queue or globally? Configuration->Queues->Your Queue->Group Rights->Everyone. I have CreateTicket, ReplyToTicket and SeeQueue rights for Everyone. Binand From wash at wananchi.biz Sat Jan 11 08:42:24 2003 From: wash at wananchi.biz (Odhiambo Washington) Date: Sat, 11 Jan 2003 16:42:24 +0300 Subject: [rt-users] Random Password template In-Reply-To: <20030111124225.GB11568@binand.cysphere.com> References: <20030109145718.GD4038@binand.cysphere.com> <43A16DD4-23E5-11D7-97BE-003065DC18B8@hamburg.fcb.com> <20030110124142.GG6881@binand.cysphere.com> <20030111122331.GH888@ns2.wananchi.com> <20030111124225.GB11568@binand.cysphere.com> Message-ID: <20030111134224.GJ888@ns2.wananchi.com> * Binand Raj S. [20030111 15:42]: wrote: > On Sat, Jan 11, 2003 at 03:23:31PM +0300, Odhiambo Washington wrote: > > I've used the same template and it works, but when I login to the web ui, > > no tickets are displayed. There are three tabs for [Open requests] [Closed requests] > > and [New request] but no ticket is shown at all. > > It didn't work for me because for my installation, the minimum password > length is 8 whereas the template as published generates passwords between > 6-8 characters. This probably has nothing to do with your installation. > > Do you have SeeQueue right for EveryOne group in your queue or globally? > > Configuration->Queues->Your Queue->Group Rights->Everyone. > > I have CreateTicket, ReplyToTicket and SeeQueue rights for Everyone. This is correct. In the testing process I figured it out. cheers - wash +----------------------------------+-----------------------------------------+ Odhiambo Washington, wash at wananchi.com . WANANCHI ONLINE LTD (Nairobi, KE) | http://ns2.wananchi.com/~wash/ . 1ere Etage, Loita Hse, Loita St., | GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI | +---------------------------------+------------------------------------------+ "Oh My God! They killed init! You Bastards!" --from a /. post From hakimsoso at yahoo.com Sat Jan 11 13:15:12 2003 From: hakimsoso at yahoo.com (kh es) Date: Sat, 11 Jan 2003 10:15:12 -0800 (PST) Subject: [rt-users] how to create ticket to a new user ? Message-ID: <20030111181512.35659.qmail@web14702.mail.yahoo.com> Hi I logged in as root & created a user through (create a new user) & I gave him the rights to "Let this user access RT" & "Let this user be granted rights" & then I create a new queue & gave the user rights to create ticket. But when I logged in as that user, I couldn't see any queue in front of "New Tickets In" So any one can help me??? --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce_campbell at ripe.net Sat Jan 11 16:44:02 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Sat, 11 Jan 2003 22:44:02 +0100 (CET) Subject: [rt-users] What happened after reboot In-Reply-To: <1042236423.1086.1.camel@ryn> Message-ID: On 10 Jan 2003, Bobby Wrenn wrote privately: > On Fri, 2003-01-10 at 02:41, Bruce Campbell wrote: > > On Thu, 9 Jan 2003, Bobby Wrenn wrote: > > > > > executing: > > > -------------- > > > [root at bigbird bwrenn]# /usr/local/rt2/bin/webmux.pl > > > /usr/local/rt2/bin/webmux.pl: use: command not found > > > > eh? > > > > Does webmux.pl have a #! line as the very first line, pointing to a valid > > version of perl on your system? > > No it did not. I put it in and there was no change. If it needs to be > there why is not documented? I'm suspecting that there is a misunderstanding about what you think webmux.pl is used for. This file is used by Apache to run the RT web interface, and under normal circumstances, executing webmux.pl outside Apache doesn't 'do' anything (unless there is an error in that file). Putting the '#!/path/to/perl' magic at the top merely makes making this check slightly easier. In your original message, you quoted an Apache error message that referred you to the Apache error log. As such, is there anything useful in that log? Quite possibly, you have a permissions problem (in that the user running Apache cannot read the RT configuration file/libraries ). -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From bruce_campbell at ripe.net Sat Jan 11 16:46:09 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Sat, 11 Jan 2003 22:46:09 +0100 (CET) Subject: [rt-users] how to create ticket to a new user ? In-Reply-To: <20030111181512.35659.qmail@web14702.mail.yahoo.com> Message-ID: On Sat, 11 Jan 2003, kh es wrote a mail with really long lines: > But when I logged in as that user, I couldn't see any queue in front of > "New Tickets In" That user also needs to have the Right 'SeeQueue'. -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From bruce_campbell at ripe.net Sat Jan 11 16:58:44 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Sat, 11 Jan 2003 22:58:44 +0100 (CET) Subject: [rt-users] [err]: Couldn't load from the users database. In-Reply-To: <20030110232352.GA17554@trdlnk.com> Message-ID: On Fri, 10 Jan 2003, John Giles wrote: > ---- > [err]: Couldn't load from the users database. > ---- > > I manually deleted a number of unwanted usernames from > within MySQL that has their password set to *NO-PASSWORD* First rule of RT: Do not manually add/modify/delete rows/columns in the RT database unless you really, really know what you are doing. ( And have taken out kneecap insurance. ) > (because I noticed there were a lot of SPAM addresses). > I must have removed a few important Users, Nobody and root. Aaiieeee. > I believe I can fix this problem if I can recreate the > base Users table for RT2... Most importantly 'Nobody' > and 'root'. I found $RT/etc/insertdata and recreated > the two users based off that script but still no go. More importantly, did you recreate them with the same 'id' number? RT depends on being able to load certain users (root for instance, and Nobody), and those users being able to do particular things as defined by the RT Access Control System (which is based on the User's 'id' number). > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm Regards, -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From john at trdlnk.com Sat Jan 11 18:32:41 2003 From: john at trdlnk.com (John Giles) Date: Sat, 11 Jan 2003 17:32:41 -0600 Subject: [rt-users] [err]: Couldn't load from the users database. In-Reply-To: References: <20030110232352.GA17554@trdlnk.com> Message-ID: <20030111233241.GA18055@trdlnk.com> On Sat, Jan 11, 2003 at 10:58:44PM +0100, Bruce Campbell wrote: > On Fri, 10 Jan 2003, John Giles wrote: > > First rule of RT: > > Do not manually add/modify/delete rows/columns in the RT database > unless you really, really know what you are doing. > > ( And have taken out kneecap insurance. ) > Noted :) > > More importantly, did you recreate them with the same 'id' number? RT > depends on being able to load certain users (root for instance, and > Nobody), and those users being able to do particular things as defined by > the RT Access Control System (which is based on the User's 'id' number). > I think the 'id' to be 1, 2 or 3 but I'm not 100% sure. When I added users, RT started at 'id' 4 and went up. Could someone tell me entries for Users..id => 1, 2 and 3. If I populate the Users table with the information of the Nobody and root accounts given in the insertdata script AND have the correct 'id' then things should be in the clear. I want to make sure the Nobody and root accounts are the same. Are there other users that RT requires ?? John Giles john at trdlnk.com From hakimsoso at yahoo.com Sun Jan 12 01:13:11 2003 From: hakimsoso at yahoo.com (kh es) Date: Sat, 11 Jan 2003 22:13:11 -0800 (PST) Subject: [rt-users] The page can not be desplayed Message-ID: <20030112061311.20614.qmail@web14707.mail.yahoo.com> Hi Sometimes when I logged out from RT I get this page saying The Page Can Not Be Deplayed. How can I correct this ? --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From hakimsoso at yahoo.com Sun Jan 12 01:55:31 2003 From: hakimsoso at yahoo.com (kh es) Date: Sat, 11 Jan 2003 22:55:31 -0800 (PST) Subject: [rt-users] signal segmentation fault Message-ID: <20030112065531.20079.qmail@web14705.mail.yahoo.com> Hi I get these errors in httpd error.log file : child pid xxx exit signal segmentation fault (11) what does this mean ? --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From kamara at eahd.or.ug Sun Jan 12 09:09:33 2003 From: kamara at eahd.or.ug (Kamara Eric R-M) Date: Sun, 12 Jan 2003 17:09:33 +0300 (EAT) Subject: [rt-users] signal segmentation fault In-Reply-To: <20030112065531.20079.qmail@web14705.mail.yahoo.com> References: <20030112065531.20079.qmail@web14705.mail.yahoo.com> Message-ID: <20030112170712.I87916-100000@nemesis.eahd.or.ug> On Sat, 11 Jan 2003, kh es wrote: > > Hi > > I get these errors in httpd error.log file : > > child pid xxx exit signal segmentation fault (11) > > what does this mean ? > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now Hi, the link www.google.com/search?q="segmentation fault" will give you some good resources to read about segmentation faults or you can be more explicit about your error... Eric From bjwrenn at augustmail.com Sun Jan 12 16:19:30 2003 From: bjwrenn at augustmail.com (Bobby Wrenn) Date: 12 Jan 2003 15:19:30 -0600 Subject: [rt-users] New install problem Message-ID: <1042406371.1086.31.camel@ryn> I have just install RT2 on a clean RH7.3 install. I installed everything perl I could find, satisfied every dependency I could find any reference to and configured everything that made sense to me in config.pm. I added the default mod_perl lines to httpd.conf. and started apache. When browsing to the RT box at http://10.1.29.255/ I get the following: ---------- <& /Elements/Header, Title=>"Start page", Refresh => $session{'home_refresh_interval'} &> <& /Elements/Tabs, current_toptab => '' &> <& /Elements/CustomHomepageHeader, %ARGS &> <& /Elements/MyTickets &> <& /Elements/MyRequests &> <& /Elements/Quicksearch &> <& /Elements/Refresh, Name => 'HomeRefreshInterval', Default => $session {'home_refresh_interval'} &> <%init> if ($ARGS{'HomeRefreshInterval'}) { $session{'home_refresh_interval'} = $ARGS{'HomeRefreshInterval'}; } ------------ There is also a button on the right side of the web page. ------------ The httpd/error_log shows: ------------- [Sun Jan 12 14:49:03 2003] [notice] Apache/1.3.23 (Unix) (Red-Hat/Linux) mod_ss l/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations [Sun Jan 12 14:49:03 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin /suexec) [Sun Jan 12 14:49:03 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) [Sun Jan 12 15:06:04 2003] [notice] caught SIGTERM, shutting down [Sun Jan 12 15:06:23 2003] [notice] Apache/1.3.23 (Unix) (Red-Hat/Linux) mod_ss l/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations [Sun Jan 12 15:06:23 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin /suexec) [Sun Jan 12 15:06:23 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) ------------- So it looks like mod_perl is working. I do not know how to what else to check. What is not working? It seems like something required is missing. But I don't know how to ask the right question to get to the answer. I have been trying to get RT installed for almost a month without success. I have gone to a clean install of a know supported distro and followed everything I could find to the letter. Still no joy. I am expected to be able to demo this by Tuesday morning. It is now Sunday afternoon. Help! TIA Bobby From pdh at snapgear.com Sun Jan 12 21:51:45 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 13 Jan 2003 12:51:45 +1000 Subject: [rt-users] how to create ticket to a new user ? In-Reply-To: <20030111181512.35659.qmail@web14702.mail.yahoo.com> References: <20030111181512.35659.qmail@web14702.mail.yahoo.com> Message-ID: <20030113025145.GG2659@luggage.internal.moreton.com.au> kh es wrote, without linewrap: > I logged in as root & created a user through (create a new user) & > I gave him the rights to "Let this user access RT" & "Let this user > be granted rights" & then I create a new queue & gave the user rights > to create ticket. > > But when I logged in as that user, I couldn't see any queue in front of > "New Tickets In" You need to grant the user the right to SeeQueue as well. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Sun Jan 12 22:08:16 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 13 Jan 2003 13:08:16 +1000 Subject: [rt-users] Precedence setting for email headers In-Reply-To: References: Message-ID: <20030113030816.GH2659@luggage.internal.moreton.com.au> Greg Elisara wrote: > From time to time, a requestor will not receive any RT correspondence - > autoreplies or ticket correspondence. This stikes us as odd because we are > now approaching ticket 1,000 and we probably talking about less that a dozen > instances of this problem. Could "Precedence: bulk" be causing this? Would > changing the Precedence in the header to something like "Normal" or removing > it entirely cause RT to function differently? RT refrains from replying to email with a Precedence of "bulk" or "junk". I can't seem to find this mentioned in any RFCs, but it has precedent at least in the "vacation" program. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Sun Jan 12 22:11:20 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 13 Jan 2003 13:11:20 +1000 Subject: [rt-users] New install problem In-Reply-To: <1042406371.1086.31.camel@ryn> References: <1042406371.1086.31.camel@ryn> Message-ID: <20030113031120.GI2659@luggage.internal.moreton.com.au> Bobby Wrenn wrote: > When browsing to the RT box at http://10.1.29.255/ I get the following: > > ---------- > <& /Elements/Header, Title=>"Start page", Refresh => Did you follow the installation instructions? See http://fsck.com/rtfm/article.html?id=2#49 for what's likely to be missing. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From jesse at bestpractical.com Mon Jan 13 02:52:06 2003 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 13 Jan 2003 02:52:06 -0500 Subject: [rt-users] [rt-announce] RT 2.1.59 - RT 3.0 Alpha 2 Message-ID: <20030113075206.GN12365@pallas.fsck.com> I'm pleased to announce that RT 2.1.59 has been designated the "Alpha 2" release of RT 3.0. It includes the new client-server mail gateway system, as well as a significantly prettier and easier to use user interface and a slew of bug fixes and enhancements. http://fsck.com/pub/rt/devel/rt-3-0-alpha-2.tar.gz Moving forward, We're hard at work on the new commandline interface, additional improvements to the installation process, a new documentation set and the rt2 -> rt3 import tool. When the new import tool is ready, I expect to release "Beta 1" of RT3, which I will be using in production. From that point forward, upgrades within RT's 2.1.x series will be supported through RT 3.0.0, which we'll be working toward as quickly as we can. Best, Jesse Vincent Best Practical Solutions, LLC -- ?|? http://www.bestpractical.com/rt -- Trouble Ticketing. Free. _______________________________________________ rt-announce mailing list rt-announce at lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-announce From TalkLists at index-s.de Mon Jan 13 03:04:57 2003 From: TalkLists at index-s.de (Stefan Seiz) Date: Mon, 13 Jan 2003 09:04:57 +0100 Subject: [rt-users] automatically adding new email tickets to a specific queue based on sender email-address In-Reply-To: <20030111134502.22107.30033.Mailman@pallas.eruditorum.org> Message-ID: On 11.01.2003 14:45 Uhr, "Ray Thompson" wrote: > Probably not what you're looking for but we have a perl script that compare= > s the sender to our directory and sets the queue based on the ou of the use= > r. If that person's not in our directory then the ticket is placed in the = > "General" queue. > > /etc/mail/aliases: > support: "|/opt/rt2/bin/pickque" > > /opt/rt2/bin/pickque: > #!/usr/bin/perl Not exactly what i wished for, but a very handy script indeed. I'll sure keep it around. Thanks! Seems for the time being, i do the FROM address filtering already on my mailserver (CommuniGatePro) which has a powerful rules system which will then launch the RT commandline-tool with the propper --queue. I just wanted to avoid having yet another 10 rules within my mailserver... Thanks again. -- Stefan Seiz Spamto: From ssinyagin at yahoo.com Mon Jan 13 04:37:55 2003 From: ssinyagin at yahoo.com (Stanislav Sinyagin) Date: Mon, 13 Jan 2003 01:37:55 -0800 (PST) Subject: [rt-users] rtimportldap update: group mapping Message-ID: <20030113093755.48787.qmail@web13708.mail.yahoo.com> Hello all, See the new version of the LDAP importing script, attached. In the new version: -- The whole script design is reorganized. -- Group mapping. LDAP group objects (those containing member attributes) may be mapped into RT groups. This feature was first implemented by Andi Hofmeister, and improved to support MS AD. Should work fine both in MS AD and NIS schema. -- Missing RT groups are created automatically. -- New option: --verbose. Unless it is set, only changes and errors are reported. -- Slightly new user parameters mapping: 'info' => 'FreeformContactInfo', 'description' => 'Comments', 'gecos' => 'Gecos' See the tar.gz attached, and README below. Regards, Stanislav. ============================================================================= $Id: rtimportldap.README,v 1.10 2003/01/13 09:17:42 stsiny Exp $ ------------------------------------------------------------------------------ rtimportldap.pl: The utility for importing the RT users from LDAP directory Author: Stanislav Sinyagin LDAP group mapping is contributed by Andreas Hofmeister This script is written as generic as possible. It is tested mainly in Microsoft Active Directory/Exchange 2000 environment, but also designed (and tested) for standard LDAP schemas. The script does not care about passwords. Old users' passwords are not touched, and the new users are created without password. Apache/mod_auth_ldap may be used for user authentication against the LDAP server. Alternatively, you may use pam_ldap module. The script is reenterable: existing users are updated, and non-existing ones are created. Thus, it may be used every time you make changes in your LDAP directory. User entries found by the LDAP search filter are exported to RT database. In addition, they may be added to RT groups, according to --groupadd, --groupsync, and --groupmap options. Missing RT groups are created automatically. Usage: ./rtimportldap.pl options... Options ([M] means mandatory, [O] means optional, + means multivalue): --rc filename [O] read options from file: opt=value pairs one per line --server hostname [M] LDAP host name or address --port port [O] LDAP TCP port. Default: 389 --ldapver 3|2 [O] LDAP version. Default: 3 --binddn dn [O] Bind DN --bindpw password [O] Bind password --basedn dn [M] Base DN --filter filter [O] LDAP search filter. Default: (|(objectClass=organizationalPerson)(objectClass=person)) --uidattr attr [O] Username attribute. Default: uid --attrmap lattr:rattr [O+] Mapping of LDAP to RT attribute. Use lattr:none to suppress standard mapping of lattr --groupadd groupname [O+] Add all found LDAP users to these RT groups --groupsync groupname [O+] Maintain exact matching of the LDAP search result and the RT group membership --groupmap ldapgrp[:rtgrp] [O+] Synchronize members of LDAP group with members of RT group. LDAP group lookup is controlled by --gmbase, --gmfilter, --gmgidattr, and --gmmemattr options. Several LDAP groups may be merged into the same RT group. Group members must be found by --filter before group mapping. --gmbase dn [O] LDAP group search DN. Default: same as --basedn --gmfilter filter [O] Group mapping LDAP filter. Default: (objectClass=posixGroup) --gmgidattr attr [O] Group mapping GID attribute. Default: cn --gmmemattr attr [O] Group mapping member attribute. Default: memberUid --gmdescattr attr [O] Group mapping description attribute. Default: description --disabled 1|0 [O] Set RT users as disabled. Default: 0 --privileged 1|0 [O] Set RT users as privileged. Default: 1 --latin1 1|0 [O] Convert LDAP values to Latin1 encoding. Default: 1 --verbose [O] Print extra information --help [O] This help message The filter is automatically updated so that the UID attribute is explicitly searched in the directory. This means that the script may report zero entries found. RT uses HTML::Mason, which uses HTML::Entity for displaying non-ASCII characters. As described in HTML::Entity, it conciders the input string as Unicode if Perl version is more than 5.7, and ISO-8859-1 (Latin1) otherwise. --latin1 option converts the UTF-8 values of LDAP entries into Latin1 before passing the data to RT. This is tested with Perl 5.6.1 and RT 2.0.15pre1 only. Microsoft AD specifics: Option --uidattr=sAMAccountName is neccessary. LDAP attribute 'company' is Microsoft-specific, not defined in standard schemas that come with OpenLDAP. We map it to 'Organization' RT attribute. MS AD requires non-anonymous binding. In anonymous mode, it shows only the topmost entry. For normal work, you must bind as a valid domain or host user. MS AD uses proprietary schema for group mapping. The object class is "group", and the member attribute "member" contains DNs of the users, instead of UIDs. This script understands both NIS or MS AD ways. If using group mapping, the followng options are neccessary: --gmfilter="(objectClass=group)" --gmmemattr=member ----------------------------------------------------------------------------- Copyright (c) 2002 Stanislav Sinyagin -------------- next part -------------- A non-text attachment was scrubbed... Name: rtimportldap-20030113.tar.gz Type: application/x-gzip-compressed Size: 7627 bytes Desc: rtimportldap-20030113.tar.gz URL: From ron.gidron at shunra.com Mon Jan 13 07:12:13 2003 From: ron.gidron at shunra.com (Ron Gidron) Date: Mon, 13 Jan 2003 14:12:13 +0200 Subject: [rt-users] Custom fields Message-ID: Does rt support custom fields? I would like to create a custom field that holds the customers "maintenance number" (my RT installation is intended for customer support calls mostly). Also, I have come across the term "SelfService" while browsing the archives and docs, I am looking for a way to allow the users to view theirs open tickets (restricted view obviously) through the web, comment on them through the web etc.. Any **pointers (please excuse an old C programmer on a Perl oriented list) will be appreciated. Best Regards, Ron Gidron. Customer Support Manager - SHUNRA Ltd. ron.gidron at shunra.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From steveg at lsli.com Mon Jan 13 10:37:38 2003 From: steveg at lsli.com (Steve Greenland) Date: Mon, 13 Jan 2003 09:37:38 -0600 Subject: [rt-users] [Mason] Cannot resolve file to component ? In-Reply-To: <20030109023055.GG444@luggage.internal.moreton.com.au> References: <3E031701.8060703@netcologne.de> <20021222233203.GP472@luggage.internal.moreton.com.au> <3E06C35A.5020308@netcologne.de> <20030109023055.GG444@luggage.internal.moreton.com.au> Message-ID: <20030113153738.GA11968@lsli.com> On Thu, Jan 09, 2003 at 12:30:55PM +1000, Phil Homewood wrote: > My AddHandler and FastCgiServer directives appear outside the > VirtualHost; I'm not sure that it really matters one way or > the other (anyone?) Just as to scope: in general, directives outside a VirtualHost directive apply to all VirtualHosts (unless overridden), assuming the directive is applicable at both levels. Steve -- "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next. -- (Stolen from the net) From Ralexander at musiciansfriend.com Mon Jan 13 13:41:38 2003 From: Ralexander at musiciansfriend.com (Ron Alexander) Date: 13 Jan 2003 10:41:38 -0800 Subject: [rt-users] signal segmentation fault In-Reply-To: <20030113094003.28210.59174.Mailman@pallas.eruditorum.org> References: <20030113094003.28210.59174.Mailman@pallas.eruditorum.org> Message-ID: <1042483300.1583.5.camel@ronsBox> > Message: 7 > Date: Sat, 11 Jan 2003 22:55:31 -0800 (PST) > From: kh es > Subject: [rt-users] signal segmentation fault > I get these errors in httpd error.log file : > child pid xxx exit signal segmentation fault (11) Apache and mod_perl? Are you compiled as DSO? If so, recompile apache and modperl. -- /************************************************************ * Ron Alexander ralexander at musiciansfriend.com * * Programmer/Analyst Musician's Friend, Inc.* * Phone:(541)774-5362 http://www.musiciansfriend.com * ************************************************************/ From jgedeon at qualcomm.com Mon Jan 13 16:16:42 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Mon, 13 Jan 2003 13:16:42 -0800 Subject: [rt-users] RT not committing Message-ID: <5.1.0.14.2.20030113131244.05580280@mail1.qualcomm.com> I have installed rt 2.0.15 and gotten it to log into an Oracle database. Upon installation everything goes well, I can then go to the web interface and log in as root. Then I go create a user RT says user created. When I try to then look up that user he is not listed anywhere in the web interface. I did set the let this user access rt and be granted permissions. Just to be sure I login to the database and look at the user table. But the user i created is not there. I then go to create him again and it says the name is in use? if i restart apache I can recreate the user but still get the same issue. none of the log files have any errors. Can some one help? John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From john at trdlnk.com Mon Jan 13 16:22:36 2003 From: john at trdlnk.com (John Giles) Date: Mon, 13 Jan 2003 15:22:36 -0600 Subject: [rt-users] [err]: Couldn't load from the users database. In-Reply-To: References: <20030110232352.GA17554@trdlnk.com> Message-ID: <20030113212235.GK27427@trdlnk.com> On Sat, Jan 11, 2003 at 10:58:44PM +0100, Bruce Campbell wrote: > > ---- > > [err]: Couldn't load from the users database. > > ---- I resolved this by creating a temp rt2 database from source. The only entry in the Users table was: +-----+------------------+---------------+------------+ | id | Name | Password | Privileged | +-----+------------------+---------------+------------+ | 1 | RT_System | *NO-PASSWORD* | 2 | +-----+------------------+---------------+------------+ I modified my 'broken' Users table to the above settings and everything started working again. John Giles john at trdlnk.com From rthompson at interpublic.com Mon Jan 13 17:06:04 2003 From: rthompson at interpublic.com (Ray Thompson) Date: Mon, 13 Jan 2003 16:06:04 -0600 Subject: [rt-users] Custom fields Message-ID: > Also, I have come across the term "SelfService" while browsing the archives and docs, I am looking for a way to > allow the users to view theirs open tickets (restricted view obviously) through the web, comment on them through > the web etc.. A "privileged" user can go to http://servername/SelfService to see what non-privileged users see. -Ray From gm at efn.org Mon Jan 13 17:38:21 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Mon, 13 Jan 2003 14:38:21 -0800 (PST) Subject: [rt-users] Changing the user running the script? Message-ID: Running the escalator script, it makes the changes as RT_System. I'd like to change that to 'Escalator' or 'Ticking Clock' or something like that. (so it's clear why it got bumped up) Is it really as simple as adding something like: $EscalatorUser = new RT::CurrentUser(); $EscalatorUser->LoadByName('Escalator'); before the rest of the script runs? Or am i missing something? -- ## Seth Cohn, General Manager of Eugene Free Community Network gm at efn.org ## Businesses planned for service are apt to succeed; Phone 541-484-9637 ## Businesses planned for profit are apt to fail. - N. Butler From pdh at snapgear.com Mon Jan 13 17:38:39 2003 From: pdh at snapgear.com (Phil Homewood) Date: Tue, 14 Jan 2003 08:38:39 +1000 Subject: [rt-users] Custom fields In-Reply-To: References: Message-ID: <20030113223839.GB470@luggage.internal.moreton.com.au> Ron Gidron wrote: > Does rt support custom fields? I would like to create a custom field that > holds > the customers "maintenance number" "keywords" in RT 2.0, "Custom Fields" in 2.1/3.x. Keywords can only take predefined values; custom fields can be either predefined selections or freeform inputs. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Mon Jan 13 17:53:41 2003 From: pdh at snapgear.com (Phil Homewood) Date: Tue, 14 Jan 2003 08:53:41 +1000 Subject: [rt-users] New install problem In-Reply-To: <1042466616.1086.50.camel@ryn> References: <1042406371.1086.31.camel@ryn> <20030113031120.GI2659@luggage.internal.moreton.com.au> <1042466616.1086.50.camel@ryn> Message-ID: <20030113225341.GD470@luggage.internal.moreton.com.au> Please keep list discussion on the list. Thanks. Bobby Wrenn wrote: > On Sun, 2003-01-12 at 21:11, Phil Homewood wrote: > > Bobby Wrenn wrote: > > > When browsing to the RT box at http://10.1.29.255/ I get the following: > > > > > > ---------- > > > <& /Elements/Header, Title=>"Start page", Refresh => > > > > Did you follow the installation instructions? See > > http://fsck.com/rtfm/article.html?id=2#49 > Yes I followed the instructions to the letter. I believe that the > testdeps is missing something or something is installed and not running. > mod_perl is running. If mod_perl is loading, you haven't got apache configured correctly. (But I'm curious as to how you know that "mod_perl is running"?) In particular, you're missing a PerlRequire, SetHandler, or PerlHandler directive, at a guess. Post the relevant chunks of your apache config, it should be easy enough to spot. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From Gilles-Eric.Descamps at SiliconAccess.com Mon Jan 13 18:31:38 2003 From: Gilles-Eric.Descamps at SiliconAccess.com (Gilles-Eric Descamps) Date: Mon, 13 Jan 2003 15:31:38 -0800 Subject: [rt-users] have rt forget text after "-----Original Message-----" Message-ID: <39C962D95C62CE47813FAF5341E6C8710B2B52@sa-usa-sj-po.sanjose.siliconaccess.com> Hi, I noticed the discussion about setting up rt to use a signature of "--" and then rt would forget everything after. I tried to set this up, but it did not seem to work. I was wondering if it was possible to tell rt to forget everything after: -----Original Message----- Thanks, -- Gilles-Eric DESCAMPS, SILICON ACCESS NETWORKS 211 River Oaks Parkway - San Jose, CA, 95134 mailto:Gilles-Eric.Descamps at SiliconAccess.com "Sed quis custodiet ipsos custodes ?" -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgedeon at qualcomm.com Mon Jan 13 18:51:38 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Mon, 13 Jan 2003 15:51:38 -0800 Subject: [rt-users] have rt forget text after "-----Original Message-----" In-Reply-To: <39C962D95C62CE47813FAF5341E6C8710B2B52@sa-usa-sj-po.sanjos e.siliconaccess.com> Message-ID: <5.1.0.14.2.20030113155103.055803c0@mail1.qualcomm.com> its actually everything after the string '-- ' the space needs to be there i believe:) John At 03:31 PM 1/13/2003, Gilles-Eric Descamps wrote: >Hi, > > >I noticed the discussion about setting up rt to use a signature >of "--" and then rt would forget everything after. >I tried to set this up, but it did not seem to work. > >I was wondering if it was possible to tell rt to forget everything after: >-----Original Message----- > >Thanks, > >-- >Gilles-Eric DESCAMPS, SILICON ACCESS NETWORKS >211 River Oaks Parkway - San Jose, CA, 95134 >mailto:Gilles-Eric.Descamps at SiliconAccess.com >"Sed quis custodiet ipsos custodes ?" > -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From jgedeon at qualcomm.com Mon Jan 13 18:53:37 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Mon, 13 Jan 2003 15:53:37 -0800 Subject: Fwd: Re: [rt-users] Additional field in User details Message-ID: <5.1.0.14.2.20030113155230.058f7e48@mail1.qualcomm.com> Can anyone offer some help as to how this is done? >Date: Fri, 10 Jan 2003 10:07:23 -0800 > >I found that in my function Order I can call $self->__Value(dbfield) and >get almost any data. I can show the name email creator user id etc but it >returns null for my Order field. If i login in to the database i can see >that the field is not null what else do I need to change? > >Previous changes. >John > >>At 08:56 AM 1/10/2003, you wrote: >>>I too have been working at getting this exact thing to work as well. I >>>managed to do all the stuff same as Sean and am stuck with a similar >>>problem. I cannot seem to figure out how to access the column that is in >>>the database. I added a function to User.pm that was called Order (thats >>>the name of my field that I wish to add) and have it return a default >>>value, that fixes the error from mason that I got, however I cant seem >>>to get the data into or out of the db. >>> >>>Any help is welcomed. >>>John >>> >>>At 04:12 PM 10/2/2002, you wrote: >>>>Hiya, >>>> >>>>I've run into a problem I can't seem to resolve. I would appreciate any >>>>help anyone can offer. I'm running RT 2.0.13. >>>> >>>>I'm looking to add an additional field to the Users table to keep track of >>>>the names of the employees that are using that username. It might sound >>>>obscure, but it's pretty important to the scheme I'm working with. >>>> >>>>--- >>>> >>>>So, I added a row for it in the database like this: >>>> >>>>mysql> alter table Users add Employees blob; >>>>mysql> insert into Users (Employees) VALUES(NULL); >>>> >>>>--- >>>> >>>>Next, I opened up User.pm and added a corresponding entry for "Employees": >>>>vi /usr/local/rt/lib/RT/User.pm >>>> >>>> my %Cols = ( >>>> # {{{ Core RT info >>>> Name => 'public/read/write/admin', >>>> Password => 'write', >>>> Comments => 'read/write/admin', >>>> Employees => 'read/write/admin', >>>>--- >>>> >>>>Next, I added this statement to Admin/Users/Modify.html to display the >>>>Employees field. >>>> >>>> >>>> >>>>and at the bottom: >>>> >>>>$Employees=> undef >>>> >>>> >>>>--- >>>> >>>>But I got the following error on that page: >>>> >>>>Mason error >>>> >>>>component stack: /Admin/Users/Modify.html [standard] >>>>/autohandler [standard] >>>> >>>>code >>>>stack: /usr/local/rt/WebRT/data/obj/STANDARD/Admin/Users/Modify.html:332 >>>>/usr/local/rt/WebRT/data/obj/STANDARD/autohandler:69 >>>> >>>> >>>>misc info: error while executing /Admin/Users/Modify.html [standard]: >>>> >>>>--- >>>> >>>>As a side note, I was able to replace the "Employees" with a previously >>>>created, but unused value. For instance - I replaced it with Creator >>>>(which was a valid field, but isn't usually displayed at all on >>>>Modify.html) and it worked fine. >>>> >>>>By the way, here's autohandler:69 >>>> >>>>68 else { >>>>69 $m->call_next; >>>>70 } >>>> >>>> >>>>--- >>>> >>>>I would appreciate any help on this issue. It has me greatly befuddled. >>>> >>>>Thanks. >>>>Sean Byron >>>> >>>>_______________________________________________ >>>>rt-users mailing list >>>>rt-users at lists.fsck.com >>>>http://lists.fsck.com/mailman/listinfo/rt-users >>>> >>>>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm >>> >>> >>>-- >>><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >>>your own understanding;" >>> >>>_______________________________________________ >>>rt-users mailing list >>>rt-users at lists.fsck.com >>>http://lists.fsck.com/mailman/listinfo/rt-users >>> >>>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm >> >> >>-- >><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >>your own understanding;" > > >-- ><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >your own understanding;" > >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From jesse at bestpractical.com Mon Jan 13 19:55:54 2003 From: jesse at bestpractical.com (Jesse Vincent) Date: Mon, 13 Jan 2003 19:55:54 -0500 Subject: [rt-users] RT not committing In-Reply-To: <5.1.0.14.2.20030113131244.05580280@mail1.qualcomm.com> References: <5.1.0.14.2.20030113131244.05580280@mail1.qualcomm.com> Message-ID: <20030114005554.GA12365@pallas.fsck.com> On Mon, Jan 13, 2003 at 01:16:42PM -0800, John Gedeon wrote: > I have installed rt 2.0.15 and gotten it to log into an Oracle database. > > Can some one help? The RT 2.0 oracle port is really prototype-quality at best. It's going to break six ways to sunday. -- ?|? http://www.bestpractical.com/rt -- Trouble Ticketing. Free. From jgedeon at qualcomm.com Mon Jan 13 20:02:50 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Mon, 13 Jan 2003 17:02:50 -0800 Subject: [rt-users] RT not committing In-Reply-To: <20030114005554.GA12365@pallas.fsck.com> References: <5.1.0.14.2.20030113131244.05580280@mail1.qualcomm.com> <5.1.0.14.2.20030113131244.05580280@mail1.qualcomm.com> Message-ID: <5.1.0.14.2.20030113170055.05875ec8@mail1.qualcomm.com> Got it working :) Aparently CLOB is a new oracle datatype and lots of drivers dont support it and it still has issues. changing them to varchar2(4000) fixed that issue. I have rt 2.0.15 working with Oracle 8.1.7 server I had to tweak alot but it can work :) Thanks. John At 04:55 PM 1/13/2003, Jesse Vincent wrote: >On Mon, Jan 13, 2003 at 01:16:42PM -0800, John Gedeon wrote: > > I have installed rt 2.0.15 and gotten it to log into an Oracle database. > > > > Can some one help? > >The RT 2.0 oracle port is really prototype-quality at best. It's going >to break six ways to sunday. > > > >-- >?|? http://www.bestpractical.com/rt -- Trouble Ticketing. Free. -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From rich+rt at lafferty.ca Mon Jan 13 20:31:20 2003 From: rich+rt at lafferty.ca (Rich Lafferty) Date: Mon, 13 Jan 2003 20:31:20 -0500 Subject: [rt-users] Custom fields In-Reply-To: <20030113223839.GB470@luggage.internal.moreton.com.au>; from pdh@snapgear.com on Tue, Jan 14, 2003 at 08:38:39AM +1000 References: <20030113223839.GB470@luggage.internal.moreton.com.au> Message-ID: <20030113203120.A15431@lafferty.ca> On Tue, Jan 14, 2003 at 08:38:39AM +1000, Phil Homewood wrote: > Ron Gidron wrote: > > Does rt support custom fields? I would like to create a custom field that > > holds > > the customers "maintenance number" > > "keywords" in RT 2.0, "Custom Fields" in 2.1/3.x. Keywords > can only take predefined values; custom fields can be either > predefined selections or freeform inputs. With a patch, Refers-To can be nicely corralled into a custom field in 2.0. I'm doing so to link to our local Bugzilla, with URIs like "bugzilla:300" for bug 300. The magic of %URI2HTTP (or something like that) in config.pm converts that to a Bugzilla link, and there is then goodness and light. The patch is to remove a couple of assumptions about what makes for legal URIs. Lemme know if you (the original poster, or, I suppose, anyone else!) want it and I'll post it tomorrow when I'm at the office. -Rich -- Rich Lafferty --------------+----------------------------------------------- Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus! http://www.lafferty.ca/ | http://zapatopi.net/treeoctopus.html rich at lafferty.ca -----------+----------------------------------------------- From JoopvandeWege at mococo.nl Tue Jan 14 04:02:38 2003 From: JoopvandeWege at mococo.nl (Joop van de Wege) Date: Tue, 14 Jan 2003 10:02:38 +0100 Subject: [rt-users] RT not committing In-Reply-To: <20030114010503.25727.63639.Mailman@pallas.eruditorum.org> References: <20030114010503.25727.63639.Mailman@pallas.eruditorum.org> Message-ID: <20030114095953.4676.JOOPVANDEWEGE@mococo.nl> > Date: Mon, 13 Jan 2003 17:02:50 -0800 > To: rt-users at fsck.com > From: John Gedeon > Subject: Re: [rt-users] RT not committing > > Got it working :) > > Aparently CLOB is a new oracle datatype and lots of drivers dont=20 > support it and it still has issues. changing them to varchar2(4000) fixed=20 > that issue. > > I have rt 2.0.15 working with Oracle 8.1.7 server > > I had to tweak alot but it can work :) > >The RT 2.0 oracle port is really prototype-quality at best. It's going > >to break six ways to sunday. I have it working too, production, on 8.1.7 and 9i. Search the archive for a couple of other posts I made to see what needs changing. There is quite a bit and if you need assistance please ask on the list or privately. Joop -- Joop van de Wege From bjwrenn at augustmail.com Tue Jan 14 12:19:25 2003 From: bjwrenn at augustmail.com (Bobby Wrenn) Date: 14 Jan 2003 11:19:25 -0600 Subject: [rt-users] New install problem Message-ID: <1042564765.1086.107.camel@ryn> Sorry about the possible double posts. Evolution defaulted to reply to sender. I'll be careful about the To: line. -----Forwarded Message----- From: Bobby Wrenn To: Phil Homewood Subject: Re: [rt-users] New install problem Date: 14 Jan 2003 10:18:32 -0600 On Mon, 2003-01-13 at 16:53, Phil Homewood wrote: > Please keep list discussion on the list. Thanks. > > Bobby Wrenn wrote: > > On Sun, 2003-01-12 at 21:11, Phil Homewood wrote: > > > Bobby Wrenn wrote: > > > > When browsing to the RT box at http://10.1.29.255/ I get the following: > > > > > > > > ---------- > > > > <& /Elements/Header, Title=>"Start page", Refresh => > > > > > > Did you follow the installation instructions? See > > > http://fsck.com/rtfm/article.html?id=2#49 > > > Yes I followed the instructions to the letter. I believe that the > > testdeps is missing something or something is installed and not running. > > mod_perl is running. > > If mod_perl is loading, you haven't got apache configured correctly. > (But I'm curious as to how you know that "mod_perl is running"?) > > In particular, you're missing a PerlRequire, SetHandler, or PerlHandler > directive, at a guess. Post the relevant chunks of your apache config, > it should be easy enough to spot. > I know mod_perl is running (at least configured) because /var/log/httpd/error_log shows: [Mon Jan 13 17:37:56 2003] [notice] Apache/1.3.23 (Unix) (Red-Hat/Linux) mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations As mentioned in my earlier posts I put the default entries from the install docs into my httpd.conf. They are: DocumentRoot "/usr/local/rt2/WebRT/html" PerlRequire /usr/local/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason I have matched the permissions with the default /var/www tree. I have installed RT on more than one box with more than one Linux distribution. I alway get to this spot once all the dependencies are met. I don't know enough to know what parts of config.pm might be relevant. Thanks, Bobby From john at trdlnk.com Tue Jan 14 12:37:11 2003 From: john at trdlnk.com (John Giles) Date: Tue, 14 Jan 2003 11:37:11 -0600 Subject: [rt-users] Safely removing all 'DEAD' tickets In-Reply-To: <20030111233241.GA18055@trdlnk.com> References: <20030110232352.GA17554@trdlnk.com> <20030111233241.GA18055@trdlnk.com> Message-ID: <20030114173710.GG25323@trdlnk.com> I have RT2 on RedHat 8.0 with MySQL. I've been setting my SPAM mail to the 'DEAD' status. Now that I've setup my SPAM filter I'd like to clean up all of the unwanted tickets. How can I safely remove all the 'DEAD' tickets. I don't want to set the tickets to 'RESOLVED' because there was no work performed on the tickets. Is this advisable ?? Has anyone done any similar clean-up ?? John Giles -john at trdlnk.com From dave at toad.net Tue Jan 14 12:47:06 2003 From: dave at toad.net (David C. Troy) Date: Tue, 14 Jan 2003 12:47:06 -0500 (EST) Subject: [rt-users] Safely removing all 'DEAD' tickets In-Reply-To: <20030114173710.GG25323@trdlnk.com> Message-ID: See below. This script was based on Steve Poirier's 'cleanup' script, but has been modified to kill what I am calling 'Crazy' tickets -- ones that for whatever reason have gotten >200 transactions associated with them (this would never happen naturally in our environment, YMMV). Also kills 'dead' tickets as well as optimizes all the tables. I run this twice a day. Dave ------------------------------------ #!/usr/bin/perl # # Steve Poirier - steve at inet-technologies.com # to use with RT2 and MySQL use strict; use DBI; # definition of variables my $db="rt2"; my $host="localhost"; my $user="rt_user"; my $password=""; my $ticketnbr = 0; # connect to MySQL database my $dbh = DBI->connect ("DBI:mysql:database=$db:host=$host", $user, $password) or die "Can't connect to database: $DBI::errstr\n"; # prepare the query for crazy tickets my $sth = $dbh->prepare( " select Ticket, count(id) ct FROM Transactions GROUP BY Ticket HAVING ct>200"); $sth->execute( ); # proceed with deletion while ( my @row = $sth->fetchrow_array( ) ) { my $ticketid = $row[0]; print "Ticket $ticketid is crazy. Deleting: "; my $str = $dbh->prepare( " SELECT id FROM Transactions where Ticket=$row[0]"); $str->execute( ); # delete Attachments for this ticket print "Attachments. "; while ( my @row2 = $str->fetchrow_array( ) ) { my $transid = $row2[0]; $dbh->do( " DELETE FROM Attachments WHERE TransactionId=$transid"); } # delete Ticket in Transactions table print "Transactions. "; $dbh->do( " DELETE FROM Transactions WHERE Ticket=$ticketid;"); # delete Ticket in ticket in Watchers table print "Watchers. "; $dbh->do( " DELETE FROM Watchers WHERE Value=$ticketid;"); # delete Ticket in ObjectKeywords table print "ObjectKeywords. "; $dbh->do( " DELETE FROM ObjectKeywords WHERE ObjectId=$ticketid;"); # delete Ticket from the Tickets table print "Ticket. "; $dbh->do( " DELETE FROM Tickets WHERE id=$ticketid;"); $ticketnbr++; } print "Deleted $ticketnbr crazy tickets.\n"; # reset this. $ticketnbr = 0; # prepare the query for dead tickets my $sth = $dbh->prepare( " SELECT id FROM Tickets where Status='dead';"); $sth->execute( ); # proceed with deletion while ( my @row = $sth->fetchrow_array( ) ) { my $ticketid = $row[0]; print "Ticket $ticketid is dead. Deleting: "; my $str = $dbh->prepare( " SELECT id FROM Transactions where Ticket=$row[0]"); $str->execute( ); # delete Attachments for this ticket print "Attachments. "; while ( my @row2 = $str->fetchrow_array( ) ) { my $transid = $row2[0]; $dbh->do( " DELETE FROM Attachments WHERE TransactionId=$transid"); } # delete Ticket in Transactions table print "Transactions. "; $dbh->do( " DELETE FROM Transactions WHERE Ticket=$ticketid;"); # delete Ticket in ticket in Watchers table print "Watchers. "; $dbh->do( " DELETE FROM Watchers WHERE Value=$ticketid;"); # delete Ticket in ObjectKeywords table print "ObjectKeywords. "; $dbh->do( " DELETE FROM ObjectKeywords WHERE ObjectId=$ticketid;"); # delete Ticket from the Tickets table print "Ticket.\n"; $dbh->do( " DELETE FROM Tickets WHERE id=$ticketid;"); $ticketnbr++; } print "Deleted $ticketnbr dead tickets.\n"; ########## # reset this. $ticketnbr = 0; # prepare the query for orphaned attachments my $sth = $dbh->prepare( "SELECT at.TransactionId, tr.id FROM Attachments at LEFT JOIN Transactions tr ON at.TransactionId=tr.id WHERE tr.id IS NULL"); $sth->execute( ); # proceed with deletion while ( my @row = $sth->fetchrow_array( ) ) { my $atid = $row[0]; print "Attachment $atid is orphaned. Deleting.\n"; $dbh->do( "DELETE FROM Attachments WHERE TransactionId=$atid"); $ticketnbr++; } print "Deleted $ticketnbr orphaned attachments.\n"; $dbh->do("OPTIMIZE TABLE Tickets"); print "Optimized Tickets.\n"; $dbh->do("OPTIMIZE TABLE Transactions"); print "Optimized Transactions.\n"; $dbh->do("OPTIMIZE TABLE Attachments"); print "Optimized Attachments.\n"; $dbh->do("OPTIMIZE TABLE Watchers"); print "Optimized Watchers.\n"; $dbh->do("OPTIMIZE TABLE ObjectKeywords"); print "Optimized ObjectKeywords.\nDone!\n\n"; exit; - On Tue, 14 Jan 2003, John Giles wrote: > > I have RT2 on RedHat 8.0 with MySQL. > > I've been setting my SPAM mail to the 'DEAD' status. Now that > I've setup my SPAM filter I'd like to clean up all of the > unwanted tickets. > > How can I safely remove all the 'DEAD' tickets. > > I don't want to set the tickets to 'RESOLVED' because there was > no work performed on the tickets. > > Is this advisable ?? Has anyone done any similar clean-up ?? > > John Giles > -john at trdlnk.com > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > From omehegan at perseus.com Tue Jan 14 16:54:43 2003 From: omehegan at perseus.com (Owen B. Mehegan) Date: Tue, 14 Jan 2003 16:54:43 -0500 Subject: [rt-users] Backup Message-ID: Does anyone have any refined methods in place for backing up their RT setup that I could use? If not, would my best bet be to create a cron job that backs up the RT root document tree and does a mysqldump and backs that up as well? What else should I consider? Thanks in advance, Best regards, Owen B. Mehegan MIS Manager, Perseus Development Corp. Landline: (781) 848-8100 x263 Mobile: (617) 285-1701 SurveySolutions for the Web: Winner of the PC Magazine Editors' Choice Award From khera at kcilink.com Tue Jan 14 17:15:17 2003 From: khera at kcilink.com (Vivek Khera) Date: Tue, 14 Jan 2003 17:15:17 -0500 Subject: [rt-users] Backup In-Reply-To: References: Message-ID: <15908.35829.507650.58858@onceler.kciLink.com> >>>>> "OBM" == Owen B Mehegan writes: OBM> Does anyone have any refined methods in place for backing up OBM> their RT setup that I could use? If not, would my best bet be to OBM> create a cron job that backs up the RT root document tree and OBM> does a mysqldump and backs that up as well? What else should I OBM> consider? I just backup the config directory. Everything else is stock on my installation, so can be recreated with a fresh install. I just tar it up on another box. The database is backed up nightly via pg_dump to another machine on the network. I'm sure mysqldump works equivalently. All of this runs out of cron. From will at willardjwilliams.com Tue Jan 14 17:24:22 2003 From: will at willardjwilliams.com (W. J. Williams) Date: Tue, 14 Jan 2003 14:24:22 -0800 (PST) Subject: [rt-users] trouble installing RT2 Message-ID: <20030114222422.5146.qmail@web13506.mail.yahoo.com> --- "W. J. Williams" wrote: > Hi, Hope someone can help me with what I am sure is a simple problem to > solve...just not for this newbie to FreeBSD. > > I get the following error when attempting to install: > > patching for rt2-2.0.14 > applying FreeBSD patches for rt2-2.0.14 > patch: **** can't cd to /usr/ports/www/rt2/work/rt-2-0-14: No such file > or > directory > >>Patch patch-Makefile failed to apply cleanly. > ***Error code 1 > > I gather it is looking for this directory and makefile, but I am lost as > to why this is not included in the ports. Additionally, I have just > updated my ports tree and still no dice. > > Any help would be greatly appreciated. > > Regards, > > Will Williams > NOC Manager, > Star 21 Networks > "Searching for a cheaper trouble ticketing system" > > ===== > Will Williams > mobile: +49(0) 178-806-7966 > ===== Will Williams mobile: +49(0) 178-806-7966 From rt at ml.altern8.net Tue Jan 14 17:46:40 2003 From: rt at ml.altern8.net (Vince Hoang) Date: Tue, 14 Jan 2003 14:46:40 -0800 Subject: [rt-users] trouble installing RT2 In-Reply-To: <20030114222422.5146.qmail@web13506.mail.yahoo.com> References: <20030114222422.5146.qmail@web13506.mail.yahoo.com> Message-ID: <20030114224640.GA16957@anarchy.com> On Tue, Jan 14, 2003 at 02:24:22PM -0800, W. J. Williams wrote: > > patch: **** can't cd to /usr/ports/www/rt2/work/rt-2-0-14: No > > such file or directory > > I gather it is looking for this directory and makefile, > > but I am lost as to why this is not included in the ports. > > Additionally, I have just updated my ports tree and still no > > dice. I think the port tries to download 2.0.15 when it expects 2.0.14. Try renaming rt.tar.gz to rt-2-0-14.tar.gz. -Vince From pdh at snapgear.com Tue Jan 14 17:50:46 2003 From: pdh at snapgear.com (Phil Homewood) Date: Wed, 15 Jan 2003 08:50:46 +1000 Subject: [rt-users] New install problem In-Reply-To: <1042564765.1086.107.camel@ryn> References: <1042564765.1086.107.camel@ryn> Message-ID: <20030114225045.GB472@luggage.internal.moreton.com.au> Bobby Wrenn wrote: > DocumentRoot "/usr/local/rt2/WebRT/html" > > PerlRequire /usr/local/rt2/bin/webmux.pl > > SetHandler perl-script > PerlHandler RT::Mason > Lose the "Directory" directive. You probably also should have PerlModule Apache::DBI in there, though its absence isn't a major problem. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From bjwrenn at augustmail.com Tue Jan 14 18:26:26 2003 From: bjwrenn at augustmail.com (Bobby Wrenn) Date: 14 Jan 2003 17:26:26 -0600 Subject: [rt-users] New install problem In-Reply-To: <1042406371.1086.31.camel@ryn> References: <1042406371.1086.31.camel@ryn> Message-ID: <1042586787.16156.50.camel@ryn> Thanks to all who answered. You got me looking in the right places. I fixed the perms on the log file and the page comes up. I'll probably fall over a few more times getting it configured. But I am past the first hurdle. Thanks again Bobby On Sun, 2003-01-12 at 15:19, Bobby Wrenn wrote: > I have just install RT2 on a clean RH7.3 install. I installed everything > perl I could find, satisfied every dependency I could find any reference > to and configured everything that made sense to me in config.pm. I added > the default mod_perl lines to httpd.conf. and started apache. > > When browsing to the RT box at http://10.1.29.255/ I get the following: > > ---------- > <& /Elements/Header, Title=>"Start page", Refresh => > $session{'home_refresh_interval'} &> <& /Elements/Tabs, current_toptab > => '' &> > <& /Elements/CustomHomepageHeader, %ARGS &> <& /Elements/MyTickets &> > <& /Elements/MyRequests &> <& /Elements/Quicksearch &> > <& /Elements/Refresh, Name => 'HomeRefreshInterval', Default => $session > {'home_refresh_interval'} &> > <%init> if ($ARGS{'HomeRefreshInterval'}) { > $session{'home_refresh_interval'} = $ARGS{'HomeRefreshInterval'}; } > ------------ > There is also a button on the right side of the web page. > ------------ > The httpd/error_log shows: > ------------- > [Sun Jan 12 14:49:03 2003] [notice] Apache/1.3.23 (Unix) > (Red-Hat/Linux) mod_ss > l/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured -- > resuming > normal operations > [Sun Jan 12 14:49:03 2003] [notice] suEXEC mechanism enabled (wrapper: > /usr/sbin > /suexec) > [Sun Jan 12 14:49:03 2003] [notice] Accept mutex: sysvsem (Default: > sysvsem) > [Sun Jan 12 15:06:04 2003] [notice] caught SIGTERM, shutting down > [Sun Jan 12 15:06:23 2003] [notice] Apache/1.3.23 (Unix) > (Red-Hat/Linux) mod_ss > l/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured -- > resuming > normal operations > [Sun Jan 12 15:06:23 2003] [notice] suEXEC mechanism enabled (wrapper: > /usr/sbin > /suexec) > [Sun Jan 12 15:06:23 2003] [notice] Accept mutex: sysvsem (Default: > sysvsem) > ------------- > > So it looks like mod_perl is working. I do not know how to what else to > check. > > What is not working? It seems like something required is missing. But I > don't know how to ask the right question to get to the answer. I have > been trying to get RT installed for almost a month without success. I > have gone to a clean install of a know supported distro and followed > everything I could find to the letter. Still no joy. > > I am expected to be able to demo this by Tuesday morning. It is now > Sunday afternoon. Help! > > TIA > Bobby > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > From pdh at snapgear.com Tue Jan 14 18:35:10 2003 From: pdh at snapgear.com (Phil Homewood) Date: Wed, 15 Jan 2003 09:35:10 +1000 Subject: [rt-users] trouble installing RT2 In-Reply-To: <20030114224640.GA16957@anarchy.com> References: <20030114222422.5146.qmail@web13506.mail.yahoo.com> <20030114224640.GA16957@anarchy.com> Message-ID: <20030114233510.GF472@luggage.internal.moreton.com.au> [cc: port maintainer] Vince Hoang wrote: > I think the port tries to download 2.0.15 when it expects 2.0.14. Correct. > Try renaming rt.tar.gz to rt-2-0-14.tar.gz. No, that won't help. The solution is to get the port to download a known version instead of the rt.tar.gz moving target. The port also uses "/usr/local/bin/perl" but doesn't depend on the perl5 port. The system supplied perl is okay for use with RT, so I see no need for this. Try the attached patch. "make" succeeds for me now. I haven't tried a "make install" as I have a perfectly good RT installation on this box that I'd rather not trash. :-) -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances -------------- next part -------------- ? www/rt2/work Index: www/rt2/Makefile =================================================================== RCS file: /cvs/FreeBSD/ports/www/rt2/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- www/rt2/Makefile 22 Dec 2002 04:50:13 -0000 1.1 +++ www/rt2/Makefile 14 Jan 2003 23:32:17 -0000 @@ -6,11 +6,11 @@ # PORTNAME= rt2 -PORTVERSION= 2.0.14 +PORTVERSION= 2.0.15 CATEGORIES= www MASTER_SITES= http://www.fsck.com/pub/rt/release/ -WRKSRC= ${WRKDIR}/rt-2-0-14 -DISTFILES= rt.tar.gz +WRKSRC= ${WRKDIR}/rt-2-0-15 +DISTFILES= rt-2-0-15.tar.gz MAINTAINER= plasmaball at pchome.com.tw Index: www/rt2/distinfo =================================================================== RCS file: /cvs/FreeBSD/ports/www/rt2/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- www/rt2/distinfo 22 Dec 2002 04:50:13 -0000 1.1 +++ www/rt2/distinfo 14 Jan 2003 23:32:17 -0000 @@ -1 +1 @@ -MD5 (rt.tar.gz) = 59179c054c0e05336f9b92fe3b031270 +MD5 (rt-2-0-15.tar.gz) = 7e6762d5091ea5919504eaa754f4612e Index: www/rt2/files/patch-Makefile =================================================================== RCS file: /cvs/FreeBSD/ports/www/rt2/files/patch-Makefile,v retrieving revision 1.1 diff -u -r1.1 patch-Makefile --- www/rt2/files/patch-Makefile 22 Dec 2002 04:50:13 -0000 1.1 +++ www/rt2/files/patch-Makefile 14 Jan 2003 23:32:17 -0000 @@ -1,14 +1,5 @@ --- Makefile Sat Jul 20 10:42:39 2002 +++ Makefile Thu Aug 15 22:17:55 2002 -@@ -2,7 +2,7 @@ - # RT is Copyright 1996-2002 Jesse Vincent - # It is distributed under the terms of the GNU General Public License, version 2 - --PERL = /usr/bin/perl -+PERL = /usr/local/bin/perl - - RT_VERSION_MAJOR = 2 - RT_VERSION_MINOR = 0 @@ -15,7 +15,7 @@ BRANCH = HEAD From diong at faredge.com.au Tue Jan 14 19:00:09 2003 From: diong at faredge.com.au (Dion Gullotta) Date: Wed, 15 Jan 2003 11:00:09 +1100 Subject: [rt-users] Emailing owner on assigning task for request tracker Message-ID: <000c01c2bc29$1224ae30$4e20a8c0@gaugin> Hi all Does anyone know of a Scrip that send's an email to the owner when they get assigned a ticket? Right now our users have to login to RT every 5 mins to check if they have any jobs. It would be easier if they got emailed when the ticket was assigned to them. Does anyone know of a Scrip that does this? Even something that calls another Scrip so I can use the existing email function, for example "On assign owner do.." and then I can tell it to send an email. Any ideas? Thanks Dion Gullotta Far Edge Technology p. 02 99553640 f. 02 99547994 http://www.faredge.com.au From rt at ml.altern8.net Tue Jan 14 18:52:35 2003 From: rt at ml.altern8.net (Vince Hoang) Date: Tue, 14 Jan 2003 15:52:35 -0800 Subject: [rt-users] trouble installing RT2 In-Reply-To: <20030114233510.GF472@luggage.internal.moreton.com.au> References: <20030114222422.5146.qmail@web13506.mail.yahoo.com> <20030114224640.GA16957@anarchy.com> <20030114233510.GF472@luggage.internal.moreton.com.au> Message-ID: <20030114235235.GB16957@anarchy.com> On Wed, Jan 15, 2003 at 09:35:10AM +1000, Phil Homewood wrote: > Vince Hoang wrote: > > > Try renaming rt.tar.gz to rt-2-0-14.tar.gz. > > No, that won't help. The solution is to get the port to > download a known version instead of the rt.tar.gz moving > target. Sorry, I was not clear enough earlier. Renaming rt.tar.gz in both Makefile and distinfo prepares the port for 2.0.14. I do agree, downloading specific version for the port would be an improvement. For better or for worse, I keep /usr/local/bin/perl symlinked to /usr/bin/perl and did not notice the other gotcha. -Vince From pdh at snapgear.com Tue Jan 14 18:58:30 2003 From: pdh at snapgear.com (Phil Homewood) Date: Wed, 15 Jan 2003 09:58:30 +1000 Subject: [rt-users] Emailing owner on assigning task for request tracker In-Reply-To: <000c01c2bc29$1224ae30$4e20a8c0@gaugin> References: <000c01c2bc29$1224ae30$4e20a8c0@gaugin> Message-ID: <20030114235830.GL472@luggage.internal.moreton.com.au> Dion Gullotta wrote: > Does anyone know of a Scrip that send's an email to the owner when they get > assigned a ticket? Right now our users have to login to RT every 5 mins to > check if they have any jobs. It would be easier if they got emailed when the > ticket was assigned to them. > > Does anyone know of a Scrip that does this? Even something that calls > another Scrip so I can use the existing email function, for example "On > assign owner do.." and then I can tell it to send an email. OnOwnerChange NotifyOwner with template ..... http://www.fsck.com/pub/rt/contrib/2.0/OwnerChange/ -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From andrew-rt at andrew.net.au Tue Jan 14 19:27:07 2003 From: andrew-rt at andrew.net.au (Andrew Pollock) Date: Wed, 15 Jan 2003 10:27:07 +1000 Subject: [rt-users] Variables available in templates Message-ID: <20030115002707.GA15598@daedalus.andrew.net.au> Hi, I've had a quick skim of the documentation and the FAQ, but I can't find a list of variables available for use in templates jumping out at me anywhere... Perhaps a good candidate for the FAQ? Andrew From pdh at snapgear.com Tue Jan 14 19:48:06 2003 From: pdh at snapgear.com (Phil Homewood) Date: Wed, 15 Jan 2003 10:48:06 +1000 Subject: [rt-users] Variables available in templates In-Reply-To: <20030115002707.GA15598@daedalus.andrew.net.au> References: <20030115002707.GA15598@daedalus.andrew.net.au> Message-ID: <20030115004806.GM472@luggage.internal.moreton.com.au> Well well, fancy seeing you here. :-) Andrew Pollock wrote: > I've had a quick skim of the documentation and the FAQ, but I can't find a > list of variables available for use in templates jumping out at me > anywhere... There's not. :-( > Perhaps a good candidate for the FAQ? Now it's been asked three times, I guess so. ;) The following is now at http://fsck.com/rtfm/article.html?id=228#228 but if anyone can improve on it, feel free :-) .... Bearing in mind that most things can be referenced starting at $Ticket (the ticket object itself) $Transaction (the object for THIS transaction) and that these are RT::Ticket and RT::Transaction objects with associated pod and man pages, it's usually pretty simple to find a method that returns what you want. You also have access to the variables in the RT:: scope, for example: $RT::WebURL. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From will at willardjwilliams.com Wed Jan 15 00:15:54 2003 From: will at willardjwilliams.com (W. J. Williams) Date: Tue, 14 Jan 2003 21:15:54 -0800 (PST) Subject: [rt-users] trouble installing RT2 In-Reply-To: <20030114233510.GF472@luggage.internal.moreton.com.au> Message-ID: <20030115051554.4005.qmail@web13504.mail.yahoo.com> Thanks for the info from Vince and Phil, how do I apply this patch? I tried copying to rt2 directory and then running it with sh...sure I am doing something wrong as it did not work. You're really helping a newbie out here. Regards, Will --- Phil Homewood wrote: > [cc: port maintainer] > > Vince Hoang wrote: > > I think the port tries to download 2.0.15 when it expects 2.0.14. > > Correct. > > > Try renaming rt.tar.gz to rt-2-0-14.tar.gz. > > No, that won't help. The solution is to get the port to download > a known version instead of the rt.tar.gz moving target. > > The port also uses "/usr/local/bin/perl" but doesn't depend > on the perl5 port. The system supplied perl is okay for use > with RT, so I see no need for this. > > Try the attached patch. "make" succeeds for me now. I haven't > tried a "make install" as I have a perfectly good RT installation > on this box that I'd rather not trash. :-) > -- > Phil Homewood, Systems Janitor, www.SnapGear.com > pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 > SnapGear - Custom Embedded Solutions and Security Appliances > > ? www/rt2/work > Index: www/rt2/Makefile > =================================================================== > RCS file: /cvs/FreeBSD/ports/www/rt2/Makefile,v > retrieving revision 1.1 > diff -u -r1.1 Makefile > --- www/rt2/Makefile 22 Dec 2002 04:50:13 -0000 1.1 > +++ www/rt2/Makefile 14 Jan 2003 23:32:17 -0000 > @@ -6,11 +6,11 @@ > # > > PORTNAME= rt2 > -PORTVERSION= 2.0.14 > +PORTVERSION= 2.0.15 > CATEGORIES= www > MASTER_SITES= http://www.fsck.com/pub/rt/release/ > -WRKSRC= ${WRKDIR}/rt-2-0-14 > -DISTFILES= rt.tar.gz > +WRKSRC= ${WRKDIR}/rt-2-0-15 > +DISTFILES= rt-2-0-15.tar.gz > > MAINTAINER= plasmaball at pchome.com.tw > > Index: www/rt2/distinfo > =================================================================== > RCS file: /cvs/FreeBSD/ports/www/rt2/distinfo,v > retrieving revision 1.1 > diff -u -r1.1 distinfo > --- www/rt2/distinfo 22 Dec 2002 04:50:13 -0000 1.1 > +++ www/rt2/distinfo 14 Jan 2003 23:32:17 -0000 > @@ -1 +1 @@ > -MD5 (rt.tar.gz) = 59179c054c0e05336f9b92fe3b031270 > +MD5 (rt-2-0-15.tar.gz) = 7e6762d5091ea5919504eaa754f4612e > Index: www/rt2/files/patch-Makefile > =================================================================== > RCS file: /cvs/FreeBSD/ports/www/rt2/files/patch-Makefile,v > retrieving revision 1.1 > diff -u -r1.1 patch-Makefile > --- www/rt2/files/patch-Makefile 22 Dec 2002 04:50:13 -0000 1.1 > +++ www/rt2/files/patch-Makefile 14 Jan 2003 23:32:17 -0000 > @@ -1,14 +1,5 @@ > --- Makefile Sat Jul 20 10:42:39 2002 > +++ Makefile Thu Aug 15 22:17:55 2002 > -@@ -2,7 +2,7 @@ > - # RT is Copyright 1996-2002 Jesse Vincent > - # It is distributed under the terms of the GNU General Public License, > version 2 > - > --PERL = /usr/bin/perl > -+PERL = /usr/local/bin/perl > - > - RT_VERSION_MAJOR = 2 > - RT_VERSION_MINOR = 0 > @@ -15,7 +15,7 @@ > BRANCH = HEAD > > ===== Will Williams mobile: +49(0) 178-806-7966 From pdh at snapgear.com Wed Jan 15 01:15:45 2003 From: pdh at snapgear.com (Phil Homewood) Date: Wed, 15 Jan 2003 16:15:45 +1000 Subject: [rt-users] trouble installing RT2 In-Reply-To: <20030115051554.4005.qmail@web13504.mail.yahoo.com> References: <20030114233510.GF472@luggage.internal.moreton.com.au> <20030115051554.4005.qmail@web13504.mail.yahoo.com> Message-ID: <20030115061545.GI472@luggage.internal.moreton.com.au> W. J. Williams wrote: > Thanks for the info from Vince and Phil, how do I apply this patch? I > tried copying to rt2 directory and then running it with sh...sure I am > doing something wrong as it did not work. You're really helping a newbie > out here. cd /usr/ports/www/rt2 patch < /path/to/rt2-port-patch make install -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From autrijus at autrijus.org Wed Jan 15 01:30:27 2003 From: autrijus at autrijus.org (Autrijus Tang) Date: Wed, 15 Jan 2003 14:30:27 +0800 Subject: [rt-users] trouble installing RT2 In-Reply-To: <20030114233510.GF472@luggage.internal.moreton.com.au> References: <20030115002858.GS12365@pallas.fsck.com> Message-ID: <20030115063027.GA44574@not.autrijus.org> On Tue, Jan 14, 2003 at 07:28:58PM -0500, Jesse Vincent wrote: > No, that won't help. The solution is to get the port to download > a known version instead of the rt.tar.gz moving target. > > The port also uses "/usr/local/bin/perl" but doesn't depend > on the perl5 port. The system supplied perl is okay for use > with RT, so I see no need for this. > > Try the attached patch. "make" succeeds for me now. I haven't > tried a "make install" as I have a perfectly good RT installation > on this box that I'd rather not trash. :-) Plasmabal is made aware of this problem; your patch has been applied to our depot (http://p4.elixus.org/snap/rt-ports.tar.gz which also contains rt3 and mod_perl2 ports); we'll get keichii to commit it soon. Thanks, /Autrijus/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From TalkLists at index-s.de Wed Jan 15 07:11:04 2003 From: TalkLists at index-s.de (Stefan Seiz) Date: Wed, 15 Jan 2003 13:11:04 +0100 Subject: [rt-users] Problems Searching for Tickets after update to 2.0.15 from 2.0.11 Message-ID: Hi, running 2.0.15 on MacOS X Server 10.1.4 i have problems with Searching for Tickets using the Webinterface. Searching for Tickets with status "Dead" does never return any results, allthough i verified, that i have dead tickets in the rt-database. Searching for subjects also doesn't return tickets with status "dead". Is this intentional? If it is, why is status "dead" even included in the popup on the search form? Thanks Stefan -- Stefan Seiz Spamto: From TalkLists at index-s.de Wed Jan 15 07:27:07 2003 From: TalkLists at index-s.de (Stefan Seiz) Date: Wed, 15 Jan 2003 13:27:07 +0100 Subject: [rt-users] Reporting on Time Spent Message-ID: Trying to avoid reinvention of the wheel: Did anyone ever develop any script to get a report on "Time Spent"? I'm looking for possibilities to generate a Report on Time Spent summarized per OWNER and Queue. We setup an own Queue for all of our clients and would like to get an overview on time spent on tickets summarized by Owner and Queue for specific timeframes for billing purposes. Thanks -- Stefan Seiz Spamto: From bruce_campbell at ripe.net Wed Jan 15 08:12:08 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Wed, 15 Jan 2003 14:12:08 +0100 (CET) Subject: [rt-users] Problems Searching for Tickets after update to 2.0.15 from 2.0.11 In-Reply-To: Message-ID: On Wed, 15 Jan 2003, Stefan Seiz wrote: > Searching for Tickets with status "Dead" does never return any results, > allthough i verified, that i have dead tickets in the rt-database. > > Searching for subjects also doesn't return tickets with status "dead". > > Is this intentional? Yes. Please refer to http://www.fsck.com/rtfm/article.html?id=229 and also this list's archives. > If it is, why is status "dead" even included in the > popup on the search form? Good question. I'd imagine its because its listing the possible status variables. Regards, -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From laurent.vaills at dms.at Wed Jan 15 08:16:46 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 15 Jan 2003 14:16:46 +0100 Subject: [rt-users] Seeing the queues we are watching. Message-ID: <1042636607.31660.7.camel@neo.sophia.dms.at> Hi all. How can I see all the queues than I am set to watcher ? Laurent From hakimsoso at yahoo.com Wed Jan 15 08:37:42 2003 From: hakimsoso at yahoo.com (kh es) Date: Wed, 15 Jan 2003 05:37:42 -0800 (PST) Subject: [rt-users] Modify ticket Message-ID: <20030115133742.46330.qmail@web14709.mail.yahoo.com> Hi Is ModifyTicket right needed to let users own Ticket ? --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From hakimsoso at yahoo.com Wed Jan 15 08:51:01 2003 From: hakimsoso at yahoo.com (kh es) Date: Wed, 15 Jan 2003 05:51:01 -0800 (PST) Subject: [rt-users] Time Message-ID: <20030115135101.95493.qmail@web14707.mail.yahoo.com> Hi how can I change the time which apper in the tickets to be the same as the time in the Linux machine? --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From hakimsoso at yahoo.com Wed Jan 15 08:57:37 2003 From: hakimsoso at yahoo.com (kh es) Date: Wed, 15 Jan 2003 05:57:37 -0800 (PST) Subject: [rt-users] Ticket creation Message-ID: <20030115135737.50291.qmail@web14709.mail.yahoo.com> Hi How can I let some fields which is repeated in Tickets to be added auto whe I create Ticket so I don't need to add them manually each time on creation of tickets ? --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From TalkLists at index-s.de Wed Jan 15 09:43:38 2003 From: TalkLists at index-s.de (Stefan Seiz) Date: Wed, 15 Jan 2003 15:43:38 +0100 Subject: [rt-users] Problems Searching for Tickets after update to 2.0.15 from 2.0.11 In-Reply-To: Message-ID: On 15.01.2003 14:12 Uhr, Bruce Campbell wrote: > Yes. Please refer to http://www.fsck.com/rtfm/article.html?id=229 and > also this list's archives. Thanks! I feel dumb now. i had browsed RTFM but didn't notice it has a search function too. Searching for "dead" would have answered my question ;-) > >> If it is, why is status "dead" even included in the >> popup on the search form? > > Good question. I'd imagine its because its listing the possible status > variables. Guess there's only one function doing the propagation of the status popups, and as they're used all over the place - incl. places where you need status "dead", it's included in the search screen. If someone has too much time, this could be changed as it is misleading somehow. Otherwise not a big deal. -- Stefan Seiz Spamto: From js138 at eng.cam.ac.uk Wed Jan 15 09:51:05 2003 From: js138 at eng.cam.ac.uk (J. Sloan) Date: Wed, 15 Jan 2003 14:51:05 +0000 (GMT) Subject: [rt-users] Object instatiation query. Message-ID: For complex reasons involving trying to Do The Right Thing when a message comes back into RT with a tag in the subject line but Cced to another RT Queue address, I'm attempting to build a custom version of rt-mailgate. However I'm running into some curious oddities. For one, I'm trying to determine the name of the queue associated with the tag with $Ticket->QueueObj->Name(). Sometimes this works (with exactly the same tag and input message) and sometimes it doesn't. Or more accurately it doesn't work for long stretches (returning undef) and then starts working, making me suspect that something is causing the values to become cached somewhere - is there some lazy evaluation going on? Similarly $Ticket->QueueObj->AdminCcAsString(). Anyone with any insight? I'm not too hot on object inheritance, so picking through the code is proving to be slow going which I could happily avoid if you do have some to share. Thanks. John From bpinksto at centenary.edu Wed Jan 15 10:10:16 2003 From: bpinksto at centenary.edu (Brad Pinkston) Date: Wed, 15 Jan 2003 09:10:16 -0600 Subject: [rt-users] Assign Tab & New Tickets Window Message-ID: <03c901c2bca8$367a0850$8d5ac4cc@gents.centenary.edu> I have added to our system. If anyone is interested in these mods just email me. They're simple, but helped us a lot. 1) I replaced the "Tickets I Requested..." window on the home screen with a window that shows all the tickets with status new. If a ticket comes in that we know will be assigned to us before it gets assigned we can grab it. Also we can help other users when they get busy and can't get to their tickets. 2) I also added a new tab next to People and Links on the ticket page that looks like the people assignment tab, but just assigns owner. It makes it easier and more straight forward for a supervisor to assign a ticket. These are simple mod, but I thought someone just starting out might appreciate them. Brad Pinkston Centenary College of LA Firewall/Network Administrator IT Department (318) 869-5003 bpinksto at centenary.edu From plasmaball at pchome.com.tw Wed Jan 15 11:05:18 2003 From: plasmaball at pchome.com.tw (plasma) Date: Thu, 16 Jan 2003 00:05:18 +0800 Subject: [rt-users] trouble installing RT2 In-Reply-To: <20030114233510.GF472@luggage.internal.moreton.com.au> References: <20030114222422.5146.qmail@web13506.mail.yahoo.com> <20030114224640.GA16957@anarchy.com> <20030114233510.GF472@luggage.internal.moreton.com.au> Message-ID: <20030115160518.GA16003@plasmanb.plasma.idv.tw> On Wed, Jan 15, 2003 at 09:35:10AM +1000, Phil Homewood wrote: > > I think the port tries to download 2.0.15 when it expects 2.0.14. > Correct. This port was made when I was new to RT2. Refering to rt.tar.gz is my stupid mistake. > Try the attached patch. "make" succeeds for me now. I haven't > tried a "make install" as I have a perfectly good RT installation > on this box that I'd rather not trash. :-) sent-pr. Thanks, Phil. :) plasma ========================================================== ?]???e?A???B??3?D33 http://edm-prg.epaper.com.tw/click.php?ad_code=1200 ========================================================== PC home Online ?????a?x?G?|?????@?A?x?W???j???J?f???? ========================================================== From Florian.Haid at AdNovum.CH Wed Jan 15 13:15:36 2003 From: Florian.Haid at AdNovum.CH (Florian Haid) Date: Wed, 15 Jan 2003 19:15:36 +0100 Subject: [rt-users] Setup error on Solaris Message-ID: <3E25A548.6010007@adnovum.ch> Hi Today, i've tried to install RT2 (Version 2.1.59) on a Solaris 8 Box. On this machine is Perl 5.8.0, mod_perl 1.99.8 with Apache 2.0.4.3 installed. The Apache-Config for RT2 looks like: Alias /rt /home/flori/projects/requesttracker/rt PerlRequire /home/flori/projects/requesttracker/rt/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason The apache-server runs fine, after disabling the syslog features for RT2. *BUT* if I try to access http://myserver.xy/rt/ , i recive a 404... And in the error_log from the webserver are 2 new lines: [Wed Jan 15 18:31:00 2003] [error] [client 192.168.6.34] Attempt to serve directory: /home/flori/projects/requesttracker/rt/ [Wed Jan 15 18:31:01 2003] [notice] Apache/2.0.43 (Unix) mod_perl/1.99_08 Perl/v5.8.0 PHP/4.2.3 configured -- resuming normal operations And I cant figure out why i get this error....any ideas ? Thanks in advance - Florian From jxh at jxh.com Wed Jan 15 17:23:52 2003 From: jxh at jxh.com (Jim Hickstein) Date: Wed, 15 Jan 2003 14:23:52 -0800 Subject: [rt-users] import-1.0-to-2.0 stuck Message-ID: <52360000.1042669432@jxh.mirapoint.com> I'm trying to upgrade RT 1.0.6 (!) RT to 2.0.15, on a Debian GNU/Linux host. Installed RT2 OK so far, even to the point of logging in as root. Now I've doing "perl ./import-1.0-to-2.0" in the rt1/etc directory: perl ./import-1.0-to-2.0 Use of uninitialized value in concatenation (.) or string at /usr/local/rt2/lib//RT/Handle.pm line 25. Use of uninitialized value in concatenation (.) or string at /usr/local/rt2/lib//RT/Handle.pm line 25. Can't locate object method "new" via package "RT::Handle" at /usr/local/rt2/lib//RT.pm line 26. That double slash looks slightly odd, but not obviously wrong. Any ideas? From fstanley at netburner.com Wed Jan 15 18:28:28 2003 From: fstanley at netburner.com (Forrest Stanley) Date: Wed, 15 Jan 2003 15:28:28 -0800 Subject: [rt-users] Modify ticket In-Reply-To: <20030115133742.46330.qmail@web14709.mail.yahoo.com> Message-ID: <5.1.0.14.2.20030115152746.00bb46b0@mail.netburner.com> At 05:37 AM 1/15/2003 -0800, kh es wrote: >Hi > >Is ModifyTicket right needed to let users own Ticket ? Hi No, OwnTicket right is required to Own Ticket > >Do you Yahoo!? >Yahoo! Mail >Plus - Powerful. Affordable. >Sign up now From hakimsoso at yahoo.com Thu Jan 16 01:13:15 2003 From: hakimsoso at yahoo.com (kh es) Date: Wed, 15 Jan 2003 22:13:15 -0800 (PST) Subject: [rt-users] Modify ticket In-Reply-To: <5.1.0.14.2.20030115152746.00bb46b0@mail.netburner.com> Message-ID: <20030116061315.68577.qmail@web14704.mail.yahoo.com> Forrest Stanley wrote:At 05:37 AM 1/15/2003 -0800, kh es wrote: >Hi > >Is ModifyTicket right needed to let users own Ticket ? Hi No, OwnTicket right is required to Own Ticket But I tried to give the user OwnTicket right without Modifyticket right, but he get permission denied ? > >Do you Yahoo!? >Yahoo! Mail >Plus - Powerful. Affordable. >Sign up now _______________________________________________ rt-users mailing list rt-users at lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From news-misc at ada.dhs.org Thu Jan 16 01:18:37 2003 From: news-misc at ada.dhs.org (acli@ada.dhs.org via news-to-mail gateway) Date: Thu, 16 Jan 2003 06:18:37 GMT Subject: [rt-users] How to specify multiple cc's at ticket creation? Message-ID: Hi, I am wondering, what is the "correct" way to specify multiple cc's (or multiple requestors, or multiple AdminCC's) at ticket creation time? I tried to use spaces to separate email addresses, but RT assumed that the whole thing is one email address, (Perhaps I could have specified normal user names) so using spaces is not the right way. I also tried to use commas to separate email addresses. RT recognized one email address as an existing user, but failed to recognize another email address in the list also as an existing user. I ended up having to delete the "email address" and re-add the corresponding user (with the exact same email address) in the People page. The RT manual is quite terse about how to create tickets. So it does not seem to be too much of a help. My RT is 2.0.15; any advice is much appreciated. Thanks in advance. Best regards, -- Ambrose Li From hakimsoso at yahoo.com Thu Jan 16 01:23:51 2003 From: hakimsoso at yahoo.com (kh es) Date: Wed, 15 Jan 2003 22:23:51 -0800 (PST) Subject: [rt-users] Parenting Message-ID: <20030116062351.38325.qmail@web14701.mail.yahoo.com> Hi How parents & children works under RT ? --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -------------- next part -------------- An HTML attachment was scrubbed... URL: From will at willardjwilliams.com Thu Jan 16 01:41:18 2003 From: will at willardjwilliams.com (Will Williams) Date: Thu, 16 Jan 2003 07:41:18 +0100 Subject: [rt-users] trouble installing RT2 (continued) In-Reply-To: <20030115061545.GI472@luggage.internal.moreton.com.au> References: <20030115051554.4005.qmail@web13504.mail.yahoo.com> <20030114233510.GF472@luggage.internal.moreton.com.au> <20030115051554.4005.qmail@web13504.mail.yahoo.com> Message-ID: <5.2.0.9.0.20030116063601.00a11c10@pop.mail.yahoo.com> I am almost there. I copied the patch to rt2 directory. and ran the commands below as you indicated. I get the error "Hmm... I can't seem to find a patch in there anywhere" I then tried renaming the patch "patch-* as suggested in the FreeBSD Porter's Handbook...still no dice. Then created a separate directory containing nothing but the various named versions of the patch; this didn't work either. Am I forgetting something? Regards, Will At 04:15 PM 1/15/03 +1000, Phil Homewood wrote: >W. J. Williams wrote: > > Thanks for the info from Vince and Phil, how do I apply this patch? I > > tried copying to rt2 directory and then running it with sh...sure I am > > doing something wrong as it did not work. You're really helping a newbie > > out here. > >cd /usr/ports/www/rt2 >patch < /path/to/rt2-port-patch >make install > >-- >Phil Homewood, Systems Janitor, www.SnapGear.com >pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 >SnapGear - Custom Embedded Solutions and Security Appliances >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm From kamara at eahd.or.ug Thu Jan 16 03:04:42 2003 From: kamara at eahd.or.ug (Kamara Eric R-M) Date: Thu, 16 Jan 2003 11:04:42 +0300 (EAT) Subject: [rt-users] Setup error on Solaris In-Reply-To: <3E25A548.6010007@adnovum.ch> References: <3E25A548.6010007@adnovum.ch> Message-ID: <20030116110346.M2200-100000@nemesis.eahd.or.ug> Hi Florian, try http://myserver.xy/rt/index.html and it might work. Regards, Eric On Wed, 15 Jan 2003, Florian Haid wrote: > Hi > > Today, i've tried to install RT2 (Version 2.1.59) on a Solaris 8 > Box. On this machine is Perl 5.8.0, mod_perl 1.99.8 > with Apache 2.0.4.3 installed. The Apache-Config for RT2 looks > like: > > Alias /rt /home/flori/projects/requesttracker/rt > PerlRequire /home/flori/projects/requesttracker/rt/bin/webmux.pl > > > SetHandler perl-script > PerlHandler RT::Mason > > > The apache-server runs fine, after disabling the syslog features > for RT2. > *BUT* if I try to access http://myserver.xy/rt/ , i recive a 404... > And in the error_log from the webserver are 2 new lines: > > [Wed Jan 15 18:31:00 2003] [error] [client 192.168.6.34] Attempt to > serve directory: /home/flori/projects/requesttracker/rt/ > [Wed Jan 15 18:31:01 2003] [notice] Apache/2.0.43 (Unix) > mod_perl/1.99_08 Perl/v5.8.0 PHP/4.2.3 configured -- resuming normal > operations > > And I cant figure out why i get this error....any ideas ? > > Thanks in advance > - Florian > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > From maximo at empresa.com Thu Jan 16 10:18:46 2003 From: maximo at empresa.com (Rafael Maximo) Date: Thu, 16 Jan 2003 12:18:46 -0300 Subject: [rt-users] NotifyOwner and NotifyOwnerAsComment Message-ID: <5.1.0.14.2.20030116121700.0265bfe0@pop.matrix.com.br> Hi, I'm having i little problem with NotifyOwner and NotifyOwnerAsComment on RT 2.0.15, I created these 2 scrips and it's working in some way but I discovered that when RT receive a new Ticket and click on "Comment" or "Reply" link write the message and set a new Owner, this new owner that i just set don't receive anything but any comment or reply done after this, the owner receives without problems. Why the Owner don't receive in the first time i set it? How can I change that? I also tried to look at the list archives but I didn't find anything. bye. Rafael M?ximo From f.wagner at kht-online.de Thu Jan 16 10:57:12 2003 From: f.wagner at kht-online.de (Wagner Frank) Date: Thu, 16 Jan 2003 16:57:12 +0100 Subject: [rt-users] bin/initacls.mysql: Command not found Message-ID: Hello, i have a really strange problem, can't solve this myself. When i invoke make acls the Makefile always stops like this: heiligekuh:/var/kht/rt-2-0-15 # make acls cp etc/acl.mysql '//opt/rt2/etc/acl.mysql' /usr/bin/perl -p -i -e " s'!!DB_TYPE!!'"mysql"'g;\ s'!!DB_HOST!!'"localhost"'g;\ s'!!DB_RT_PASS!!'"rt_pass"'g;\ s'!!DB_RT_HOST!!'"localhost"'g;\ s'!!DB_RT_USER!!'"rt_user"'g;\ s'!!DB_DATABASE!!'"rt2"'g;" //opt/rt2/etc/acl.mysql bin/initacls.mysql '/usr' 'localhost' '' 'root' '' 'rt2' '//opt/rt2/etc/acl.mysql' make: bin/initacls.mysql: Command not found make: *** [acls] Error 127 heiligekuh:/var/kht/rt-2-0-15 # Thanks for your help, Frank Wagner From f.wagner at kht-online.de Thu Jan 16 11:17:21 2003 From: f.wagner at kht-online.de (Wagner Frank) Date: Thu, 16 Jan 2003 17:17:21 +0100 Subject: [rt-users] (no subject) Message-ID: Altough a make testdeps reports no problems i got this installation error also: heiligekuh:/var/kht/rt-2-0-15 # make insert cp -rp ./tools/insertdata \ //opt/rt2/etc /usr/bin/perl -p -i -e " s'!!RT_ETC_PATH!!'/opt/rt2/etc'g;\ s'!!RT_LIB_PATH!!'/opt/rt2/lib'g;"\ //opt/rt2/etc/insertdata /usr/bin/perl -I//opt/rt2/etc -I//opt/rt2/lib //opt/rt2/etc/insertdata Can't locate Class/ReturnValue.pm in @INC (@INC contains: /opt/rt2/etc /opt/rt2/lib //opt/rt2/etc //opt/rt2/lib /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Record.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Record.pm line 6. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Record/Cachable.pm line 6. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Record/Cachable.pm line 6. Compilation failed in require at /opt/rt2/lib/RT/Record.pm line 25. BEGIN failed--compilation aborted at /opt/rt2/lib/RT/Record.pm line 25. Compilation failed in require at /opt/rt2/lib/RT/User.pm line 30. BEGIN failed--compilation aborted at /opt/rt2/lib/RT/User.pm line 30. Compilation failed in require at //opt/rt2/etc/insertdata line 18. BEGIN failed--compilation aborted at //opt/rt2/etc/insertdata line 18. make: *** [insert] Error 2 Any hints? Frank From f.wagner at kht-online.de Thu Jan 16 11:38:26 2003 From: f.wagner at kht-online.de (Wagner Frank) Date: Thu, 16 Jan 2003 17:38:26 +0100 Subject: AW: [rt-users] bin/initacls.mysql: Command not found Message-ID: > -----Urspr?ngliche Nachricht----- > Von: Odhiambo Washington [mailto:wash at wananchi.com] > Gesendet: Donnerstag, 16. Januar 2003 17:27 > An: Wagner Frank > Betreff: Re: [rt-users] bin/initacls.mysql: Command not found > > > * Wagner Frank [20030116 19:00]: wrote: > > > > > > Hello, > > > > i have a really strange problem, can't solve this myself. > > When i invoke make acls the Makefile always stops like > > this: > > > > heiligekuh:/var/kht/rt-2-0-15 # make acls > > > Why are you invoking `make acls`? Is this in the INSTALL notes? Well, it is the point where the make install stops first. heiligekuh:/var/kht/rt-2-0-15 # make install mkdir -p //opt/rt2/bin mkdir -p //opt/rt2/WebRT/data mkdir -p //opt/rt2/WebRT/sessiondata mkdir -p //opt/rt2/etc mkdir -p //opt/rt2/lib mkdir -p //opt/rt2/WebRT/html mkdir -p //opt/rt2/local/WebRT/html /usr/bin/perl tools/initdb 'mysql' '/usr' 'localhost' '' 'root' 'rt2' create Now creating a database for RT. Enter the mysql password for root: Creating mysql database rt2. cp etc/acl.mysql '//opt/rt2/etc/acl.mysql' /usr/bin/perl -p -i -e " s'!!DB_TYPE!!'"mysql"'g;\ s'!!DB_HOST!!'"localhost"'g;\ s'!!DB_RT_PASS!!'"Mypassword"'g;\ s'!!DB_RT_HOST!!'"localhost"'g;\ s'!!DB_RT_USER!!'"rt_user"'g;\ s'!!DB_DATABASE!!'"rt2"'g;" //opt/rt2/etc/acl.mysql bin/initacls.mysql '/usr' 'localhost' '' 'root' '' 'rt2' '//opt/rt2/etc/acl.mysql' make: bin/initacls.mysql: Command not found make: *** [acls] Error 127 heiligekuh:/var/kht/rt-2-0-15 # Frank From jgedeon at qualcomm.com Thu Jan 16 12:01:45 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Thu, 16 Jan 2003 09:01:45 -0800 Subject: Fwd: Re: [rt-users] Additional field in User details In-Reply-To: <5.1.0.14.2.20030116085956.05e3d950@mail1.qualcomm.com> References: <5.1.0.14.2.20030113155230.058f7e48@mail1.qualcomm.com> Message-ID: <5.1.0.14.2.20030116090120.0308f1d0@mail1.qualcomm.com> Turns out that after I restarted the rt system the call to $self->_Value(dbfield) worked. John >At 03:53 PM 1/13/2003, you wrote: >>Can anyone offer some help as to how this is done? >> >>>Date: Fri, 10 Jan 2003 10:07:23 -0800 >>> >>>I found that in my function Order I can call $self->__Value(dbfield) and >>>get almost any data. I can show the name email creator user id etc but >>>it returns null for my Order field. If i login in to the database i can >>>see that the field is not null what else do I need to change? >>> >>>Previous changes. >>>John >>> >>>>At 08:56 AM 1/10/2003, you wrote: >>>>>I too have been working at getting this exact thing to work as well. I >>>>>managed to do all the stuff same as Sean and am stuck with a similar >>>>>problem. I cannot seem to figure out how to access the column that is >>>>>in the database. I added a function to User.pm that was called Order >>>>>(thats the name of my field that I wish to add) and have it return a >>>>>default value, that fixes the error from mason that I got, however I >>>>>cant seem to get the data into or out of the db. >>>>> >>>>>Any help is welcomed. >>>>>John >>>>> >>>>>At 04:12 PM 10/2/2002, you wrote: >>>>>>Hiya, >>>>>> >>>>>>I've run into a problem I can't seem to resolve. I would appreciate any >>>>>>help anyone can offer. I'm running RT 2.0.13. >>>>>> >>>>>>I'm looking to add an additional field to the Users table to keep >>>>>>track of >>>>>>the names of the employees that are using that username. It might sound >>>>>>obscure, but it's pretty important to the scheme I'm working with. >>>>>> >>>>>>--- >>>>>> >>>>>>So, I added a row for it in the database like this: >>>>>> >>>>>>mysql> alter table Users add Employees blob; >>>>>>mysql> insert into Users (Employees) VALUES(NULL); >>>>>> >>>>>>--- >>>>>> >>>>>>Next, I opened up User.pm and added a corresponding entry for >>>>>>"Employees": >>>>>>vi /usr/local/rt/lib/RT/User.pm >>>>>> >>>>>> my %Cols = ( >>>>>> # {{{ Core RT info >>>>>> Name => 'public/read/write/admin', >>>>>> Password => 'write', >>>>>> Comments => 'read/write/admin', >>>>>> Employees => 'read/write/admin', >>>>>>--- >>>>>> >>>>>>Next, I added this statement to Admin/Users/Modify.html to display the >>>>>>Employees field. >>>>>> >>>>>> >>>>>> >>>>>>and at the bottom: >>>>>> >>>>>>$Employees=> undef >>>>>> >>>>>> >>>>>>--- >>>>>> >>>>>>But I got the following error on that page: >>>>>> >>>>>>Mason error >>>>>> >>>>>>component stack: /Admin/Users/Modify.html [standard] >>>>>>/autohandler [standard] >>>>>> >>>>>>code >>>>>>stack: >>>>>>/usr/local/rt/WebRT/data/obj/STANDARD/Admin/Users/Modify.html:332 >>>>>>/usr/local/rt/WebRT/data/obj/STANDARD/autohandler:69 >>>>>> >>>>>> >>>>>>misc info: error while executing /Admin/Users/Modify.html [standard]: >>>>>> >>>>>>--- >>>>>> >>>>>>As a side note, I was able to replace the "Employees" with a previously >>>>>>created, but unused value. For instance - I replaced it with Creator >>>>>>(which was a valid field, but isn't usually displayed at all on >>>>>>Modify.html) and it worked fine. >>>>>> >>>>>>By the way, here's autohandler:69 >>>>>> >>>>>>68 else { >>>>>>69 $m->call_next; >>>>>>70 } >>>>>> >>>>>> >>>>>>--- >>>>>> >>>>>>I would appreciate any help on this issue. It has me greatly befuddled. >>>>>> >>>>>>Thanks. >>>>>>Sean Byron >>>>>> >>>>>>_______________________________________________ >>>>>>rt-users mailing list >>>>>>rt-users at lists.fsck.com >>>>>>http://lists.fsck.com/mailman/listinfo/rt-users >>>>>> >>>>>>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm >>>>> >>>>> >>>>>-- >>>>><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not >>>>>on your own understanding;" >>>>> >>>>>_______________________________________________ >>>>>rt-users mailing list >>>>>rt-users at lists.fsck.com >>>>>http://lists.fsck.com/mailman/listinfo/rt-users >>>>> >>>>>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm >>>> >>>> >>>>-- >>>><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >>>>your own understanding;" >>> >>> >>>-- >>><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >>>your own understanding;" >>> >>>_______________________________________________ >>>rt-users mailing list >>>rt-users at lists.fsck.com >>>http://lists.fsck.com/mailman/listinfo/rt-users >>> >>>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm >> >> >>-- >><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >>your own understanding;" >> >>_______________________________________________ >>rt-users mailing list >>rt-users at lists.fsck.com >>http://lists.fsck.com/mailman/listinfo/rt-users >> >>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > > >-- ><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >your own understanding;" > -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From gary.stainburn at ringways.co.uk Thu Jan 16 12:07:24 2003 From: gary.stainburn at ringways.co.uk (Gary Stainburn) Date: Thu, 16 Jan 2003 17:07:24 +0000 Subject: [rt-users] Server upgrade Message-ID: <200301161707.24058.gary.stainburn@ringways.co.uk> Hi folks, I'm going to upgrade the server that my RT installation is sat on from RH7.2 to 7.3, which will include upgrading Postgresql from 7.1.3 to 7.2.3 and therefore a dump/restore of the databases. Also, I imagine Apache will be upgraded. Are there any problems/pitfalls I should be aware of? -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 From bradh at bigpond.net.au Thu Jan 16 12:33:12 2003 From: bradh at bigpond.net.au (Brad Horrocks) Date: Fri, 17 Jan 2003 03:33:12 +1000 Subject: [rt-users] Server upgrade In-Reply-To: <200301161707.24058.gary.stainburn@ringways.co.uk> Message-ID: Gary, If you apply all updates as per RedHat you will end up upgrading 'mason' to the latest version. Unfortunately it doesn't work !!! You'll get "[error] Global symbol "$m" requires explicit package name at /opt/rt2/bin/webmux.pl line 94." when you try to start the web server See http://fsck.com/pub/rt/contrib/2.0/WebRT%2520Manual%2520-%2520Installation.d oc re the above message. Regards Brad (Once bitten) > -----Original Message----- > From: rt-users-admin at lists.fsck.com > [mailto:rt-users-admin at lists.fsck.com]On Behalf Of Gary Stainburn > Sent: Friday, 17 January 2003 3:07 AM > To: rt-users at lists.fsck.com > Subject: [rt-users] Server upgrade > > > Hi folks, > > I'm going to upgrade the server that my RT installation is sat on > from RH7.2 > to 7.3, which will include upgrading Postgresql from 7.1.3 to 7.2.3 and > therefore a dump/restore of the databases. Also, I imagine > Apache will be > upgraded. > > Are there any problems/pitfalls I should be aware of? > -- > Gary Stainburn > > This email does not contain private or confidential material as it > may be snooped on by interested government parties for unknown > and undisclosed purposes - Regulation of Investigatory Powers > Act, 2000 > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > From map at eecs.berkeley.edu Thu Jan 16 13:07:50 2003 From: map at eecs.berkeley.edu (Mike Patterson) Date: Thu, 16 Jan 2003 10:07:50 -0800 Subject: [rt-users] grant rights to an existing "ghost" user References: <20021004104002.16730.46347.Mailman@pallas.eruditorum.org> Message-ID: <3E26F4F6.2030906@eecs.berkeley.edu> Somehow I ended up with a email/user that I can't grant rights to. I think I somehow ended up with this "ghost" user when I tried to use this email as an adminCC before actually creating the user. When I search for the email/user using WebRT http://myorg.org/rt2/Admin/Users/ this user doesn't show up, including searching for disabled users (other users show up fine). When I try to create the user e.g. "help-staff at myorg.org" rt says: "User could not be created: Email address in use". How do I fix this? something through webRT? commandline? or manually adding/deleting info from a mysql table? Thanks for the tips - Mike From khera at kcilink.com Thu Jan 16 13:36:47 2003 From: khera at kcilink.com (Vivek Khera) Date: Thu, 16 Jan 2003 13:36:47 -0500 Subject: [rt-users] Server upgrade In-Reply-To: <200301161707.24058.gary.stainburn@ringways.co.uk> References: <200301161707.24058.gary.stainburn@ringways.co.uk> Message-ID: <15910.64447.112842.483406@onceler.kciLink.com> >>>>> "GS" == Gary Stainburn writes: GS> I'm going to upgrade the server that my RT installation is sat on GS> from RH7.2 to 7.3, which will include upgrading Postgresql from GS> 7.1.3 to 7.2.3 and therefore a dump/restore of the databases. GS> Also, I imagine Apache will be upgraded. If your perl is upgraded, be sure to rebuild and/or upgrade to a corresponding mod_perl. Also make sure none of the perl libraries installed for RT are downgraded. The "cpan" program that comes with perl can handle this nicely with it's "r" command. Postgres 7.2.3 should work fine. I did an upgrade from 7.1.x to 7.2.1 a while back and the standard pg_dump, pg_restore sequence was flawless. Don't go to Postgres 7.3 since RT will die horribly with it (RT is not SQL standards compliant in some places that PG 7.3 insists it to be). From map at eecs.berkeley.edu Thu Jan 16 15:08:48 2003 From: map at eecs.berkeley.edu (Mike Patterson) Date: Thu, 16 Jan 2003 12:08:48 -0800 Subject: [rt-users] Re: grant rights to an existing "ghost" user References: <20021004104002.16730.46347.Mailman@pallas.eruditorum.org> <3E26F4F6.2030906@eecs.berkeley.edu> Message-ID: <3E271150.9090506@eecs.berkeley.edu> Problem solved: I had to email rt, using the "ghost" users email address help-staff at ... Somehow this made it allow me to update the user and grant rights. I'm curious about the relationships of the mysql tables involved though.. From pdh at snapgear.com Thu Jan 16 18:42:09 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 17 Jan 2003 09:42:09 +1000 Subject: [rt-users] Server upgrade In-Reply-To: References: <200301161707.24058.gary.stainburn@ringways.co.uk> Message-ID: <20030116234209.GC469@luggage.apana.org.au> Brad Horrocks wrote: > If you apply all updates as per RedHat you will end up upgrading 'mason' to > the latest version. > Unfortunately it doesn't work !!! > "[error] Global symbol "$m" requires explicit package name at > /opt/rt2/bin/webmux.pl line 94." > when you try to start the web server Mason 1.16 works fine with RT 2.0.14-15. I'm not sure which Mason version RH7.3 comes with, but if you make sure RT is at 2.0.15 first you have a pretty good chance of survival. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From dupuy at sysd.com Thu Jan 16 18:44:47 2003 From: dupuy at sysd.com (Alexander Dupuy) Date: Thu, 16 Jan 2003 18:44:47 -0500 Subject: [rt-users] the sanctitity of the comment confessional is not absolute Message-ID: <3E2743EF.4010106@sysd.com> Had the following Scrip: OnComment NotifyAllWatchersAsComment with template AdminComment However, requestors are considered "watchers", so comment was sent to an external requestor. Where's the prevent-user-from-shooting-own-foot-safety? @alex -- mailto:dupuy at sysd.com From pdh at snapgear.com Thu Jan 16 19:18:16 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 17 Jan 2003 10:18:16 +1000 Subject: [rt-users] bin/initacls.mysql: Command not found In-Reply-To: References: Message-ID: <20030117001816.GI469@luggage.apana.org.au> Wagner Frank wrote: > bin/initacls.mysql '/usr' 'localhost' '' 'root' '' 'rt2' > '//opt/rt2/etc/acl.mysql' > make: bin/initacls.mysql: Command not found > make: *** [acls] Error 127 Is bin/initacls.mysql executable? Does the first line of bin/initacls.mysql point to a valid Bourne shell on your machine? What happens when you run the following commands by hand? ls -l bin/initacls.mysql bin/initacls.mysql /usr localhost '' root '' rt2 //opt/rt2/etc/acl.mysql ./bin/initacls.mysql /usr localhost '' root '' rt2 //opt/rt2/etc/acl.mysql -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Thu Jan 16 19:22:33 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 17 Jan 2003 10:22:33 +1000 Subject: [rt-users] NotifyOwner and NotifyOwnerAsComment In-Reply-To: <5.1.0.14.2.20030116121700.0265bfe0@pop.matrix.com.br> References: <5.1.0.14.2.20030116121700.0265bfe0@pop.matrix.com.br> Message-ID: <20030117002233.GJ469@luggage.apana.org.au> Rafael Maximo wrote: > I'm having i little problem with NotifyOwner and NotifyOwnerAsComment on RT > 2.0.15, I created these 2 scrips and it's working in some way but I > discovered that when RT receive a new Ticket and click on "Comment" or > "Reply" link write the message and set a new Owner, this new owner that i > just set don't receive anything but any comment or reply done after this, > the owner receives without problems. Why the Owner don't receive in the > first time i set it? How can I change that? The comment transaction is processed before the Owner is changed. There's possibly a way to force this to happen in the opposite order, but I haven't looked at that part of the code. You could work around this by installing OnOwnerChange from the contrib area, and doing an OnOwnerChange NotifyOwner. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Thu Jan 16 19:26:45 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 17 Jan 2003 10:26:45 +1000 Subject: [rt-users] the sanctitity of the comment confessional is not absolute In-Reply-To: <3E2743EF.4010106@sysd.com> References: <3E2743EF.4010106@sysd.com> Message-ID: <20030117002645.GL469@luggage.apana.org.au> Alexander Dupuy wrote: > OnComment NotifyAllWatchersAsComment with template AdminComment That's not usually advisable, but... > However, requestors are considered "watchers", so comment was sent to an > external requestor. > > Where's the prevent-user-from-shooting-own-foot-safety? ... there may well be cases when it is required, and trying to prevent it would break that usage. Not everybody uses comments as not-for-requestor-eyes. That's the power of RT - it can be used in all kinds of creative ways. Besides, the logic to prevent one from doing that would be quite hairy, I'd imagine. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From gm at efn.org Thu Jan 16 19:34:37 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Thu, 16 Jan 2003 16:34:37 -0800 (PST) Subject: [rt-users] Example of HasMember? and NewWindow stuff Message-ID: In request to a user wanting opening new windows (or new tabs, thanks to Multizilla on Mozilla), I implemented a simple tweak to TicketCell. I found the existing NewWindowOption stuff useless and poorly documented (I finally found the pref setting in Admin/Users/Prefs, but no links to that, unless I manually went to that page), and it didn't seem to work on a per user basis (see below) removing: if ($session{NewWindowOption}) { $link .= "TARGET=\"TicketDisplay".$session{AlwaysNewWindowOption} && (time() . rand(1024))."\" "; } Which didn't work anyway... and caused problems. I put: if ($session{NewWindowOption}) { $link .= "\" TARGET=\"_blank\""; } Which did work fine. Initially, I had it without the NewWindowOption condition, so that it worked for everyone, but i got complaints that some people disliked the opening in a new window behavior. What some wanted (and if someone can code either of these, please do) was "Ok, but close the window when we resolve the ticket" or "Don't open new windows, but do return to Home when we resolve a ticket." I tried use the NewWindowOption stuff, but it doesn't seem to work beyond a session... or else I just didn't understand how it works. What I want: Pseudocode: if (Current User is a member of NewWindow group) { $link .= "\" TARGET=\"_blank\""; } And I see RT:Group has a HasMember function but no idea how to form such a code fragment to do that. Googling in the archive didn't find it either, nor did reading the code. Help? -- ## Seth Cohn, General Manager of Eugene Free Community Network gm at efn.org ## Businesses planned for service are apt to succeed; Phone 541-484-9637 ## Businesses planned for profit are apt to fail. - N. Butler From maximo at empresa.com Thu Jan 16 20:05:14 2003 From: maximo at empresa.com (Rafael Maximo) Date: Thu, 16 Jan 2003 22:05:14 -0300 Subject: [rt-users] NotifyOwner and NotifyOwnerAsComment In-Reply-To: <20030117002233.GJ469@luggage.apana.org.au> References: <5.1.0.14.2.20030116121700.0265bfe0@pop.matrix.com.br> <5.1.0.14.2.20030116121700.0265bfe0@pop.matrix.com.br> Message-ID: <5.1.0.14.2.20030116215739.027f9848@empresa.net> At 09:22 PM 16/1/2003, you wrote: >Rafael Maximo wrote: > > I'm having i little problem with NotifyOwner and NotifyOwnerAsComment > on RT > > 2.0.15, I created these 2 scrips and it's working in some way but I > > discovered that when RT receive a new Ticket and click on "Comment" or > > "Reply" link write the message and set a new Owner, this new owner that i > > just set don't receive anything but any comment or reply done after this, > > the owner receives without problems. Why the Owner don't receive in the > > first time i set it? How can I change that? > >The comment transaction is processed before the Owner is changed. >There's possibly a way to force this to happen in the opposite >order, but I haven't looked at that part of the code. > >You could work around this by installing OnOwnerChange from the >contrib area, and doing an OnOwnerChange NotifyOwner. It worked but not in the way a wanted. I want the new owner to receive the comment or the reply. Let me explain what happen here, The RT receives the new ticket and then a read and click on comment, write the comment and set the owner responsible to answer that ticket, but a want the new owner to receive the comment in his e-mail. With your suggestion the owner is being notified but he doesn't receive the comment. Is there any way to do that? >-- >Phil Homewood, Systems Janitor, www.SnapGear.com >pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 >SnapGear - Custom Embedded Solutions and Security Appliances >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm Rafael M?ximo From cgal at gmi-mr.com Thu Jan 16 20:23:23 2003 From: cgal at gmi-mr.com (Cristian D. GAL) Date: Fri, 17 Jan 2003 01:23:23 +0000 (GMT) Subject: [rt-users] newbie question (RT + FastCGI) Message-ID: Hello, I have a RH7.3 server runnimg RT and I need to activate fastcgi. The apache config is preety much default (see below), rt 2.0.15. I tried to configure FastCGI as in RT's instructions and at apache startup I can see: [Thu Jan 16 23:22:03 2003] [notice] FastCGI: process manager initialized (pid 28413) [Thu Jan 16 23:22:03 2003] [warn] FastCGI: server "/usr/local/rt2/bin/mason_handler.fcgi" started (pid 28416) but I get errors when activating this line: ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/ [Thu Jan 16 23:22:03 2003] [warn] [Mason] Cannot resolve file to component: /usr/local/rt2/bin/mason_handler.fcgi (is file outside component root?) Any ideas, is this a known issue, is there something else I should have done, cause I really think I did everything by the book. Thanks a lot, Chris -- APACHE CONF -- LoadModule perl_module modules/libperl.so LoadModule fastcgi_module modules/mod_fastcgi.so AddModule mod_perl.c AddModule mod_fastcgi.c NameVirtualHost 12.10.10.12 DocumentRoot /usr/local/rt2/WebRT/html ServerName rt.mydomain.net PerlModule Apache::DBI # PerlFreshRestart On AddHandler fastcgi-script fcgi FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi Alias /NoAuth/images/ /usr/local/rt2/WebRT/html/NoAuth/images/ ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/ PerlRequire /usr/local/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason #PerlRequire /usr/local/rt2/bin/webmux.pl # # SetHandler perl-script # PerlHandler RT::Mason # From gm at efn.org Thu Jan 16 21:51:54 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Thu, 16 Jan 2003 18:51:54 -0800 (PST) Subject: [rt-users] NotifyOwner and NotifyOwnerAsComment In-Reply-To: <5.1.0.14.2.20030116215739.027f9848@empresa.net> Message-ID: On Thu, 16 Jan 2003, Rafael Maximo wrote: > >You could work around this by installing OnOwnerChange from the > >contrib area, and doing an OnOwnerChange NotifyOwner. > > It worked but not in the way a wanted. I want the new owner to receive the > comment or the reply. Let me explain what happen here, The RT receives the > new ticket and then a read and click on comment, write the comment and set > the owner responsible to answer that ticket, but a want the new owner to > receive the comment in his e-mail. With your suggestion the owner is being > notified but he doesn't receive the comment. You want to modify the template to send the old comment, not just the current transaction. (ie {$Transaction->Content()} ) See below for one example template... this doesn't show actions, such as who reassigned to who, if someone wants to modify it, please share the improved code with me (and all of us). Subject: Ticket Reassigned: {$Ticket->Subject} Greetings, this ticket is now yours. ---------------------------------------------------------------- --- The initial request was ----------------------------------- ---------------------------------------------------------------- {$Ticket->Transactions->First->Content()} ---------------------------------------------------------------- --- Additional activity ---------------------------------------- ---------------------------------------------------------------- { my $this_transaction; my $complete_message = ""; my $Transactions = $Ticket->Transactions; $Transactions->OrderBy; $Transactions->GotoFirstItem; while (my $Transaction = $Transactions->Next) { if (!$Transactions->IsLast) { $this_transaction = undef; } if ($this_transaction) { my $attachments = $this_transaction->Attachments; $attachments->GotoFirstItem; while (my $message = $attachments->Next) { next unless $message->ContentType =~ m!^(text/plain|message|text$)!i; my $content = $message->Content; next unless length $content; my $subject = ($message->Subject || $Ticket->Subject); my $wrapper = Text::Wrapper->new(columns=>70); $content = $wrapper->wrap($content); $complete_message .= "Subject: "; $complete_message .= $subject; $complete_message .= "\n"; $complete_message .= "From: "; $complete_message .= $message->CreatorObj->RealName; $complete_message .= "\n"; $complete_message .= "Time: "; $complete_message .= $message->CreatedObj->AsString; $complete_message .= "\n"; $complete_message .= "\n"; $complete_message .= "$content\n"; $complete_message .= "--------------------------\n"; } } } $complete_message; } From gm at efn.org Thu Jan 16 22:16:23 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Thu, 16 Jan 2003 19:16:23 -0800 (PST) Subject: [rt-users] NotifyOwner and NotifyOwnerAsComment In-Reply-To: Message-ID: On Thu, 16 Jan 2003, Seth Cohn, EFN General Manager wrote: Oops... missed a line in the cut and paste. Sorry about that. Didn't notice it until I'd sent it off. Correction: $Transactions->OrderBy; $Transactions->GotoFirstItem; while (my $Transaction = $Transactions->Next) { $this_transaction = $Transaction; if (!$Transactions->IsLast) { $this_transaction = undef; } Add the missing line as above. Complete template again for those who want to cut and paste: ----------------------------------------------------------- Subject: Ticket Reassigned: {$Ticket->Subject} Greetings, this ticket is now yours. ---------------------------------------------------------------- --- The initial request was ------------------------------------ ---------------------------------------------------------------- {$Ticket->Transactions->First->Content()} ---------------------------------------------------------------- --- Additional activity ---------------------------------------- ---------------------------------------------------------------- { my $this_transaction; my $complete_message = ""; my $Transactions = $Ticket->Transactions; $Transactions->OrderBy; $Transactions->GotoFirstItem; while (my $Transaction = $Transactions->Next) { $this_transaction = $Transaction; if (!$Transactions->IsLast) { $this_transaction = undef; } if ($this_transaction) { my $attachments = $this_transaction->Attachments; $attachments->GotoFirstItem; while (my $message = $attachments->Next) { next unless $message->ContentType =~ m!^(text/plain|message|text$)!i; my $content = $message->Content; next unless length $content; my $subject = ($message->Subject || $Ticket->Subject); my $wrapper = Text::Wrapper->new(columns=>70); $content = $wrapper->wrap($content); $complete_message .= "Subject: "; $complete_message .= $subject; $complete_message .= "\n"; $complete_message .= "From: "; $complete_message .= $message->CreatorObj->RealName; $complete_message .= "\n"; $complete_message .= "Time: "; $complete_message .= $message->CreatedObj->AsString; $complete_message .= "\n"; $complete_message .= "\n"; $complete_message .= "$content\n"; $complete_message .= "--------------------------\n"; } } } $complete_message; } From gm at efn.org Thu Jan 16 23:26:08 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Thu, 16 Jan 2003 20:26:08 -0800 (PST) Subject: Contrib: GiveHistory template Re: [rt-users] NotifyOwner and NotifyOwnerAsComment In-Reply-To: Message-ID: One MORE correction. Bleh. I'd modified this template and halfway tested it, but didn't notice that I'd goofed. The original version of this template was for resolved tickets, and was sent to the end user, so it stripped out everything but correspondence. This version was for sending to the new owner, so I wanted comments sent. But I messed up the if/elsif lines, and never noticed that. Please excuse my error(s). Use the following, which works, which I've tested fully now. I'd love to see the code that would process the non-message transactions properly, if anyone does take the time to write that. ------------------------- Subject: Ticket Reassigned: {$Ticket->Subject} Greetings, this ticket is now yours. Queue: {$Ticket->QueueObj->Name} Requestors: {$Ticket->Requestors->EmailsAsString()} Status: {$Ticket->Status} Ticket id} > ---------------------------------------------------------------- --- The initial request was ------------------------------------ ---------------------------------------------------------------- {$Ticket->Transactions->First->Content()} ---------------------------------------------------------------- --- Additional activity ---------------------------------------- ---------------------------------------------------------------- { my $this_transaction; my $complete_message = ""; my $Transactions = $Ticket->Transactions; $Transactions->OrderBy; $Transactions->GotoFirstItem; while (my $Transaction = $Transactions->Next) { $this_transaction = $Transaction; if ($this_transaction) { my $attachments = $this_transaction->Attachments; $attachments->GotoFirstItem; while (my $message = $attachments->Next) { next unless $message->ContentType =~ m!^(text/plain|message|text$)!i; my $content = $message->Content; next unless length $content; my $subject = ($message->Subject || $Ticket->Subject); my $wrapper = Text::Wrapper->new(columns=>70); $content = $wrapper->wrap($content); $complete_message .= "Subject: "; $complete_message .= $subject; $complete_message .= "\n"; $complete_message .= "From: "; $complete_message .= $message->CreatorObj->RealName; $complete_message .= "\n"; $complete_message .= "Time: "; $complete_message .= $message->CreatedObj->AsString; $complete_message .= "\n"; $complete_message .= "\n"; $complete_message .= "$content\n"; $complete_message .= "--------------------------\n"; } } } $complete_message; } From pdh at snapgear.com Thu Jan 16 23:31:02 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 17 Jan 2003 14:31:02 +1000 Subject: [rt-users] (no subject) In-Reply-To: References: Message-ID: <20030117043102.GM451@luggage.internal.moreton.com.au> Wagner Frank wrote: > Can't locate Class/ReturnValue.pm in @INC (@INC contains: /opt/rt2/etc > /opt/rt2/lib //opt/rt2/etc //opt/rt2/lib I'm not sure what broke to get you into this state, but perl -MCPAN -e 'install Class::ReturnValue' should fix it... -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Thu Jan 16 23:34:38 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 17 Jan 2003 14:34:38 +1000 Subject: [rt-users] (no subject) In-Reply-To: <20030117043102.GM451@luggage.internal.moreton.com.au> References: <20030117043102.GM451@luggage.internal.moreton.com.au> Message-ID: <20030117043438.GA1305@luggage.internal.moreton.com.au> Phil Homewood wrote: > I'm not sure what broke to get you into this state, but > perl -MCPAN -e 'install Class::ReturnValue' > should fix it... Actually, that may not be the best fix. What version of DBIx::SearchBuilder do you have? -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Thu Jan 16 23:36:13 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 17 Jan 2003 14:36:13 +1000 Subject: [rt-users] newbie question (RT + FastCGI) In-Reply-To: References: Message-ID: <20030117043613.GN451@luggage.internal.moreton.com.au> Cristian D. GAL wrote: > but I get errors when activating this line: > > ScriptAlias / /usr/local/rt2/bin/mason_handler.fcgi/ > > [Thu Jan 16 23:22:03 2003] [warn] [Mason] Cannot resolve file to > component: /usr/local/rt2/bin/mason_handler.fcgi > (is file outside component root?) What is $MasonComponentRoot set to in your config.pm? -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From andrew-rt at andrew.net.au Thu Jan 16 23:44:47 2003 From: andrew-rt at andrew.net.au (Andrew Pollock) Date: Fri, 17 Jan 2003 14:44:47 +1000 Subject: [rt-users] Multi-tier RT Message-ID: <20030117044447.GA24006@daedalus.andrew.net.au> Hi, I'm investigating the possibilities of splitting out bits of RT onto different hosts, for security purposes. I figure it's trivial to run the database on a separate host to the Web UI/mailgate, but is it possible to run the mailgate on a separate host to the UI? My impression of the way attachments are handled by the mailgate is they get split out onto the local filesystem, so the UI would need to be on the same host (or you'd need to remotely mount part of the mailgate host's filesystem onto the UI host (which I don't want to do)). So in terms of multi-tiering, is separating the database from the UI/mailgate about the end of it? Andrew From pdh at snapgear.com Thu Jan 16 23:56:31 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 17 Jan 2003 14:56:31 +1000 Subject: [rt-users] Multi-tier RT In-Reply-To: <20030117044447.GA24006@daedalus.andrew.net.au> References: <20030117044447.GA24006@daedalus.andrew.net.au> Message-ID: <20030117045631.GO451@luggage.internal.moreton.com.au> Andrew Pollock wrote: > I figure it's trivial to run the database on a separate host to the Web > UI/mailgate, but is it possible to run the mailgate on a separate host to > the UI? It should be... > My impression of the way attachments are handled by the mailgate is they > get split out onto the local filesystem, so the UI would need to be on the > same host (or you'd need to remotely mount part of the mailgate host's > filesystem onto the UI host (which I don't want to do)). The attachments are all thrown into the DB, no filesystem access should be required (but, I haven't done it, so I could be wrong.) (In 1.0 days, attachments were stored on the filesystem instead of in the DB, but this is not the case in 2.x.) In 3.x, the mailgate merely does a post-to-web-form, so it can reside pretty much anywhere. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Fri Jan 17 00:28:52 2003 From: pdh at snapgear.com (Phil Homewood) Date: Fri, 17 Jan 2003 15:28:52 +1000 Subject: [rt-users] Modify ticket In-Reply-To: <20030116061315.68577.qmail@web14704.mail.yahoo.com> References: <5.1.0.14.2.20030115152746.00bb46b0@mail.netburner.com> <20030116061315.68577.qmail@web14704.mail.yahoo.com> Message-ID: <20030117052852.GP451@luggage.internal.moreton.com.au> kh es wrote: > But I tried to give the user OwnTicket right without Modifyticket right, > but he get permission denied ? OwnTicket gives him the right to own a ticket, in the sense that the ticket may be owned by him. It does not give him the permission to modify the ownership of the ticket -- for that, he does require ModifyTicket (I believe.) Cryptic enough? :-) -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From plasmaball at pchome.com.tw Fri Jan 17 01:31:15 2003 From: plasmaball at pchome.com.tw (plasma) Date: Fri, 17 Jan 2003 14:31:15 +0800 Subject: [rt-users] 'Out of memory' error message Message-ID: <20030117063115.GA84931@plasmanb.plasma.idv.tw> Hi all, My platform is Freebsd 4.7-release. I upgraded mysql to 3.23.54 a couple of weeks ago, then session data seems broken. Several other modules were upgraded together, so I'm not sure what cause this problem. After logging in RT, it's ok to see, modify, and create tickets. But if I click a queue link to see what tickets are in it, the error message 'Out of memory' will appear in Apache's log. After this, RT is unable to serve any further requests. I traced the code, and seems this is not RT's fault. The only way to resolve is use files to store session data. In share/html/Elements/SetupSessionCookie, change the line: my $session_class = $backends{$RT::DatabaseType} || 'Apache::Session::File'; into my $session_class = 'Apache::Session::File'; So far, I don't encounter any problem. plasma ========================================================== ?????S???H?????n?L?~ http://edm-prg.epaper.com.tw/click.php?ad_code=1203 ========================================================== PC home Online ?????a?x?G?|?????@?A?x?W???j???J?f???? ========================================================== From andrew-rt at andrew.net.au Fri Jan 17 05:43:44 2003 From: andrew-rt at andrew.net.au (Andrew Pollock) Date: Fri, 17 Jan 2003 20:43:44 +1000 Subject: [rt-users] Multi-tier RT In-Reply-To: <20030117045631.GO451@luggage.internal.moreton.com.au> References: <20030117044447.GA24006@daedalus.andrew.net.au> <20030117045631.GO451@luggage.internal.moreton.com.au> Message-ID: <20030117104344.GA2234@daedalus.andrew.net.au> On Fri, Jan 17, 2003 at 02:56:31PM +1000, Phil Homewood wrote: > > The attachments are all thrown into the DB, no filesystem access > should be required (but, I haven't done it, so I could be wrong.) > > (In 1.0 days, attachments were stored on the filesystem instead of > in the DB, but this is not the case in 2.x.) > > In 3.x, the mailgate merely does a post-to-web-form, so it can reside > pretty much anywhere. I didn't see any evidence that the attachments were in the database with 2.0.14 on PostgreSQL, but I'll toddle off and reinspect the schema. Andrew From maximo at empresa.com Fri Jan 17 06:22:24 2003 From: maximo at empresa.com (Rafael Maximo) Date: Fri, 17 Jan 2003 08:22:24 -0300 Subject: Contrib: GiveHistory template Re: [rt-users] NotifyOwner and NotifyOwnerAsComment In-Reply-To: References: Message-ID: <5.1.0.14.2.20030117082023.022a8dc8@empresa.net> Thank you a lot, it worked just great, exactly what I wanted. Thanks for your help. bye. At 01:26 AM 17/1/2003, you wrote: >One MORE correction. Bleh. > >I'd modified this template and halfway tested it, but didn't notice that >I'd goofed. The original version of this template was for resolved >tickets, and was sent to the end user, so it stripped out everything but >correspondence. This version was for sending to the new owner, so I wanted >comments sent. But I messed up the if/elsif lines, and never noticed >that. Please excuse my error(s). > >Use the following, which works, which I've tested fully now. >I'd love to see the code that would process the non-message transactions >properly, if anyone does take the time to write that. > >------------------------- >Subject: Ticket Reassigned: {$Ticket->Subject} > >Greetings, this ticket is now yours. > > Queue: {$Ticket->QueueObj->Name} > Requestors: {$Ticket->Requestors->EmailsAsString()} > Status: {$Ticket->Status} > Ticket id} > > >---------------------------------------------------------------- >--- The initial request was ------------------------------------ >---------------------------------------------------------------- > >{$Ticket->Transactions->First->Content()} > >---------------------------------------------------------------- >--- Additional activity ---------------------------------------- >---------------------------------------------------------------- > >{ > my $this_transaction; > my $complete_message = ""; > my $Transactions = $Ticket->Transactions; > $Transactions->OrderBy; > $Transactions->GotoFirstItem; > while (my $Transaction = $Transactions->Next) { > $this_transaction = $Transaction; > if ($this_transaction) { > > my $attachments = $this_transaction->Attachments; > $attachments->GotoFirstItem; > > while (my $message = $attachments->Next) { > next unless $message->ContentType =~ >m!^(text/plain|message|text$)!i; > > my $content = $message->Content; > next unless length $content; > > my $subject = ($message->Subject || $Ticket->Subject); > > my $wrapper = Text::Wrapper->new(columns=>70); > $content = $wrapper->wrap($content); > > $complete_message .= "Subject: "; > $complete_message .= $subject; > $complete_message .= "\n"; > > $complete_message .= "From: "; > $complete_message .= $message->CreatorObj->RealName; > $complete_message .= "\n"; > > $complete_message .= "Time: "; > $complete_message .= $message->CreatedObj->AsString; > $complete_message .= "\n"; > > $complete_message .= "\n"; > $complete_message .= "$content\n"; > $complete_message .= "--------------------------\n"; > > } > } > } > > $complete_message; > >} > > > > > >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm Rafael M?ximo From f.wagner at kht-online.de Fri Jan 17 07:13:58 2003 From: f.wagner at kht-online.de (Wagner Frank) Date: Fri, 17 Jan 2003 13:13:58 +0100 Subject: [rt-users] installation error: initacls.mysql: Command not found Message-ID: Would be great i someone could give me a hint, where to look for this installation error. ---------------------------------------------------------------------------- ---- heiligekuh:/var/kht/rt-2-0-15 # make install mkdir -p //opt/rt2/bin mkdir -p //opt/rt2/WebRT/data mkdir -p //opt/rt2/WebRT/sessiondata mkdir -p //opt/rt2/etc mkdir -p //opt/rt2/lib mkdir -p //opt/rt2/WebRT/html mkdir -p //opt/rt2/local/WebRT/html /usr/bin/perl tools/initdb 'mysql' '/usr' 'localhost' '' 'root' 'rt2' create Now creating a database for RT. Enter the mysql password for root: Creating mysql database rt2. cp etc/acl.mysql '//opt/rt2/etc/acl.mysql' /usr/bin/perl -p -i -e " s'!!DB_TYPE!!'"mysql"'g;\ s'!!DB_HOST!!'"localhost"'g;\ s'!!DB_RT_PASS!!'"Mypassword"'g;\ s'!!DB_RT_HOST!!'"localhost"'g;\ s'!!DB_RT_USER!!'"rt_user"'g;\ s'!!DB_DATABASE!!'"rt2"'g;" //opt/rt2/etc/acl.mysql bin/initacls.mysql '/usr' 'localhost' '' 'root' '' 'rt2' '//opt/rt2/etc/acl.mysql' make: bin/initacls.mysql: Command not found make: *** [acls] Error 127 heiligekuh:/var/kht/rt-2-0-15 # ---------------------------------------------------------------------------- ---- From rt-users at lists.netways.de Fri Jan 17 07:50:16 2003 From: rt-users at lists.netways.de (rt-users) Date: Fri, 17 Jan 2003 13:50:16 +0100 Subject: Contrib: GiveHistory template Re: [rt-users] NotifyOwner and NotifyOwnerAsComment Message-ID: <3626546DC152134382A0A029C29365C606B745@net-mail.int.netways.de> Hi, >I'd love to see the code that would process the non-message >transactions properly, if anyone does take the time to write that. I am not 100% sure, what you ment, but this is what I use. You can change the next unless line: --- start here --- Subject: TicketEscalation {my $transactions = $Ticket->Transactions; $transactions->OrderBy(FIELD => 'Created', ORDER => 'DESC'); while (my $trans = $transactions->Next) { next unless ($trans->Type =~ /^(Create|Correspond|Escalation$)/); $OUT .= $trans->CreatedObj->AsString . ": " . $trans->Description; if ($trans->TimeTaken) {$OUT .= " (".$trans->TimeTaken." min)";} $OUT .= "\n"; if ($trans->Content) {$OUT .= $trans->Content . "\n";} $OUT .= "----------------------------------------------------------------------- ------\n"; } 1; } --- stop here --- cu, Julian From diablo at iasi.roedu.net Fri Jan 17 08:30:43 2003 From: diablo at iasi.roedu.net (SUBREDU Manuel) Date: Fri, 17 Jan 2003 15:30:43 +0200 (EET) Subject: [rt-users] trouble logging into web interface Message-ID: Hy, I have some strange problem with rt. Yesterday I've set up rt and was working fine. All was ok, users, tickets etc. After the instalation, I have created my own users, changed the password for root, and create some test tickets to see how it's working. Today, I've created some real tickets using the mail interface and then I tryied to login in using the web interface to check them out. Surprize ! No user can log in into rt webui . None. Not event root. I've set the password again using rtadmin cli and tryied again. Nothing. The mailinterface is working well (I've created some tickets to see if it works) but the webui is dead. Nothing in the apache error_log, nothing in the rt.log. Just "your username or passsword is incorect". Could you help me ? From seph at commerceflow.com Fri Jan 17 09:26:02 2003 From: seph at commerceflow.com (seph) Date: Fri, 17 Jan 2003 06:26:02 -0800 Subject: [rt-users] How to specify multiple cc's at ticket creation? In-Reply-To: ("acli@ada.dhs.org via news-to-mail gateway"'s message of "Thu, 16 Jan 2003 06:18:37 GMT") References: Message-ID: > I am wondering, what is the "correct" way to specify multiple cc's > (or multiple requestors, or multiple AdminCC's) at ticket creation > time? > > I tried to use spaces to separate email addresses, but RT assumed > that the whole thing is one email address, (Perhaps I could have > specified normal user names) so using spaces is not the right way. Use commas. The standard email address separator. seph From bruce_campbell at ripe.net Fri Jan 17 09:29:22 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Fri, 17 Jan 2003 15:29:22 +0100 (CET) Subject: [rt-users] Multi-tier RT In-Reply-To: <20030117104344.GA2234@daedalus.andrew.net.au> Message-ID: On Fri, 17 Jan 2003, A BIT of an Andrew Pollock wrote something about splitting RT: > On Fri, Jan 17, 2003 at 02:56:31PM +1000, Phil Homewood wrote: > > > > The attachments are all thrown into the DB, no filesystem access > > should be required (but, I haven't done it, so I could be wrong.) > > I didn't see any evidence that the attachments were in the database with > 2.0.14 on PostgreSQL, but I'll toddle off and reinspect the schema. In our setup, we have 4 distinct machines, and a plethora of desktops that are able to directly access the SQL servers. The maintainance of this is eased by having our install directory, /home/rt2, NFS shared across the machines. /----------\ | mailserver |-----\ \----------/ \ \ /----------\ \ /-----------\ | webserver |----------> MySQL access -----| MySQL-grunt | \----------/ \ / \-----------/ \--/-\ | /----------\ / \ /-----------\ | desktops |-->--*----- Intended Query ---| Backup Serv | \----------/ Only Access \-----------/ I haven't gotten around to the 'Intended Query Only Access' functionality, but one day, one day. The connection between the MySQL grunt machine and the Backup Serv(er) is standard MySQL replication. Regards, -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From harrison at palisadesys.com Fri Jan 17 11:20:36 2003 From: harrison at palisadesys.com (James L. Harrison) Date: Fri, 17 Jan 2003 10:20:36 -0600 Subject: [rt-users] Knowledge Base Message-ID: Hi All, I was looking at the StockAnswers add-on, and don't think that it will fit my requirements for an end user knowledge base. I use RT as a tracking system to support our end users, but I would like to integrate a knowledge base/FAQ with RT. Has anyone seen/done anything like this. Any ideas for other Web based packages that can support this? They don't necessarily have to plug into RT. Thanks, Jamie --- James L. Harrison harrison at palisadesys.com Technical Support Engineer Palisade Systems 515.296.0701 From wash at wananchi.biz Fri Jan 17 11:20:37 2003 From: wash at wananchi.biz (Odhiambo Washington) Date: Fri, 17 Jan 2003 19:20:37 +0300 Subject: [rt-users] 'Out of memory' error message In-Reply-To: <20030117063115.GA84931@plasmanb.plasma.idv.tw> References: <20030117063115.GA84931@plasmanb.plasma.idv.tw> Message-ID: <20030117162037.GB88510@ns2.wananchi.com> * plasma [20030117 09:35]: wrote: > Hi all, > > My platform is Freebsd 4.7-release. > > I upgraded mysql to 3.23.54 a couple of weeks ago, then session data > seems broken. Several other modules were upgraded together, so I'm > not sure what cause this problem. > > After logging in RT, it's ok to see, modify, and create tickets. But > if I click a queue link to see what tickets are in it, the error > message 'Out of memory' will appear in Apache's log. After this, RT > is unable to serve any further requests. > > I traced the code, and seems this is not RT's fault. The only way to > resolve is use files to store session data. In > share/html/Elements/SetupSessionCookie, change the line: > > my $session_class = $backends{$RT::DatabaseType} || > 'Apache::Session::File'; > > into > > my $session_class = 'Apache::Session::File'; > > So far, I don't encounter any problem. I upgraded my MySQL to 3.23.54 (from 3.23.51) three days ago. It did onstall some modules also because I installed from the ports. But I have not seen any misbehaviour so far with rt-2.0.15. cheers - wash +----------------------------------+-----------------------------------------+ Odhiambo Washington, wash at wananchi.com . WANANCHI ONLINE LTD (Nairobi, KE) | http://ns2.wananchi.com/~wash/ . 1ere Etage, Loita Hse, Loita St., | GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI | +---------------------------------+------------------------------------------+ "Oh My God! They killed init! You Bastards!" --from a /. post From tagreen at mhsnetworks.net Fri Jan 17 11:38:12 2003 From: tagreen at mhsnetworks.net (Todd A. Green) Date: 17 Jan 2003 10:38:12 -0600 Subject: [rt-users] Knowledge Base In-Reply-To: References: Message-ID: <1042821492.24747.99.camel@desktop> FAQ-o-Matic is a nice web administered FAQ system. On Fri, 2003-01-17 at 10:20, James L. Harrison wrote: > Hi All, > > I was looking at the StockAnswers add-on, and don't think that it will fit > my requirements for an end user knowledge base. I use RT as a tracking > system to support our end users, but I would like to integrate a knowledge > base/FAQ with RT. > > Has anyone seen/done anything like this. Any ideas for other Web based > packages that can support this? They don't necessarily have to plug into > RT. > > Thanks, > Jamie > --- > James L. Harrison > harrison at palisadesys.com > Technical Support Engineer > Palisade Systems > 515.296.0701 > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- Todd A. Green Managed Hosting Soutions, Inc. From a.c.li at ieee.org Fri Jan 17 12:15:30 2003 From: a.c.li at ieee.org (Ambrose Li) Date: Fri, 17 Jan 2003 12:15:30 -0500 Subject: [rt-users] How to specify multiple cc's at ticket creation? In-Reply-To: ; from seph@commerceflow.com on Fri, Jan 17, 2003 at 06:26:02AM -0800 References: Message-ID: <20030117121530.B27767@ada.dhs.org> Hi, On Fri, Jan 17, 2003 at 06:26:02AM -0800, seph wrote: > > I am wondering, what is the "correct" way to specify > > multiple cc's (or multiple requestors, or multiple > > AdminCC's) at ticket creation time? > > > > I tried to use spaces to separate email addresses, but RT > > assumed that the whole thing is one email address, (Perhaps > > I could have specified normal user names) so using spaces is > > not the right way. > > Use commas. The standard email address separator. When I use commas, RT seems to be able to recognize only one user. (The rest are just "email address"es even if they are also existing users.) Would this be a bug, or is there something I was still doing wrong? Thanks, -- Ambrose Li From bruce_campbell at ripe.net Fri Jan 17 12:33:35 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Fri, 17 Jan 2003 18:33:35 +0100 (CET) Subject: [rt-users] Knowledge Base In-Reply-To: <1042821492.24747.99.camel@desktop> Message-ID: On 17 Jan 2003, Todd A. Green wrote: > FAQ-o-Matic is a nice web administered FAQ system. If you like all and sundry being able to edit your FAQ, yes indeedy. However, if you're after something with a bit more oomph behind it, such as cross-linking, searches, a decent ACL system and integration with RT, hang around until next week, when a beta version of the next RT/FM will be released. For a demonstration of its current incarnation, see http://www.fsck.com/rtfm/ . ( Currently the holdup on the release is the main funder being a 'tad' busy on other software, but I should have those installation bugs cleared by monday ) -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security > On Fri, 2003-01-17 at 10:20, James L. Harrison wrote: > > Hi All, > > > > I was looking at the StockAnswers add-on, and don't think that it will fit > > my requirements for an end user knowledge base. I use RT as a tracking > > system to support our end users, but I would like to integrate a knowledge > > base/FAQ with RT. From mark at summersault.com Fri Jan 17 12:37:36 2003 From: mark at summersault.com (Mark Stosberg) Date: Fri, 17 Jan 2003 12:37:36 -0500 (EST) Subject: [rt-users] recommended setup for public access Message-ID: Hello, After evaluating several ticket tracking systems, I've decided that RT seems to be the best candidate to handling the ticket tracking systems for a city (40,000 people) ticket tracking system I'm working on. I've got RT installed and have been reading through the docs, FAQ, and old mailing list posts. I'm still hung up on this question: What's the recommended way to set up a "general public" interface, allowing people to create tickets in the system? I tried creating a user named "public" with a link like this: http://website.com/rt/SelfService/Create.html?user=public;pass=public However, the "Queue" field remains empty and it's a required field, so the form doesn't work. (This could be considered a bug in the software-- If the form requires a queue but there are no possible options when the form is being built, then there is no reason to display the form). Examples or recommendations for implementing public web and e-mail interfaces would be appreciated. Thanks! Mark http://mark.stosberg.com/ From a.c.li at ieee.org Fri Jan 17 13:03:02 2003 From: a.c.li at ieee.org (Ambrose Li) Date: Fri, 17 Jan 2003 13:03:02 -0500 Subject: [rt-users] Difference between Cc and AdminCc (or, Cc is not getting mail) Message-ID: <20030117130302.A18039@ada.dhs.org> Hi, I wonder what exactly is the difference between Cc's and AdminCc's in terms of getting mail. I have the following global scrips : [ ] OnCreate AutoreplyToRequestors with template Autoreply [ ] OnCorrespond NotifyAllWatchers with template Correspondence [ ] OnComment NotifyAdminCcsAsComment with template AdminComment [ ] OnComment NotifyOtherRecipientsAsComment with template Correspondence [ ] OnCorrespond NotifyOtherRecipients with template Correspondence [ ] OnCreate NotifyAllWatchers with template Transaction I thought that this means that when I make a comment, Cc's would get mail, but the Cc's are not getting mail. Nothing relevant is in the RT log. Is the scrip settings above wrong if I want Cc's to get mail on comment? (or have I misunderstood the functionality of "comment"?) Thanks very much in advance, -- Ambrose Li From tagreen at mhsnetworks.net Fri Jan 17 13:13:57 2003 From: tagreen at mhsnetworks.net (Todd A. Green) Date: 17 Jan 2003 12:13:57 -0600 Subject: [rt-users] Knowledge Base In-Reply-To: References: Message-ID: <1042827236.22594.107.camel@desktop> On Fri, 2003-01-17 at 11:33, Bruce Campbell wrote: > On 17 Jan 2003, Todd A. Green wrote: > > > FAQ-o-Matic is a nice web administered FAQ system. > > If you like all and sundry being able to edit your FAQ, yes indeedy. > While I'm glad to hear that a FAQ management system fully integrated with RT is almost ready, you are glossing over the fact that FAQ-O-Matic does actually have editor/admin authentication. > However, if you're after something with a bit more oomph behind it, such > as cross-linking, searches, a decent ACL system and integration with RT, > hang around until next week, when a beta version of the next RT/FM will be > released. > > For a demonstration of its current incarnation, see > http://www.fsck.com/rtfm/ . > > ( Currently the holdup on the release is the main funder being a 'tad' > busy on other software, but I should have those installation bugs > cleared by monday ) From tagreen at mhsnetworks.net Fri Jan 17 13:16:43 2003 From: tagreen at mhsnetworks.net (Todd A. Green) Date: 17 Jan 2003 12:16:43 -0600 Subject: [rt-users] Knowledge Base In-Reply-To: References: Message-ID: <1042827403.22591.109.camel@desktop> > However, if you're after something with a bit more oomph behind it, such > as cross-linking, searches, a decent ACL system and integration with RT, > hang around until next week, when a beta version of the next RT/FM will be > released. > Oh and I will be checking out your FAQ system as I plan on integrating one with RT as well. :) > For a demonstration of its current incarnation, see > http://www.fsck.com/rtfm/ . > > ( Currently the holdup on the release is the main funder being a 'tad' > busy on other software, but I should have those installation bugs > cleared by monday ) From jgedeon at qualcomm.com Fri Jan 17 13:31:32 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 17 Jan 2003 10:31:32 -0800 Subject: [rt-users] Knowledge Base Message-ID: <5.1.0.14.2.20030117103125.030902f0@mail1.qualcomm.com> Will this faq system be deployed as a sepereate application which will plug into rt or in the next release of rt (thus forcing me to upgrade since I just got rt 2.0.15 to work with our environment?) John At 10:16 AM 1/17/2003, you wrote: > > However, if you're after something with a bit more oomph behind it, such > > as cross-linking, searches, a decent ACL system and integration with RT, > > hang around until next week, when a beta version of the next RT/FM will be > > released. > > >Oh and I will be checking out your FAQ system as I plan on integrating >one with RT as well. :) > > > For a demonstration of its current incarnation, see > > http://www.fsck.com/rtfm/ . > > > > ( Currently the holdup on the release is the main funder being a 'tad' > > busy on other software, but I should have those installation bugs > > cleared by monday ) > >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From clark at ruminary.org Fri Jan 17 13:38:54 2003 From: clark at ruminary.org (clark shishido) Date: Fri, 17 Jan 2003 10:38:54 -0800 Subject: [rt-users] Knowledge Base In-Reply-To: References: Message-ID: <20030117183854.GA21309@ruminary.org> On Fri, Jan 17, 2003 at 10:20:36AM -0600, James L. Harrison wrote: > > Has anyone seen/done anything like this. Any ideas for other Web based > packages that can support this? They don't necessarily have to plug into > RT. > If you can't wait for the new RT knowledgebase feature, you may want to look at Twiki. It's a bit feature rich for my tastes but maybe it's what you're looking for: http://twiki.org --clark From jesse at bestpractical.com Fri Jan 17 13:40:29 2003 From: jesse at bestpractical.com (Jesse Vincent) Date: Fri, 17 Jan 2003 13:40:29 -0500 Subject: [rt-users] Knowledge Base In-Reply-To: <5.1.0.14.2.20030117103125.030902f0@mail1.qualcomm.com> References: <5.1.0.14.2.20030117103125.030902f0@mail1.qualcomm.com> Message-ID: <20030117184029.GO12365@pallas.fsck.com> On Fri, Jan 17, 2003 at 10:31:32AM -0800, John Gedeon wrote: > Will this faq system be deployed as a sepereate application which will plug > into rt or in the next release of rt RTFM 2.0 is an application built on the RT 3.0 Platform. It uses RT's authentication system, users, groups, acls, web server, database and other infrastructure. It's built to seamlessly integrate itself into RT 3.0's user interface. Jesse -- ?|? http://www.bestpractical.com/rt -- Trouble Ticketing. Free. From les at futuresource.com Fri Jan 17 13:50:49 2003 From: les at futuresource.com (Les Mikesell) Date: Fri, 17 Jan 2003 12:50:49 -0600 Subject: [rt-users] Knowledge Base In-Reply-To: Message-ID: From: Bruce Campbell > However, if you're after something with a bit more oomph behind it, such > as cross-linking, searches, a decent ACL system and integration with RT, > hang around until next week, when a beta version of the next RT/FM will be > released. I've been hoping to make ht/dig combine the RT tickets and several other data sources into one fast web search engine but haven't tried it yet. Is it likely to break anything to let the web spider portion push all the buttons and follow all the links nightly as a read-only user? -- Les Mikesell les at futuresource.com From js138 at eng.cam.ac.uk Fri Jan 17 13:57:06 2003 From: js138 at eng.cam.ac.uk (J. Sloan) Date: Fri, 17 Jan 2003 18:57:06 +0000 (GMT) Subject: [rt-users] trouble logging into web interface In-Reply-To: Message-ID: On Fri, 17 Jan 2003, SUBREDU Manuel wrote: > Hy, > > I have some strange problem with rt. Yesterday I've set up rt and was working > fine. All was ok, users, tickets etc. After the instalation, I have created my > own users, changed the password for root, and create some test tickets to see > how it's working. Today, I've created some real tickets using the mail > interface and then I tryied to login in using the web interface to check them > out. Surprize ! No user can log in into rt webui . None. Not event root. I've > set the password again using rtadmin cli and tryied again. Nothing. The > mailinterface is working well (I've created some tickets to see if it works) > but the webui is dead. Nothing in the apache error_log, nothing in the rt.log. > Just "your username or passsword is incorect". Could you help me ? I've had this happen many times - usually when I've change something subtle in config.pm and restarted. The mod_perl caching seems to be the problem, from other posts to this list. In my case the solution has been to stop httpd, drink a cup of coffee, and then start it again 5 minutes later. This works more often than not, and more, reliably than deleting the data and sessiondata directories. John From rt-users at rickbradley.com Fri Jan 17 14:21:39 2003 From: rt-users at rickbradley.com (Rick Bradley) Date: Fri, 17 Jan 2003 13:21:39 -0600 Subject: [rt-users] trouble logging into web interface In-Reply-To: References: Message-ID: <20030117192139.GA97515@negwo.eastcore.net> * J. Sloan (js138 at eng.cam.ac.uk) [030117 13:02]: > > I have some strange problem with rt. Yesterday I've set up rt and was working > > fine. All was ok, users, tickets etc. After the instalation, I have created my > > own users, changed the password for root, and create some test tickets to see > > how it's working. Today, I've created some real tickets using the mail > > interface and then I tryied to login in using the web interface to check them > > out. Surprize ! No user can log in into rt webui . None. Not event root. > I've had this happen many times - usually when I've change something > subtle in config.pm and restarted. > > The mod_perl caching seems to be the problem, from other posts to this > list. In my case the solution has been to stop httpd, drink a cup of > coffee, and then start it again 5 minutes later. This works more often > than not, and more, reliably than deleting the data and sessiondata > directories. This problem is documented in the mailing list archives and is not related to caching: http://lists.fsck.com/pipermail/rt-users/2002-September/010117.html http://lists.fsck.com/pipermail/rt-users/2002-October/010256.html Rick -- http://www.rickbradley.com MUPRN: 723 | interesting was random email haiku | the first device we hooked | up to the line. From dupuy at sysd.com Fri Jan 17 14:33:17 2003 From: dupuy at sysd.com (Alexander Dupuy) Date: Fri, 17 Jan 2003 14:33:17 -0500 Subject: [rt-users] the sanctitity of the comment confessional is not absolute Message-ID: <3E285A7D.6060800@sysd.com> I wrote: > OnComment NotifyAllWatchersAsComment with template AdminComment > However, requestors are considered "watchers", so comment was sent to > an external requestor. > > Where's the prevent-user-from-shooting-own-foot-safety? Phil Homewood replied: > ... there may well be cases when it is required, and trying to > prevent it would break that usage. Not everybody uses comments as > not-for-requestor-eyes. That's the power of RT - it can be used in > all kinds of creative ways. While it might be true that not everybody uses it that way, the web interface has "Comments (Not sent to requestors)" as one of the selection choices for update type. That certainly creates a strong expectation that it won't do so, even if I set up some ill-advised scrips. If the RT design is that not sending comments to requestors is just a default configuration, and users are free to use comments in a different way, perhaps that selection choice should be changed to "Comments (Not usually sent to requestors)". Otherwise, it would be a good idea to put a "safety" check somewhere to prevent comments from going out to requestors. It also wouldn't hurt to have some mention in RTFM and other RT docs of the fact that the distinction between comment and response is purely one of convention, and can easily be subverted with the right (wrong) scrips. Having removed the NotifyAllWatchersAsComment, and replaced it with NotifyOwnerAsComment and NotifyAdminCcsAsComment, it seems that the only way to send comments to CCs is NotifyRequestorsAndCcsAsComment, so the "power of RT" seems a bit limited here (but as I think CCs are taken from the original mail and may include other people at the customer site, this is probably a good thing). At least with that action you get fair notice that comments will be sent to requestors - perhaps NotifyAllWatchersAsComment could be hacked to not include requestors, and a NotifyRequestorsAndAllWatchersAsComment with the old semantics could be added. @alex From jgedeon at qualcomm.com Fri Jan 17 14:39:00 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 17 Jan 2003 11:39:00 -0800 Subject: [rt-users] RT Possibilites? Message-ID: <5.1.0.14.2.20030117113045.030862d8@mail1.qualcomm.com> I have a request for a queue with the look of rt a little different. Thing is only people using that queue want the change. Is there a way to make different mason files show up for specific queues? Has this been done? Main point is how complex is it to have it done? Thanks John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From khera at kcilink.com Fri Jan 17 14:46:33 2003 From: khera at kcilink.com (Vivek Khera) Date: Fri, 17 Jan 2003 14:46:33 -0500 Subject: [rt-users] Knowledge Base In-Reply-To: References: <1042821492.24747.99.camel@desktop> Message-ID: <15912.23961.580701.90195@onceler.kciLink.com> >>>>> "BC" == Bruce Campbell writes: BC> For a demonstration of its current incarnation, see BC> http://www.fsck.com/rtfm/ . Nifty, and exciting about the updates. Just while checking it out, I noticed that the requirements list postgresql 7.1.1 or higher. That should also say, NOT 7.3.0 or higher until RT is suitable adjusted. Who's got perms to fix it? From khera at kcilink.com Fri Jan 17 14:50:01 2003 From: khera at kcilink.com (Vivek Khera) Date: Fri, 17 Jan 2003 14:50:01 -0500 Subject: [rt-users] recommended setup for public access In-Reply-To: References: Message-ID: <15912.24169.162540.322423@onceler.kciLink.com> >>>>> "MS" == Mark Stosberg writes: MS> old mailing list posts. I'm still hung up on this question: What's the MS> recommended way to set up a "general public" interface, allowing people MS> to create tickets in the system? We just use a standard web based form to collect the necessary information we want, and have the CGI program email a nicely formatted message to the appropriate queue address. From then on, all correspondence with the remote person is via email. They never access RT directly. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera at kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ From Anshuman at expertcity.com Fri Jan 17 15:09:25 2003 From: Anshuman at expertcity.com (Anshuman Kanwar) Date: Fri, 17 Jan 2003 12:09:25 -0800 Subject: [rt-users] time delay in the queue Message-ID: Hi all, I have been playing with RT and am very happy with its feature set. I wish to deploy it in a multiple sysadmin scenario. Here is what I want to do now: If an email/ticket has been in a queue for greater than a specified amount of time and no one takes responsibility for it, then it (or a note about it) gets mailed to a "big boss" email address, i.e. gets escalated. I would be happy to get some hand holding on this. Thanks for your time, -ansh From gm at efn.org Fri Jan 17 15:16:51 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Fri, 17 Jan 2003 12:16:51 -0800 (PST) Subject: [rt-users] recommended setup for public access In-Reply-To: <15912.24169.162540.322423@onceler.kciLink.com> Message-ID: On Fri, 17 Jan 2003, Vivek Khera wrote: > >>>>> "MS" == Mark Stosberg writes: > > MS> old mailing list posts. I'm still hung up on this question: What's the > MS> recommended way to set up a "general public" interface, allowing people > MS> to create tickets in the system? > > We just use a standard web based form to collect the necessary > information we want, and have the CGI program email a nicely formatted > message to the appropriate queue address. That was going to be my suggestion, combined with: Make the web mailform one page, and the "RT main page" saying "Don't already have an account with us? Submit a new ticket here" linked to it... Use the automated password template, so that it gives them a password so they can login using email and password in the future. This means that only first time users will have to use the webform, and gain all of the advantage of the rest of RT (such as looking up status, etc) as unprivledged users. > From then on, all correspondence with the remote person is via email. > They never access RT directly. This misses the advantage of having the web interface handy too. The initial email can always make clear that either email or web can be used. -- ## Seth Cohn, General Manager of Eugene Free Community Network gm at efn.org ## Businesses planned for service are apt to succeed; Phone 541-484-9637 ## Businesses planned for profit are apt to fail. - N. Butler From gm at efn.org Fri Jan 17 15:32:10 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Fri, 17 Jan 2003 12:32:10 -0800 (PST) Subject: [rt-users] time delay in the queue In-Reply-To: Message-ID: On Fri, 17 Jan 2003, Anshuman Kanwar wrote: > Hi all, > > I have been playing with RT and am very happy with its feature set. I wish > to deploy it in a multiple sysadmin scenario. I'm using it in a similar fashion. > If an email/ticket has been in a queue for greater than a specified amount > of time and no one takes responsibility for it, then it (or a note about it) > gets mailed to a "big boss" email address, i.e. gets escalated. > > I would be happy to get some hand holding on this. Ok, without the no one takes responsiblity part, it's pretty easy; use the escalator script, combined with the IfPriorityExceeds scrip. Both live in http://fsck.com/pub/rt/contrib/2.0/rt-addons/ Adding the "no one takes responsibiliity" depends on your setup: Do you mean it's still new, it's still owned by Nobody, or nobody has taken action on it, or what? I suspect a simple change to the IfPriority script or in the template called would do the job though. I'd probably (and will) write a template that will either complain to me and/or to the ticket's owner's that it's still undone. Another way to do this would be to write a script that looks at how old a ticket is, and work from that too... but why not take advantage of the priorities at the same time? That way, different time periods and emergencies can be handled too. If it's important, just make it higher priority, and it will have to be dealt with sooner. From a.c.li at ieee.org Fri Jan 17 15:41:07 2003 From: a.c.li at ieee.org (Ambrose Li) Date: Fri, 17 Jan 2003 15:41:07 -0500 Subject: [rt-users] Re: Difference between Cc and AdminCc (or, ...getting mail) In-Reply-To: <3E2865B2.60404@sysd.com>; from dupuy@sysd.com on Fri, Jan 17, 2003 at 03:21:06PM -0500 References: <20030117193503.6445.67074.Mailman@pallas.eruditorum.org> <3E2865B2.60404@sysd.com> Message-ID: <20030117154107.D27767@ada.dhs.org> On Fri, Jan 17, 2003 at 03:21:06PM -0500, Alexander Dupuy wrote: [...] > I think this message that I sent somewhat answers your > question. Since CC's include anyone on the CC: list > of the mail message from the requestor, and since you > generally don't want these sorts of (external) people to get > comments, the only way to have CCs get comments is to add a > NotifyRequestorsAndCcsAsComment action scrip. But this will > send requestors copies of the comments as well. Ah, I hope the RT/FM were clearer about this; it talks about the difference between Cc and AdminCc being one to do with privileges, which is difficult to understand when I have internal users who would never use RT directly. If it is as simple as "Cc's are 'external people' and AdminCc's are 'internal people'", then it becomes very clear how these two fields should be used, and I would never have put internal people into Cc. (If internal people should not be put into Cc, it is now also clear why we would have to grant privileges to all internal users, as, I think it is written in the RT/FM, unprivileged users cannot be added to AdminCc.) Thanks very much. Best regards, -- Ambrose Li From andrew-rt at andrew.net.au Fri Jan 17 16:42:50 2003 From: andrew-rt at andrew.net.au (Andrew Pollock) Date: Sat, 18 Jan 2003 07:42:50 +1000 Subject: [rt-users] Multi-tier RT In-Reply-To: References: <20030117104344.GA2234@daedalus.andrew.net.au> Message-ID: <20030117214250.GA26130@daedalus.andrew.net.au> On Fri, Jan 17, 2003 at 03:29:22PM +0100, Bruce Campbell wrote: > On Fri, 17 Jan 2003, A BIT of an Andrew Pollock wrote something about > splitting RT: > > > On Fri, Jan 17, 2003 at 02:56:31PM +1000, Phil Homewood wrote: > > > > > > The attachments are all thrown into the DB, no filesystem access > > > should be required (but, I haven't done it, so I could be wrong.) > > > > I didn't see any evidence that the attachments were in the database with > > 2.0.14 on PostgreSQL, but I'll toddle off and reinspect the schema. I stand corrected, they go into the attachments table, just not as BLOBs like I expected... > In our setup, we have 4 distinct machines, and a plethora of desktops that > are able to directly access the SQL servers. The maintainance of this is > eased by having our install directory, /home/rt2, NFS shared across the > machines. NFS is evil and can't be used in the environment that I'm looking at deploying RT2 into. > /----------\ > | mailserver |-----\ > \----------/ \ > \ > /----------\ \ /-----------\ > | webserver |----------> MySQL access -----| MySQL-grunt | > \----------/ \ / \-----------/ > \--/-\ | > /----------\ / \ /-----------\ > | desktops |-->--*----- Intended Query ---| Backup Serv | > \----------/ Only Access \-----------/ > > I haven't gotten around to the 'Intended Query Only Access' functionality, > but one day, one day. The connection between the MySQL grunt machine and > the Backup Serv(er) is standard MySQL replication. What are you sharing via NFS anyway, just the RT (config) files and whatnot to keep them all in sync? Andrew From bruce_campbell at ripe.net Fri Jan 17 16:45:36 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Fri, 17 Jan 2003 22:45:36 +0100 (CET) Subject: [rt-users] Knowledge Base In-Reply-To: Message-ID: On Fri, 17 Jan 2003, Les Mikesell wrote: > From: Bruce Campbell > > > However, if you're after something with a bit more oomph behind it, such > > as cross-linking, searches, a decent ACL system and integration with RT, > > hang around until next week, when a beta version of the next RT/FM will be > > released. > > I've been hoping to make ht/dig combine the RT tickets and several other > data sources into one fast web search engine but haven't tried it yet. Is > it likely to break anything to let the web spider portion push all the > buttons and follow all the links nightly as a read-only user? Hrm. I personally wouldn't point any search engine at the WebUI; theres too many links to follow that would produce needless overhead on the WebUI server, and it is possible to show the same information through multiple links. Ugh. As I remember it, you can tell ht/dig that 'this' URL is where it should go to to index stuff, and 'that' URL is where it should tell people where it came from. So, you can take Ticket/Display.html and a specific example queue index page, and produce a special cut-down version for ht/dig so it just indexes the ticket data, and not the other fluff that the WebUI has. -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From bruce_campbell at ripe.net Fri Jan 17 16:49:02 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Fri, 17 Jan 2003 22:49:02 +0100 (CET) Subject: [rt-users] Multi-tier RT In-Reply-To: <20030117214250.GA26130@daedalus.andrew.net.au> Message-ID: On Sat, 18 Jan 2003, Andrew Pollock wrote: > On Fri, Jan 17, 2003 at 03:29:22PM +0100, Bruce Campbell wrote: > > In our setup, we have 4 distinct machines, and a plethora of desktops that > > are able to directly access the SQL servers. The maintainance of this is > > eased by having our install directory, /home/rt2, NFS shared across the > > machines. > > NFS is evil and can't be used in the environment that I'm looking at > deploying RT2 into. So have a master tree for the RT libraries, and remember to sync them when you do an upgrade. (Note that this is for RT 2.x . RT 3.x changes slightly. > What are you sharing via NFS anyway, just the RT (config) files and > whatnot to keep them all in sync? For RT, just the perl scripts, the libraries and a small setuid proggie (swiped from the majordomo dist) to make sure the enquiring little buggers can't get the actual MySQL password. NFS is used because our backend data storage is a Netapp filer.. Snapshots are Goooood ;) -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From bruce_campbell at ripe.net Fri Jan 17 17:01:20 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Fri, 17 Jan 2003 23:01:20 +0100 (CET) Subject: [rt-users] RT Possibilites? In-Reply-To: <5.1.0.14.2.20030117113045.030862d8@mail1.qualcomm.com> Message-ID: On Fri, 17 Jan 2003, John Gedeon wrote: > I have a request for a queue with the look of rt a little different. Thing > is only people using that queue want the change. Is there a way to make > different mason files show up for specific queues? Has this been done? Interesting. It certainly can be done. What you want to be doing is to have your collection of files for Queue 'foo'. For simplicity, give them the extension '.foo'. Then, you can change your main pages to include files based on the queue name, eg: <& /Elements/TitleBoxEnd.$queuename &> ( This is a quick example, and I'm skipping over a lot of stuff, such as how you're setting $queuename etc ). If you wanted to be more tricky, you could have your magic include file, like: <& /Elements/DefInclude, queue => $queuename, include => '/Elements/TitleBoxEnd &> Where /Elements/DefInclude looked for the requested_file.$queuename, or the requested_file in the former's absence. > Main point is how complex is it to have it done? Its not that complex, it would just be annoying to set this up (in changing all the files that did includes in the appropriate manner). -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From jxh at jxh.com Fri Jan 17 17:06:22 2003 From: jxh at jxh.com (Jim Hickstein) Date: Fri, 17 Jan 2003 14:06:22 -0800 Subject: [rt-users] Knowledge Base In-Reply-To: <20030117183854.GA21309@ruminary.org> References: <20030117183854.GA21309@ruminary.org> Message-ID: <7740000.1042841182@jxh.mirapoint.com> --On Friday, January 17, 2003 10:38:54 -0800 clark shishido wrote: > If you can't wait for the new RT knowledgebase feature, you > may want to look at Twiki. It's a bit feature rich for my > tastes but maybe it's what you're looking for: > > http://twiki.org We use Twiki, and our pubs group uses their own web ("KB") and a TWikiPlugin called something like genhtml, which strips off the TWiki chrome to make things suitable for publishing externally. Seems to work. From jgedeon at qualcomm.com Fri Jan 17 17:10:39 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 17 Jan 2003 14:10:39 -0800 Subject: [rt-users] RT Possibilites? In-Reply-To: References: <5.1.0.14.2.20030117113045.030862d8@mail1.qualcomm.com> Message-ID: <5.1.0.14.2.20030117140909.05dd5ec0@mail1.qualcomm.com> Thanks that's good idea Bruce. It will help me start on it anyway. Thanks for the help. John At 02:01 PM 1/17/2003, you wrote: >On Fri, 17 Jan 2003, John Gedeon wrote: > > > I have a request for a queue with the look of rt a little different. Thing > > is only people using that queue want the change. Is there a way to make > > different mason files show up for specific queues? Has this been done? > >Interesting. It certainly can be done. > >What you want to be doing is to have your collection of files for Queue >'foo'. For simplicity, give them the extension '.foo'. > >Then, you can change your main pages to include files based on the queue >name, eg: > > <& /Elements/TitleBoxEnd.$queuename &> > >( This is a quick example, and I'm skipping over a lot of stuff, such as > how you're setting $queuename etc ). > >If you wanted to be more tricky, you could have your magic include file, >like: > > <& /Elements/DefInclude, queue => $queuename, include => > '/Elements/TitleBoxEnd &> > >Where /Elements/DefInclude looked for the requested_file.$queuename, or >the requested_file in the former's absence. > > > Main point is how complex is it to have it done? > >Its not that complex, it would just be annoying to set this up (in >changing all the files that did includes in the appropriate manner). > >-- > Bruce Campbell RIPE > Systems/Network Engineer NCC > www.ripe.net - PGP562C8B1B Operations/Security > >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From fstanley at netburner.com Fri Jan 17 17:24:51 2003 From: fstanley at netburner.com (Forrest Stanley) Date: Fri, 17 Jan 2003 14:24:51 -0800 Subject: [rt-users] A Scrip Condition error Message-ID: <5.1.0.14.2.20030117141941.00bac7a8@mail.netburner.com> This short code doesnt seem to be working properly. Looking for any pointers why its not. I'm guessing its something simple, as I am not really a perl coder. The intentions are when a person who is neither the owner or the requester responds to an email, the condition will fire true. While testing this code, I dont think it ever fires true. thanks for the help, -Forrest --------------------------8<------------------------- # ScripCondition: NonOwnNonReqCorrespond.pm # IsApplicable returns true if correspondence is # completed by an unknown (not owner, not requestor) # Created by Forrest Stanley package RT::Condition::NonOwnNonReqCorrespond; require RT::Condition::Generic; @ISA = qw(RT::Condition::Generic); sub IsApplicable { my $self = shift; my $creator = $self->TransactionObj->CreatorObj->EmailAddress; if ($self->TransactionObj->Type eq 'Correspond') { if ($self->TicketObj->IsOwner($self->CreatorObj)) { return(undef); } else { if ($self->TicketObj->IsRequestor($self->CreatorObj)) { return(undef); } else { return(1); } } else { return(undef); } } 1; From Anshuman at expertcity.com Fri Jan 17 18:23:21 2003 From: Anshuman at expertcity.com (Anshuman Kanwar) Date: Fri, 17 Jan 2003 15:23:21 -0800 Subject: [rt-users] time delay in the queue Message-ID: Thanks for the reply Seth. From gm at efn.org Fri Jan 17 18:50:14 2003 From: gm at efn.org (Seth Cohn, EFN General Manager) Date: Fri, 17 Jan 2003 15:50:14 -0800 (PST) Subject: [rt-users] time delay in the queue In-Reply-To: Message-ID: On Fri, 17 Jan 2003, Anshuman Kanwar wrote: > >From what I could gather this runs a nightly check and increments the > priorities. Right ? I am looking for something that escalates in the order > of 15-20 minutes. Maybe I should roll my own ... It exists: http://www.fsck.com/pub/rt/contrib/2.0/sql_rt2_escalator.README and http://www.fsck.com/pub/rt/contrib/2.0/sql_rt2_escalator.pl It won't trigger the IfPriorityExceed scripts though (sadly) because it's bypassing RT and doing it directly in the database. Can anyone suggest a fix for this? This can runs as often as you like (every 15-20) minutes... If you really just want a "every 15-20 minutes, look for tickets that nobody's touched and complain about them", I'd just use a cron job, with a simple RT query and if any exist, email whomever. -- ## Seth Cohn, General Manager of Eugene Free Community Network gm at efn.org ## Businesses planned for service are apt to succeed; Phone 541-484-9637 ## Businesses planned for profit are apt to fail. - N. Butler From travis.campbell at amd.com Fri Jan 17 19:12:52 2003 From: travis.campbell at amd.com (Travis Campbell) Date: Fri, 17 Jan 2003 18:12:52 -0600 Subject: [rt-users] time delay in the queue In-Reply-To: References: Message-ID: <20030117181252.K20574@mpdtxmail.amd.com> [Apologies if this gets double posted. My fingers had a moment of their own before I was able to finish my message :-)] On Fri, Jan 17, 2003 at 03:23:21PM -0800, Anshuman Kanwar wrote: > Thanks for the reply Seth. > > >From what I could gather this runs a nightly check and increments the > priorities. Right ? I am looking for something that escalates in the order > of 15-20 minutes. Maybe I should roll my own ... I built an escalator meant to run every five minutes from cron for monitoring tickets coming into our crisis queue. We have a site policy of responding to these tickets within fifteen minutes, otherwise it starts adding people on as watchers (which happen to be our email addresses for our pagers). Every fifteen minutes, if no one has done something with the ticket, another person (or level of management) gets tacked on, priority gets bumped, and all watchers are notified. This continues until someone moves it out of the queue or resolves it. This queue is specifically configured so that priority starts at 1 and goes to 99 in one day (because the escalator runs so often). The queue is also setup to NotifyAdminCc's on Correspondance and on Comment so we don't have to build any sort of notifications into the script; RT does it for us. We use a template that only sends a minimal amount of info (queue and ticket number) because it's being sent to an alphanumeric pager with a limited character count for incoming messages. The only caveat with we found is that if you do this for a specific queue, and have another escalator that does a daily priority bump for all your queues, you need to make sure both escalations don't collide. We got around this by doing something like $tickets->LimitQueue(VALUE => 'MyQueue', OPERATOR => '!='); in our daily escalator. I've attached it. YMMV. (I hope this makes sense. I'm being bombarded by the kids while I write this 8-) Travis -- Travis Campbell - Unix Systems Administrator = travis at mpdtxmail.amd.com 5900 E. Ben White Blvd, Austin, TX 78741 = travis.campbell at amd.com TEL: (512) 602-1888 PAG: (512) 604-0341 = webmaster at mpdtxmail.amd.com ============================================================================= "Does anything work as expected?" Yes. An axe through the CPU. -------------- next part -------------- #!/opt/mpd/bin/perl -w # use strict; use Carp; use lib "/opt/rt2/lib"; use lib "/opt/rt2/etc"; use IO::File; use Mail::Mailer; use Proc::ProcessTable; my $lock = "/var/run/crisis-escalator.pid"; my $DEBUG = undef; GetLock($lock); use RT::Interface::CLI qw(CleanEnv LoadConfig DBConnect GetCurrentUser GetMessageContent); print "Loading environment\n" if ($DEBUG); #Clean out all the nasties from the environment CleanEnv(); #Load etc/config.pm and drop privs LoadConfig(); #Connect to the database and get RT::SystemUser and RT::Nobody loaded DBConnect(); use RT::Date; use RT::Tickets; my $now = new RT::Date($RT::Nobody); $now->SetToNow(); my $first_level; my $second_level; my ($sec,$min,$hour,$wday) = (gmtime())[0,1,2,6]; $hour = $hour - 5; # # Determine what time it is so we send an alert to the people for first and # second level notifications # if (($hour <= 9 and $min <= 59) and ($hour >= 17 and $min >= 5) and ($wday > 0 and $wday < 6)) { $first_level = 'admin-pager at mail.example.com'; # on call pager $second_level = 'eod-pager at mail.example.com'; # engineer of the day } else { $first_level = 'eod-pager at mail.example.com'; # engineer of the day $second_level = 'admin-pager at mail.example.com';# on call pager } my $tickets = new RT::Tickets($RT::SystemUser); $tickets->LimitQueue(VALUE => 'Crisis-TX'); $tickets->LimitStatus(VALUE => 'open'); $tickets->LimitStatus(VALUE => 'new'); while (my $ticket = $tickets->Next) { print "Working on tickets.\n" if ($DEBUG); my $priority = $ticket->Priority || 1; if ($priority == 1) { print "First alert.\n" if ($DEBUG); $ticket->AddAdminCc(Email => $first_level); TicketComment($ticket, $priority); PrioBump($ticket); BailOut($lock); } elsif ($priority == 2) { print "Second alert. After 15 minutes.\n" if ($DEBUG); if (CheckAge($ticket, $now, 900)) { TicketComment($ticket, $priority); PrioBump($ticket); } else { BailOut($lock); } } elsif ($priority == 3) { print "Third alert. After 30 minutes.\n" if ($DEBUG); if (CheckAge($ticket, $now, 1800)) { $ticket->AddAdminCc(Email => $second_level); TicketComment($ticket, $priority); PrioBump($ticket); } else { BailOut($lock); } } elsif ($priority == 4) { print "Fourth alert. After 45 minutes.\n" if ($DEBUG); if (CheckAge($ticket, $now, 2700)) { $ticket->AddAdminCc(Email => 'boss-pager at mail.example.com'); TicketComment($ticket, $priority); PrioBump($ticket); } else { BailOut($lock); } } elsif ($priority == 5) { print "Fifth alert. After 60 minutes.\n" if ($DEBUG); if (CheckAge($ticket, $now, 3600)) { TicketComment($ticket, $priority); PrioBump($ticket); } else { BailOut($lock); } } elsif ($priority >= 6 and ($priority % 4 + 1) == 1) { print "Hourly alert.\n" if ($DEBUG); if (CheckAge($ticket, $now, 3600, -1)) { TicketComment($ticket, $priority); PrioBump($ticket); } else { BailOut($lock); } } elsif ($priority == 99) { print "Bad alert.\n" if ($DEBUG); if (CheckAge($ticket, $now, 900)) { $ticket->AddAdminCc(Email => 'team-pager at mail.example.com'); TicketComment($ticket, $priority); } else { BailOut($lock); } } } BailOut($lock); sub PrioBump { my $self = shift; unless ($self->Priority == $self->FinalPriority() ) { print "Evaluating ".$self->Id. "..." if ($DEBUG); print $self->Priority." -> " if ($DEBUG); $self->SetPriority($self->Priority + 1); print $self->Priority."\n" if ($DEBUG); } } sub TicketComment { my $self = shift; my $prio = shift; require MIME::Entity; my $comment; if ($prio == 1) { $comment = 'New ticket. First alert being sent.'; } else { $comment = 'No input from Systeam. Ticket escalated to next level and notifications are being sent.'; } my $Comment = MIME::Entity->build(Data => $comment); $self->Comment(MIMEObj => $Comment); } sub CheckAge { my $ticket = shift; my $now = shift; my $age = shift; my $created = $ticket->CreatedObj->Unix; my $seconds = $now->Diff($created, $now); if ($seconds <= $age) { return 0; } return 1; } sub BailOut { my $lock = shift; print "Bailing out.\n" if ($DEBUG); $RT::Handle->Disconnect(); ClearLock($lock); exit; } sub GetLock { my $lock = shift; my $now = time; my $pid = $$; if ( -f $lock ) { my $mtime = (stat($lock))[9]; my $oldpid = FindPid($lock,$pid); if ($oldpid) { print "Previous escalator still running ($oldpid) ($now)\n" if ($DEBUG); exit; } else { print "Clearing lock from previous escalator ($oldpid)\n" if ($DEBUG); ClearLock($lock); } } if ( ! -f $lock ) { print "Creating lock file for $pid\n" if ($DEBUG); my $fh = IO::File->new(">$lock") or die "Could not write to lock file ($pid): $!"; print $fh $pid, "\n"; $fh->close; } } sub FindPid { my $lock = shift; my $pid = shift; my $fh = IO::File->new("<$lock") or die "Lock file exists but I couldn't open it for reading: $!"; my $runningpid = <$fh>; chomp $runningpid; $fh->close; my $p = Proc::ProcessTable->new(); my $pref = $p->table; for my $process (@$pref) { if ($process->uid == $runningpid) { return $process->uid; } } return 0; } sub ClearLock { my $lock = shift; print "Clearing lockfile $lock\n" if ($DEBUG); unlink $lock or die "Could not unlink $lock: $!"; } From travis.campbell at amd.com Fri Jan 17 19:19:51 2003 From: travis.campbell at amd.com (Travis Campbell) Date: Fri, 17 Jan 2003 18:19:51 -0600 Subject: [rt-users] time delay in the queue In-Reply-To: <20030117181252.K20574@mpdtxmail.amd.com> References: <20030117181252.K20574@mpdtxmail.amd.com> Message-ID: <20030117181951.N20574@mpdtxmail.amd.com> On Fri, Jan 17, 2003 at 06:12:52PM -0600, Travis Campbell wrote: > > The queue is also setup to NotifyAdminCc's on Correspondance and on Comment That should have been OnCreate and OnComment. Travis -- Travis Campbell - Unix Systems Administrator = travis at mpdtxmail.amd.com 5900 E. Ben White Blvd, Austin, TX 78741 = travis.campbell at amd.com TEL: (512) 602-1888 PAG: (512) 604-0341 = webmaster at mpdtxmail.amd.com ============================================================================= "Does anything work as expected?" Yes. An axe through the CPU. From jgedeon at qualcomm.com Fri Jan 17 19:55:36 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Fri, 17 Jan 2003 16:55:36 -0800 Subject: [rt-users] RT Possibilites? In-Reply-To: References: <5.1.0.14.2.20030117113045.030862d8@mail1.qualcomm.com> Message-ID: <5.1.0.14.2.20030117165003.05e62480@mail1.qualcomm.com> Would it be possible to have the directory structure like such WebRT/html/ Default/ Ticket/ User/ .... Queue1/ include only files I changed Queue2/ include only files I changed and have html_mason look at for the file in the queue's directory and if not found use the one in the Default? I would want this to also work for the .html files (IE so i could rearrage the forms or change some of the form names on the outside, like owner to assigned to) But I would want html mason to hide the Default or Queue1 part of the url from everything else. so a link like http://www.example.com/Ticket/History.html?id=42 would take them to the queue specific view of that ticket which would have the files in WebRT/html/Queue2/Ticket/History.html Is that possible? John At 02:01 PM 1/17/2003, Bruce Campbell wrote: >On Fri, 17 Jan 2003, John Gedeon wrote: > > > I have a request for a queue with the look of rt a little different. Thing > > is only people using that queue want the change. Is there a way to make > > different mason files show up for specific queues? Has this been done? > >Interesting. It certainly can be done. > >What you want to be doing is to have your collection of files for Queue >'foo'. For simplicity, give them the extension '.foo'. > >Then, you can change your main pages to include files based on the queue >name, eg: > > <& /Elements/TitleBoxEnd.$queuename &> > >( This is a quick example, and I'm skipping over a lot of stuff, such as > how you're setting $queuename etc ). > >If you wanted to be more tricky, you could have your magic include file, >like: > > <& /Elements/DefInclude, queue => $queuename, include => > '/Elements/TitleBoxEnd &> > >Where /Elements/DefInclude looked for the requested_file.$queuename, or >the requested_file in the former's absence. > > > Main point is how complex is it to have it done? > >Its not that complex, it would just be annoying to set this up (in >changing all the files that did includes in the appropriate manner). > >-- > Bruce Campbell RIPE > Systems/Network Engineer NCC > www.ripe.net - PGP562C8B1B Operations/Security > >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From Ralexander at musiciansfriend.com Fri Jan 17 21:25:46 2003 From: Ralexander at musiciansfriend.com (Ron Alexander) Date: 17 Jan 2003 18:25:46 -0800 Subject: [rt-users] time delay in the queue In-Reply-To: <20030117232502.16075.54315.Mailman@pallas.eruditorum.org> References: <20030117232502.16075.54315.Mailman@pallas.eruditorum.org> Message-ID: <1042856748.26315.260.camel@ronsBox> If all you want to do is email your boss if the ticket is unowned you could probably do something like this: # $Header: /raid/cvsroot/rt-addons/ScripActions/EscalatePriority/EscalatePriority.pm,v 1.2 2001/06/22 23:50:37 jesse Exp $ package RT::Action::EscalatePriority; require RT::Action::Generic; @ISA=qw(RT::Action::Generic); #Do what we need to do and send it out. #What does this type of Action does # {{{ sub Describe sub Describe { my $self = shift; return (ref $self . " will escalate a ticket by emailing a big boss."); } # }}} # {{{ sub Prepare sub Prepare { my $self = shift; if ($self->TicketObj->Owner = "Nobody") { ## INSERT YOUR MAIL CODE HERE?? or maybe you use a scrip condition to do ## it for you. ##probably RT already has a slick way to do this ##I am an RT novice and so what to do here escapes me } } That does remove all the priority stuff. Then you just cron up that script. The downside is pretty obvious. Your boss is going to get upset if the volume gets to heavy. Probably because every 5 minutes all day Saturday and Sunday the ticket that was created Friday at 5:00 is going to be emailing him. (576 times over a two day period, ouch). You could certainly fine-tune a script that would in fact check to see if people should be at work taking ownership of tickets before you send your poor big boss 576 emails over the weekend. Maybe you could fine tune your cron to not work on Saturdays, Sundays and holidays? Or... You could just set have your boss open up the search page. Set up the queue the boss is responsible for with owner = "Nobody". Set it to refresh every 5 minutes. Or... You could write a script that directly accesses the database every 5 minutes and jams a quick email if the owner is nobody (Select id from Tickets where Owner = "Nobody"). The search page is IMHO your best option. The only downside is that it isn't quite as 'in your face' as email. I guess bosses have slick email clients that say "You've got mail" and they wouldn't get that reminder. Good Luck, Ron > > Message: 15 > From: Anshuman Kanwar > To: "'Seth Cohn, EFN General Manager'" > Cc: rt-users at lists.fsck.com > Subject: RE: [rt-users] time delay in the queue > Date: Fri, 17 Jan 2003 15:23:21 -0800 > > Thanks for the reply Seth. > > From what I could gather this runs a nightly check and increments the > priorities. Right ? I am looking for something that escalates in the order > of 15-20 minutes. Maybe I should roll my own ... > > Thansk you, > -ansh -- /************************************************************ * Ron Alexander ralexander at musiciansfriend.com * * Programmer/Analyst Musician's Friend, Inc.* * Phone:(541)774-5362 http://www.musiciansfriend.com * ************************************************************/ From bruce_campbell at ripe.net Sat Jan 18 05:32:54 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Sat, 18 Jan 2003 11:32:54 +0100 (CET) Subject: [rt-users] A Scrip Condition error In-Reply-To: <5.1.0.14.2.20030117141941.00bac7a8@mail.netburner.com> Message-ID: On Fri, 17 Jan 2003, Forrest Stanley wrote: > This short code doesnt seem to be working properly. Looking for any > pointers why its not. You're referring to $self->CreatorObj, when you want to be referring to $self->TransactionObj->CreatorObj . I'm also not sure why you have $creator about. sub IsApplicable(){ my $self = shift; my $retval = undef; if( $self->TransactionObj->Type eq 'Correspond' ){ if( ! $self->TicketObj->IsOwner( $self->TransactionObj->CreatorObj ) ){ if( ! $self->TicketObj->IsRequestor( $self->TransactionObj->CreatorObj ) ){ $retval = 1; } } } return( $retval ); } Regards, -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security http://www.dude.ru/music/gigflapping.html From svigano at boothcreek.com Sat Jan 18 16:56:15 2003 From: svigano at boothcreek.com (Steffan Vigano) Date: Sat, 18 Jan 2003 13:56:15 -0800 Subject: [rt-users] "Depended on by" in template References: <20030117232502.16075.54315.Mailman@pallas.eruditorum.org> Message-ID: <3E29CD7F.7040502@boothcreek.com> I have a template that sends out informational emails upon new ticket creation to a team, if unassigned, or an individual if assigned. It currently just has basic info like: Subject: {$Ticket->Subject()} Requester: {$Ticket->Requesters->EmailsAsString()} Owner: {$Ticket->OwnerObj->Name} etc,etc, etc.... We would like to also included information on dependencies, but only if one exists. Anyone currently doing that from a template, or have any ideas how to tackle it? Thanks Steffan From joerg at die-herberts.de Sat Jan 18 18:46:33 2003 From: joerg at die-herberts.de (Joerg Herbert) Date: Sun, 19 Jan 2003 00:46:33 +0100 Subject: [rt-users] Installing the Cozens Statistics Package In-Reply-To: <3E10837B.3020507@shunra.com> References: <0B7E98FA-15C7-11D7-9677-00039310C34C@sidebysite.de> Message-ID: <3E29F569.6102.A69E603@localhost> On 30 Dec 2002 at 19:33, Ron Gidron wrote: > > ServerAdmin ron.gidron at shunra.com > ErrorLog /var/log/rt2/apache_rt_error.log > DocumentRoot /usr/local/rt2/WebRT/html > ServerName quake > PerlModule Apache::DBI > #PerlFreshRestart On > PerlRequire /usr/local/rt2/bin/webmux.pl > > Options Indexes FollowSymLinks > AllowOverride None > Order deny,allow > Allow from all > SetHandler perl-script > PerlHandler RT::Mason > > > SetHandler perl-script > PerlHandler Apache::GD::Graph > > > Take a look at your Apache-Error-Log. If you move the Directories /chart and /stat to $Documentroot all should be fine. -- Bye for now, Bis denne, Joerg From pdh at snapgear.com Sun Jan 19 19:50:24 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 20 Jan 2003 10:50:24 +1000 Subject: [rt-users] recommended setup for public access In-Reply-To: References: Message-ID: <20030120005024.GU455@luggage.internal.moreton.com.au> Mark Stosberg wrote: > I tried creating a user named "public" with a link like this: > > http://website.com/rt/SelfService/Create.html?user=public;pass=public You want an "&", not a ";" there... > However, the "Queue" field remains empty and it's a required field, so > the form doesn't work. You need to grant "public" the right to "SeeQueue" for any queues you want to be visible there. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From seph at commerceflow.com Sun Jan 19 20:50:07 2003 From: seph at commerceflow.com (seph) Date: Sun, 19 Jan 2003 17:50:07 -0800 Subject: [rt-users] How to specify multiple cc's at ticket creation? In-Reply-To: <20030117121530.B27767@ada.dhs.org> (Ambrose Li's message of "Fri, 17 Jan 2003 12:15:30 -0500") References: <20030117121530.B27767@ada.dhs.org> Message-ID: >> Use commas. The standard email address separator. > > When I use commas, RT seems to be able to recognize only one > user. (The rest are just "email address"es even if they are > also existing users.) Would this be a bug, or is there something > I was still doing wrong? This sounds like a bug. Playing with one of my 2.0.x servers (I think it's running 2.0.13) I can reproduce this behavior. Investigating a bit, I find that rt is choking on the space between the comma and the username. That is "userA, userB" fails while "userA,userB" In ticket/create.html change the relevant lines to my @Requestors = split ( /,/, $ARGS{'Requestors'} ); my @Cc = split ( /,/, $ARGS{'Cc'} ); my @AdminCc = split ( /,/, $ARGS{'AdminCc'} ); I haven't tested it, but I believe it's what rt3 uses. It's also worth noting that the cc fields are by email address, not username. So if you're username are different than your email addresses, be careful. seph From jesse at bestpractical.com Sun Jan 19 21:06:54 2003 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun, 19 Jan 2003 21:06:54 -0500 Subject: [rt-users] How to specify multiple cc's at ticket creation? In-Reply-To: References: <20030117121530.B27767@ada.dhs.org> Message-ID: <20030120020654.GA12365@pallas.fsck.com> On Sun, Jan 19, 2003 at 05:50:07PM -0800, seph wrote: > This sounds like a bug. Playing with one of my 2.0.x servers (I think > it's running 2.0.13) I can reproduce this behavior. Investigating a > bit, I find that rt is choking on the space between the comma and the > username. That is "userA, userB" fails while "userA,userB" > > In ticket/create.html change the relevant lines to > > my @Requestors = split ( /,/, $ARGS{'Requestors'} ); > my @Cc = split ( /,/, $ARGS{'Cc'} ); > my @AdminCc = split ( /,/, $ARGS{'AdminCc'} ); Seph actually meant: my @Requestors = split ( /\s*,\s*/, $ARGS{'Requestors'} ); my @Cc = split ( /\s*,\s*/, $ARGS{'Cc'} ); my @AdminCc = split ( /\s*,\s*/, $ARGS{'AdminCc'} ); -- ?|? http://www.bestpractical.com/rt -- Trouble Ticketing. Free. From pdh at snapgear.com Sun Jan 19 21:37:49 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 20 Jan 2003 12:37:49 +1000 Subject: [rt-users] How to specify multiple cc's at ticket creation? In-Reply-To: <20030120020654.GA12365@pallas.fsck.com> References: <20030117121530.B27767@ada.dhs.org> <20030120020654.GA12365@pallas.fsck.com> Message-ID: <20030120023749.GW455@luggage.internal.moreton.com.au> Jesse Vincent wrote: > > In ticket/create.html change the relevant lines to > > > > my @Requestors = split ( /,/, $ARGS{'Requestors'} ); > > my @Cc = split ( /,/, $ARGS{'Cc'} ); > > my @AdminCc = split ( /,/, $ARGS{'AdminCc'} ); > > Seph actually meant: > > my @Requestors = split ( /\s*,\s*/, $ARGS{'Requestors'} ); > my @Cc = split ( /\s*,\s*/, $ARGS{'Cc'} ); > my @AdminCc = split ( /\s*,\s*/, $ARGS{'AdminCc'} ); And he also meant Ticket/Display.html, not ticket/create.html. But aside from that, this looks good. :-) {would /[\s,]+/ be more suitable, I wonder?} -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From pdh at snapgear.com Sun Jan 19 22:55:39 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 20 Jan 2003 13:55:39 +1000 Subject: [rt-users] Knowledge Base In-Reply-To: <15912.23961.580701.90195@onceler.kciLink.com> References: <1042821492.24747.99.camel@desktop> <15912.23961.580701.90195@onceler.kciLink.com> Message-ID: <20030120035538.GZ455@luggage.internal.moreton.com.au> Vivek Khera wrote: > Just while checking it out, I noticed that the requirements list > postgresql 7.1.1 or higher. That should also say, NOT 7.3.0 or higher > until RT is suitable adjusted. > > Who's got perms to fix it? I do. Done. -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From mark at summersault.com Sun Jan 19 23:13:32 2003 From: mark at summersault.com (Mark Stosberg) Date: Sun, 19 Jan 2003 23:13:32 -0500 (EST) Subject: [rt-users] recommended setup for public access In-Reply-To: <20030120005024.GU455@luggage.internal.moreton.com.au> References: <20030120005024.GU455@luggage.internal.moreton.com.au> Message-ID: > > http://website.com/rt/SelfService/Create.html?user=public;pass=public > > You want an "&", not a ";" there... Thanks for the response Phil. The use of the semicolon was intentional. Not only is it supported by RT, it's also recommended by the W3C as part of the HTML 4.01 spec: http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2 It's also supported by Perl's CGI.pm module, among other places. > > However, the "Queue" field remains empty and it's a required field, so > > the form doesn't work. > > You need to grant "public" the right to "SeeQueue" for any queues > you want to be visible there. Thanks for the tip. Mark http://mark.stosberg.com/ From pdh at snapgear.com Sun Jan 19 23:19:51 2003 From: pdh at snapgear.com (Phil Homewood) Date: Mon, 20 Jan 2003 14:19:51 +1000 Subject: [rt-users] recommended setup for public access In-Reply-To: References: <20030120005024.GU455@luggage.internal.moreton.com.au> Message-ID: <20030120041951.GA455@luggage.internal.moreton.com.au> Mark Stosberg wrote: > The use of the semicolon was intentional. Not only is it supported by > RT, it's also recommended by the W3C as part of the HTML 4.01 spec: > > http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2 I stand corrected. :^) (the fsck.com RT instance seems to get very stuck if I use a semicolon instead of an ampersand, incidentally.) -- Phil Homewood, Systems Janitor, www.SnapGear.com pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - Custom Embedded Solutions and Security Appliances From js138 at eng.cam.ac.uk Mon Jan 20 04:44:05 2003 From: js138 at eng.cam.ac.uk (J. Sloan) Date: Mon, 20 Jan 2003 09:44:05 +0000 (GMT) Subject: [rt-users] Difference between Cc and AdminCc (or, Cc is not getting mail) In-Reply-To: <20030117130302.A18039@ada.dhs.org> Message-ID: On Fri, 17 Jan 2003, Ambrose Li wrote: > Hi, > > I wonder what exactly is the difference between Cc's and AdminCc's > in terms of getting mail. > > I have the following global scrips : > > [ ] OnCreate AutoreplyToRequestors with template Autoreply > [ ] OnCorrespond NotifyAllWatchers with template Correspondence > [ ] OnComment NotifyAdminCcsAsComment with template AdminComment > [ ] OnComment NotifyOtherRecipientsAsComment with template Correspondence > [ ] OnCorrespond NotifyOtherRecipients with template Correspondence > [ ] OnCreate NotifyAllWatchers with template Transaction > > I thought that this means that when I make a comment, Cc's would get > mail, but the Cc's are not getting mail. Nothing relevant is in the > RT log. Is the scrip settings above wrong if I want Cc's to get mail > on comment? (or have I misunderstood the functionality of "comment"?) > > Thanks very much in advance, Having just finally got my head round these: You have two scrips which trigger on 'comment'. One sends to AdminCCs and the other sends to OtherRecipients - which are those addresses specified on the CC or BCC lines in the web reply/comment form. For CCs to see comments you would need to have: OnComment NotifyCcsAsComment with template Correspondence as well. Now in my basic RT, I don't have that ScripAction (or NotifyCcAndAdminCcsAsComment which would do here) so you'll have to insert suitable lines into the database to create it. (all the Notify actions are calls to Notify.pm or NotifyAsComment.pm with suitable arguments). John From erik.wasser at iquer.net Mon Jan 20 17:07:16 2003 From: erik.wasser at iquer.net (Erik Wasser) Date: Mon, 20 Jan 2003 23:07:16 +0100 Subject: [rt-users] No reply mail for the ticker requestor Message-ID: <200301201907.18665.erik.wasser@iquer.net> Hi. I got a problem with a newly installed rt-2.0.15. If somebody (ticket owner) responds to a ticket, there is no reply message for the requestor. The auto response for a new ticket is working fine. I've checked the following things: [x] I used to different person/e-mail adresses. [x] /var/log/maillog shows no(!) sign of an outgoing mail. Then I modified the code in '/rt2/lib/RT/Action/SendEmail.pm'. At the beginning of the routine 'Commit' I dumped via "Dumper($self->TemplateObj->MIMEObj->head);" to a logfile. Here's the result: $VAR1 = bless( { 'mail_hdr_list' => [ 'Subject: [company.net #89] test', 'From: "Erik Wasser via RT" ', 'Reply-To: help-unix at company.net', 'In-Reply-To: ', 'Message-ID: ', 'Precedence: bulk', 'X-RT-Loop-Prevention: company.net', 'RT-Ticket: company.net #89', 'Managed-by: RT 2.0.15 (http://bestpractical.com/rt/)', 'RT-Originator: fuzz at company.net' ], [...useless MIME::Head stuff...] }, 'MIME::Head' ); You see, there is no "To", "Cc" or "Bcc" field. Is that okay? This is the reason why RT2 is sending no mail, but why is there no "To" field? Ideas? Comment? B-) Thanks for your help. -- So long... Erik Wasser From anfa at edu.nykoping.se Mon Jan 20 17:58:19 2003 From: anfa at edu.nykoping.se (Falk) Date: Mon, 20 Jan 2003 23:58:19 +0100 Subject: [rt-users] Get Keyword Id from ShowKeywordSelect Message-ID: <20030120235819.08dc20e0.anfa@edu.nykoping.se> Hi. We are trying to get the Keyword Id back right beside the keyword. But it aint going great :) The Id is going to be used for linking to external pages. // Regards, Falk // Sweden From bruce_campbell at ripe.net Mon Jan 20 18:46:24 2003 From: bruce_campbell at ripe.net (Bruce Campbell) Date: Tue, 21 Jan 2003 00:46:24 +0100 (CET) Subject: [rt-users] Attachments sent from RT are 'inline' In-Reply-To: <1041577691.2808.17.camel@isis> Message-ID: On 3 Jan 2003, Lynoure [ISO-8859-1] Rajam?ki wrote: > On Thu, 2003-01-02 at 16:09, Douglas E. Warner wrote: > > > > Yes, I'm using the one from the contrib area. Would you mind attaching it to > > the list so everyone can benefit? > > Ok, though my version is by no means perfect either (I took the shortcut > and set Content-Type to fit our needs, and it's not right for all other > character sets). Also, I am very new to perl... Something to add to the archives for this. Somewhere along the way, the 'MIME-Version' header gets dropped. This makes certain mailers, such as Pine, not recognise the mail thus generated as a valid multipart mail (Brad Marshall noticed this problem). Hence, add the following line after 'make_multipart' (~line43): $self->TemplateObj->MIMEObj->head->add('MIME-Version', '1.0' ); Regards, -- Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations/Security From lynoure at otaverkko.fi Tue Jan 21 02:42:12 2003 From: lynoure at otaverkko.fi (Lynoure =?ISO-8859-1?Q?Rajam=E4ki?=) Date: 21 Jan 2003 09:42:12 +0200 Subject: [rt-users] Attachments sent from RT are 'inline' In-Reply-To: References: Message-ID: <1043134932.3461.17.camel@isis> On Tue, 2003-01-21 at 01:46, Bruce Campbell wrote: > Something to add to the archives for this. Somewhere along the way, the > 'MIME-Version' header gets dropped. This makes certain mailers, such as > Pine, not recognise the mail thus generated as a valid multipart mail > (Brad Marshall noticed this problem). It didn't seem to be there even to start with (see Robert Grasso's message in rt-devel). Actually it isn't even in the messages that are sent without NotifyWithAttachment. I wonder whether the MIME module sets this header automatically at all. (At least I didn't notice any part of the code that would do that, though it should...) IMO MIME module is the place where this should be fixed. > Hence, add the following line after 'make_multipart' (~line43): > > $self->TemplateObj->MIMEObj->head->add('MIME-Version', '1.0' ); Thanks for the workaround though. :) -- Lynoure Rajam?ki lynoure at otaverkko.fi lynoure at tuug.fi From katty at demos.su Tue Jan 21 05:37:26 2003 From: katty at demos.su (Ekaterina Kochetkova) Date: Tue, 21 Jan 2003 13:37:26 +0300 Subject: [rt-users] question [RT: RT Bounce: AutoReply:]] Message-ID: <20030121133726.B70751@sinbin.demos.su> Hello! Doesn't work an AutoReply answer to Requestor. There is a that global scrip is in queue configuration: In Configuration->Queue->Scrips (Global) we have: ... OnCreate AutoreplyToRequestors with template Autoreply But the RT system tries to send letter back to itself instead of requestor's address. Then it detects a loop and sends an error letter to rt-admin... Where can I setup it to send AutoReply to Requestor, not to a queue (rt-test-1 at xxx in this example)? > ----- Forwarded message from RT: ;CorrespondAddress.not.set at xxx ----- > > Received: from > by xxx (CommuniGate Pro RULES 4.0.5/D) > with RULES id 59411044; Mon, 20 Jan 2003 16:16:32 +0300 > X-Mirrored-by: > Received: from rt-admin at xxx > by xxx (CommuniGate Pro GROUP 4.0.5/D) > with GROUP id 59411031; Mon, 20 Jan 2003 16:16:32 +0300 > Reply-To: rt-admin at xxx > Received: from [195.133.7.150] (HELO pt-5.xxx) > by xxx (CommuniGate Pro SMTP 4.0.5/D) > with ESMTP id 59411043 for rt-admin at xxx; Mon, 20 Jan 2003 16:16:32 +0300 > Received: by pt-5.xxx (Postfix, from userid 12346) > id 994D0A00A; Mon, 20 Jan 2003 16:16:32 +0300 (WST) > Content-Type: multipart/mixed; boundary="----------=_1043068592-19835-0" > Content-Transfer-Encoding: binary > MIME-Version: 1.0 > X-Mailer: MIME-tools 5.411 (Entity 5.404) > From: RT::CorrespondAddress.not.set at pt-5.xxx > To: rt-admin at xxx > Subject: RT Bounce: [rt2.xxx #31] AutoReply: ???????? ?????! > X-RT-Loop-Prevention: rt2.xxx > Message-Id: <20030120131632.994D0A00A at pt-5.xxx> > Date: Mon, 20 Jan 2003 16:16:32 +0300 (WST) > Status: RO > Content-Length: 2086 > Lines: 58 > > [-- Attachment #1 --] > [-- Type: text/plain, Encoding: binary, Size: 0,1K --] > Content-Type: text/plain > Content-Disposition: inline > Content-Transfer-Encoding: binary > > RT thinks this message may be a bounce > > [-- Attachment #2 --] > [-- Type: text/plain, Encoding: 7bit, Size: 0,6K --] > Return-Path: > Delivered-To: rt-test-1 at pt-5.xxx > Received: from xxx (mx.xxx [194.87.0.32]) by pt-5.xxx (Postfix) w > ith ESMTP id 70537A016 for ; Mon, 20 Jan 2003 16:16:30 > +0300 (WST) > Received: from rt-test-1 at xxx by xxx (CommuniGate Pro GROUP 4.0.5/D) wi > th GROUP id 59411034; Mon, 20 Jan 2003 16:16:30 +0300 > Reply-To: rt-test-1 at xxx > Received: from [195.133.7.150] (HELO pt-5.xxx) by xxx (CommuniGate Pro > SMTP 4.0.5/D) with ESMTP id 59411038 for rt-test-1 at xxx; Mon, 20 Jan 2003 1 > 6:16:30 +0300 > Received: by pt-5.xxx (Postfix, from userid 12346) id 04D4BA016; Mon, 20 Ja > n 2003 16:16:29 +0300 (WST) > Subject: [rt2.xxx #31] AutoReply: ???????? ?????! > From: "rt-test-1" > Reply-To: rt-test-1 at xxx > In-Reply-To: > Message-Id: > Precedence: bulk > X-RT-Loop-Prevention: rt2.xxx > RT-Ticket: rt2.xxx #31 > Managed-BY: RT 2.0.15 (http://bestpractical.com/rt/) > RT-Originator: rt-test-1 at xxx > MIME-Version: 1.0 > Content-Type: text/plain; charset=KOI8-R > To: rt-test-1 at xxx > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Date: Mon, 20 Jan 2003 16:16:29 +0300 (WST) > > > > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "???????? ?????!", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt2.xxx #31]. > > Please include the string: > > [rt2.xxx #31] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > rt-test-1 at xxx > > ------------------------------------------------------------------------- > ???????! > > > -- katty From katty at demos.su Tue Jan 21 08:47:12 2003 From: katty at demos.su (Ekaterina Kochetkova) Date: Tue, 21 Jan 2003 16:47:12 +0300 Subject: [rt-users] question [RT: RT Bounce: AutoReply:]] In-Reply-To: ; from okrouhly@civ.zcu.cz on Tue, Jan 21, 2003 at 02:34:35PM +0100 References: <20030121155539.A95071@sinbin.demos.su> Message-ID: <20030121164712.C24941@sinbin.demos.su> ono tak postavleno : Queue: rt-test-1 Correspondence Address: - rt-test-1 at demos.su Comment Address: - rt-test-1c at demos.su you can send test on rt-test-1 at demos.su and your letter will be in the queue correctly. But you will not receive autoreply (RT will try to send it to rt-test-1 at demos.su back instead of your address and you will not receive autoreply) On Tue, Jan 21, 2003 at 02:34:35PM +0100, Jan Okrouhly wrote: Izvini moj russkij jazyk... No esli ochered jest 'queue', potom nado nastavit u kazhdoi ocheredi 'Correspondence Address:' i 'Comment Address:'. On Tue, 21 Jan 2003, Ekaterina Kochetkova wrote: > > nu eto - escho... no neuzheli eto sviazano s adresom receiptienta? > a kakoi adres nado ukazyvat' v konfige vmesto RT::CorrespondAddress.not.set, > esli u menia budet neskol'ko ocheredei s raznymui adresami? > > On Tue, Jan 21, 2003 at 12:30:15PM +0100, Jan Okrouhly wrote: > Ja by skazal, cto ty jesco nenastavila pravilna fail ...etc/config.pm > Posmotry nize From: RT::CorrespondAddress.not.set > > On Tue, 21 Jan 2003, Ekaterina Kochetkova wrote: > > > Hello! > > > > Doesn't work an AutoReply answer to Requestor. > > > > There is a that global scrip is in queue configuration: > > > > In Configuration->Queue->Scrips (Global) we have: > > ... > > OnCreate AutoreplyToRequestors with template Autoreply > > > > > > But the RT system tries to send letter back to itself instead of > > requestor's address. > > > > Then it detects a loop and sends an error letter to rt-admin... > > > > Where can I setup it to send AutoReply to Requestor, not to a queue > > (rt-test-1 at xxx in this example)? > > > > > ----- Forwarded message from RT: ;CorrespondAddress.not.set at xxx ----- > > > > > > Received: from > > > by xxx (CommuniGate Pro RULES 4.0.5/D) > > > with RULES id 59411044; Mon, 20 Jan 2003 16:16:32 +0300 > > > X-Mirrored-by: > > > Received: from rt-admin at xxx > > > by xxx (CommuniGate Pro GROUP 4.0.5/D) > > > with GROUP id 59411031; Mon, 20 Jan 2003 16:16:32 +0300 > > > Reply-To: rt-admin at xxx > > > Received: from [195.133.7.150] (HELO pt-5.xxx) > > > by xxx (CommuniGate Pro SMTP 4.0.5/D) > > > with ESMTP id 59411043 for rt-admin at xxx; Mon, 20 Jan 2003 16:16:32 +0300 > > > Received: by pt-5.xxx (Postfix, from userid 12346) > > > id 994D0A00A; Mon, 20 Jan 2003 16:16:32 +0300 (WST) > > > Content-Type: multipart/mixed; boundary="----------=_1043068592-19835-0" > > > Content-Transfer-Encoding: binary > > > MIME-Version: 1.0 > > > X-Mailer: MIME-tools 5.411 (Entity 5.404) > > > From: RT::CorrespondAddress.not.set at pt-5.xxx > > > To: rt-admin at xxx > > > Subject: RT Bounce: [rt2.xxx #31] AutoReply: dnD*LNEA OEOCA! > > > X-RT-Loop-Prevention: rt2.xxx > > > Message-Id: <20030120131632.994D0A00A at pt-5.xxx> > > > Date: Mon, 20 Jan 2003 16:16:32 +0300 (WST) > > > Status: RO > > > Content-Length: 2086 > > > Lines: 58 > > > > > > [-- Attachment #1 --] > > > [-- Type: text/plain, Encoding: binary, Size: 0,1K --] > > > Content-Type: text/plain > > > Content-Disposition: inline > > > Content-Transfer-Encoding: binary > > > > > > RT thinks this message may be a bounce > > > > > > [-- Attachment #2 --] > > > [-- Type: text/plain, Encoding: 7bit, Size: 0,6K --] > > > Return-Path: > > > Delivered-To: rt-test-1 at pt-5.xxx > > > Received: from xxx (mx.xxx [194.87.0.32]) by pt-5.xxx (Postfix) w > > > ith ESMTP id 70537A016 for ; Mon, 20 Jan 2003 16:16:30 > > > +0300 (WST) > > > Received: from rt-test-1 at xxx by xxx (CommuniGate Pro GROUP 4.0.5/D) wi > > > th GROUP id 59411034; Mon, 20 Jan 2003 16:16:30 +0300 > > > Reply-To: rt-test-1 at xxx > > > Received: from [195.133.7.150] (HELO pt-5.xxx) by xxx (CommuniGate Pro > > > SMTP 4.0.5/D) with ESMTP id 59411038 for rt-test-1 at xxx; Mon, 20 Jan 2003 1 > > > 6:16:30 +0300 > > > Received: by pt-5.xxx (Postfix, from userid 12346) id 04D4BA016; Mon, 20 Ja > > > n 2003 16:16:29 +0300 (WST) > > > Subject: [rt2.xxx #31] AutoReply: dnD*LNEA OEOCA! > > > From: "rt-test-1" > > > Reply-To: rt-test-1 at xxx > > > In-Reply-To: > > > Message-Id: > > > Precedence: bulk > > > X-RT-Loop-Prevention: rt2.xxx > > > RT-Ticket: rt2.xxx #31 > > > Managed-BY: RT 2.0.15 (http://bestpractical.com/rt/) > > > RT-Originator: rt-test-1 at xxx > > > MIME-Version: 1.0 > > > Content-Type: text/plain; charset=KOI8-R > > > To: rt-test-1 at xxx > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > > > Date: Mon, 20 Jan 2003 16:16:29 +0300 (WST) > > > > > > > > > > > > Greetings, > > > > > > This message has been automatically generated in response to the > > > creation of a trouble ticket regarding: > > > "dnD*LNEA OEOCA!", > > > a summary of which appears below. > > > > > > There is no need to reply to this message right now. Your ticket has been > > > assigned an ID of [rt2.xxx #31]. > > > > > > Please include the string: > > > > > > [rt2.xxx #31] > > > > > > in the subject line of all future correspondence about this issue. To do so, > > > you may reply to this message. > > > > > > Thank you, > > > rt-test-1 at xxx > > > > > > ------------------------------------------------------------------------- > > > aaaaaaa! > > > > > > > > > > > > > -- > > katty > > _______________________________________________ > > rt-users mailing list > > rt-users at lists.fsck.com > > http://lists.fsck.com/mailman/listinfo/rt-users > > > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > > > > > Jan Okrouhly > ---------------------------------------\-\-\+\-\-\---okrouhly at civ.zcu.cz--- > Laboratory for Computer Science | phone: +420 377 632 837 > University of West Bohemia | location: Univerzitni 22 > Americka 42, 306 14 Pilsen, Czech Republic | room: UI402 > ------------------------------------------73!-de-OK1INC at OK0PPL.#BOH.CZE.EU- > > -- > katty > Jan Okrouhly ---------------------------------------\-\-\+\-\-\---okrouhly at civ.zcu.cz--- Laboratory for Computer Science | phone: +420 377 632 837 University of West Bohemia | location: Univerzitni 22 Americka 42, 306 14 Pilsen, Czech Republic | room: UI402 ------------------------------------------73!-de-OK1INC at OK0PPL.#BOH.CZE.EU- -- katty From Chunyen.Liu at garmin.com Tue Jan 21 10:39:14 2003 From: Chunyen.Liu at garmin.com (Liu, Chunyen) Date: Tue, 21 Jan 2003 09:39:14 -0600 Subject: [rt-users] ClearRestrictions() Message-ID: <6899B5417148F34AA929F2950FEFB3FD78EAA8@dallas.garmin.com> Someone in my company encountered something like this: After he clicked on one of the queues, he immediately clicked on "New Search" within that queue but the queue restriction is stilll there. As I looked at the code, it calls ClearRestrictions() in Tickets.pm However, even after the cleanup, in the middle of /WebRT/html/Search/Listing.html, DescribeRestrictions() still returns a non-empty associate array of restrictions. My RT is 2.0.13 running on FreeBSD. Has this been fixed in later releases or is there a way I can get around this problem? Thanks. - C. L. From jgedeon at qualcomm.com Tue Jan 21 12:11:44 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Tue, 21 Jan 2003 09:11:44 -0800 Subject: [rt-users] CC from web form Message-ID: <5.1.0.14.2.20030121090938.03789b98@mail1.qualcomm.com> When a user creates a ticket and in that ticket cc's an internal mail list but doesn't include the @qualcomm.com after it the cc is never sent. Where does RT handle this? I need to make RT to assume @qualcomm.com like the rest of our mail servers do. Any help appreciated. John -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From colleen at darksideproductions.net Tue Jan 21 13:26:28 2003 From: colleen at darksideproductions.net (Colleen) Date: Tue, 21 Jan 2003 10:26:28 -0800 Subject: [rt-users] relationships and status Message-ID: <12F63B1280D5E444930A872E98BF552DAF04D8@darkside1.darksideproductions.net> (I think I may have posted this on the wrong list devel instead of users) Hi, I've just begun investigating the intricacies of Relationships and Links in RT. I was wondering if one of the relationship types take into consideration a 'cancellation'. For example, you have ticket #1639 for Big Request which is the parent of ticket #1640 for Small Request. We suddenly get a call and Big Request is cancelled (status==killed). How can I get Small Request to inherit this status (but only this status)? I feel like this is somehow included already in the functionality of RT. Am I incorrect? Thanks as always! -- Colleen Noonan Software Engineer Eros Guide www.eros-guide.com Oakland, CA 94607 510 208 2100 x188 From jgedeon at qualcomm.com Tue Jan 21 14:11:34 2003 From: jgedeon at qualcomm.com (John Gedeon) Date: Tue, 21 Jan 2003 11:11:34 -0800 Subject: [rt-users] CC from web form Message-ID: <5.1.0.14.2.20030121111101.059da008@mail1.qualcomm.com> I found the issue there is no script for CC's to be notified upon creation of a ticket. >At 09:11 AM 1/21/2003, you wrote: >>When a user creates a ticket and in that ticket cc's an internal mail >>list but doesn't include the @qualcomm.com after it the cc is never sent. >>Where does RT handle this? I need to make RT to assume @qualcomm.com like >>the rest of our mail servers do. >> >>Any help appreciated. >>John >> >> >>-- >><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >>your own understanding;" >> >>_______________________________________________ >>rt-users mailing list >>rt-users at lists.fsck.com >>http://lists.fsck.com/mailman/listinfo/rt-users >> >>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > > >-- ><>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on >your own understanding;" -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" From mglover at chem.ufl.edu Tue Jan 21 15:54:25 2003 From: mglover at chem.ufl.edu (Matt Glover) Date: Tue, 21 Jan 2003 15:54:25 -0500 Subject: [rt-users] RT and RedHat 8 Message-ID: Are there any known pitfalls to installing RT on a RH 8 box? I have tried twice with no luck. Just wondering if there is a compatibility issue that I missed. Thaks! matt ============================================== Matt Glover UF Chemistry Dept IT Shop 352-392-7885 116D Leigh Hall From russj at dimstar.net Tue Jan 21 16:31:46 2003 From: russj at dimstar.net (Russ Johnson) Date: Tue, 21 Jan 2003 13:31:46 -0800 Subject: [rt-users] On assign, send text of ticket to new owner Message-ID: <5.2.0.9.0.20030121133017.00bba048@localhost> Is there a way to do this? What I need is when a ticket is given to a new owner, the body of the ticket is included in the notification email. From rthompson at interpublic.com Tue Jan 21 16:40:42 2003 From: rthompson at interpublic.com (Ray Thompson) Date: Tue, 21 Jan 2003 15:40:42 -0600 Subject: [rt-users] RT and RedHat 8 Message-ID: I believe RHL 8.0 ships with Apache 2.0. I've heard that Apache 2.0 is flaky with Perl. Or is that PHP. Or both. I forget which... Ray > -----Original Message----- > From: rt-users-admin at lists.fsck.com > [mailto:rt-users-admin at lists.fsck.com] On Behalf Of Matt Glover > Sent: Tuesday, January 21, 2003 2:54 PM > To: rt-users at lists.fsck.com > Subject: [rt-users] RT and RedHat 8 > > > Are there any known pitfalls to installing RT on a RH 8 box? > I have tried twice with no luck. Just wondering if there is > a compatibility issue that I missed. > > Thaks! > > matt > > ============================================== > Matt Glover > UF Chemistry Dept IT Shop > 352-392-7885 > 116D Leigh Hall > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-> users > > Have you > read the FAQ? The RT FAQ Manager lives at > http://fsck.com/rtfm > From swapana_ghosh at yahoo.com Tue Jan 21 17:04:14 2003 From: swapana_ghosh at yahoo.com (Swapana Ghosh) Date: Tue, 21 Jan 2003 14:04:14 -0800 (PST) Subject: [rt-users] how to configure the RT web interface and RTmail server Message-ID: <20030121220414.20894.qmail@web41302.mail.yahoo.com> Hi This is regarding the installation of RT software. I aminstalling the RT software(latest version) in out Cobalt Raq4server. I have configured the web interface using Apache with mod_perl. Using the DocumentRoot /path/to/rt2/WebRT/html ServerName rt.example.com PerlModule Apache::DBI PerlRequire /path/to/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason These lines i have mentioned in the httpd.conf file just below the lines where my virutual host orginal directives are there. Then i stopped the httpd server and started again. But i am not getting any screen effects.........When i start to use the interface http://domain.com/rt2/WebRT/html/ - no html screen i am getting.. The screen getting like text format Here i am stucked... Can anyone help me out where i am making the mistakes??? Morevoer we are using sendmail. how to configure the support mail for RT - please give me some idea. I have mentioned in the /etc/aliases file like as follows: support: "|/usr/adm/sm.bin/rt-mailgate support" support-comment:"|/usr/adm/sm.bin/rt-mailgate support" where rt-mailgate i made a loft link to the original dir of rt-mailgate. This i have done for smrsh dir. and in the /etc/virtusertable file i made the entry as follows: support at domain.com support support-comment at domain.com support-comment Regards. -Swapna __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com From matthew at summit.net.au Tue Jan 21 23:59:17 2003 From: matthew at summit.net.au (Matthew Jarrett) Date: Wed, 22 Jan 2003 15:59:17 +1100 Subject: [rt-users] rt-2-0-15 install Message-ID: Hi, I am currently using FreeBSD 4.7-STABLE ... FreeBSD my.box 4.7-STABLE FreeBSD 4.7-STABLE #1 and I am tring to install rt2 from the ports collection (/usr/ports/www/rt2). I currently am using postgresql 7.3.1 and Apache 1.3.27 psql (PostgreSQL) 7.3.1 [Wed Jan 22 04:20:04 2003] [notice] Apache/1.3.27 (Unix) mod_fastcgi/2.2.12 mod_ssl/2.8.12 OpenSSL/0.9.6g mod_perl/1.27 PHP/4.2.3 configured -- resuming normal operations I am getting errors in the way that I am unable to create a new ticket via the web page for RT. RT via the web gives me an error that says: RT Error. If I do a tail on my postgresql logfile I get: ERROR: pg_atoi: zero-length string If I do a tail on my rt.log0 file I get: [Wed Jan 22 04:08:19 2003] [error]: WebRT: () [Wed Jan 22 04:08:37 2003] [err]: RT::Ticket=HASH(0x8e92b78) ->Create couldn't set EffectiveId: No value sent to _Set! [Wed Jan 22 04:08:37 2003] [error]: WebRT: () I have dropped the database, dropped the user, recreated both multiple times and deinstalled and reinstalled yet to no avail. I have the apache httpd.conf file configured correctly, I have checked this multiple times. I have also run the 'make testdeps' and this gives me the all clear. If anyone has seen this and / or may have some ideas on how to fix this, this would be greatly appreciated. I am going bald very quickly. Thanks in advance, Matthew. From alan at okeefeconsulting.com.au Tue Jan 21 23:51:05 2003 From: alan at okeefeconsulting.com.au (Alan O'Keefe) Date: 22 Jan 2003 15:51:05 +1100 Subject: [rt-users] rt-2-0-15 install In-Reply-To: References: Message-ID: <1043211065.16476.40.camel@tiny> Hi Matthew As Posted by Jesse in December: From: Jesse Vincent > To: rt-announce at fsck.com > Subject: [rt-users] [rt-announce] RT 2.0 and Postgres 7.3 > Date: 17 Dec 2002 09:38:31 -0500 > > At this time, RT 2.0.x is _not compatible_ with Postgres 7.3. > > Postgres' developers have made several incompatible SQL sand server > changes, requiring a number of changes to RT's core. > > At this time, it is strongly recommended that sites running RT on > Postgresql stick with v7.2 > > -j On Wed, 2003-01-22 at 15:59, Matthew Jarrett wrote: > Hi, > > I am currently using FreeBSD 4.7-STABLE ... > > FreeBSD my.box 4.7-STABLE FreeBSD 4.7-STABLE #1 > > and I am tring to install rt2 from the ports collection > (/usr/ports/www/rt2). > > I currently am using postgresql 7.3.1 and Apache 1.3.27 > > psql (PostgreSQL) 7.3.1 > > [Wed Jan 22 04:20:04 2003] [notice] Apache/1.3.27 (Unix) mod_fastcgi/2.2.12 > mod_ssl/2.8.12 OpenSSL/0.9.6g mod_perl/1.27 PHP/4.2.3 configured -- resuming > normal operations > > I am getting errors in the way that I am unable to create a new ticket via > the web page for RT. > > RT via the web gives me an error that says: RT Error. > > If I do a tail on my postgresql logfile I get: ERROR: pg_atoi: zero-length > string > > If I do a tail on my rt.log0 file I get: > > [Wed Jan 22 04:08:19 2003] [error]: WebRT: () > [Wed Jan 22 04:08:37 2003] [err]: RT::Ticket=HASH(0x8e92b78) ->Create > couldn't set EffectiveId: No value sent to _Set! > > > [Wed Jan 22 04:08:37 2003] [error]: WebRT: () > > I have dropped the database, dropped the user, recreated both multiple times > and deinstalled and reinstalled yet to no avail. > > I have the apache httpd.conf file configured correctly, I have checked this > multiple times. > > I have also run the 'make testdeps' and this gives me the all clear. > > If anyone has seen this and / or may have some ideas on how to fix this, > this would be greatly appreciated. > > I am going bald very quickly. > > Thanks in advance, > > Matthew. > > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm From matthew at summit.net.au Wed Jan 22 00:28:18 2003 From: matthew at summit.net.au (Matthew Jarrett) Date: Wed, 22 Jan 2003 16:28:18 +1100 Subject: [rt-users] rt-2-0-15 install In-Reply-To: <1043211065.16476.40.camel@tiny> Message-ID: Hi Alan, Thanks for your input, very very much appreciated. Now I'll just go and back date it to that version instead. Thanks. Cheers, Matthew -----Original Message----- From: Alan O'Keefe [mailto:alan at okeefeconsulting.com.au] Sent: Wednesday, 22 January 2003 3:51 PM To: Matthew Jarrett Cc: Rt-Users Subject: Re: [rt-users] rt-2-0-15 install Hi Matthew As Posted by Jesse in December: From: Jesse Vincent > To: rt-announce at fsck.com > Subject: [rt-users] [rt-announce] RT 2.0 and Postgres 7.3 > Date: 17 Dec 2002 09:38:31 -0500 > > At this time, RT 2.0.x is _not compatible_ with Postgres 7.3. > > Postgres' developers have made several incompatible SQL sand server > changes, requiring a number of changes to RT's core. > > At this time, it is strongly recommended that sites running RT on > Postgresql stick with v7.2 > > -j On Wed, 2003-01-22 at 15:59, Matthew Jarrett wrote: > Hi, > > I am currently using FreeBSD 4.7-STABLE ... > > FreeBSD my.box 4.7-STABLE FreeBSD 4.7-STABLE #1 > > and I am tring to install rt2 from the ports collection > (/usr/ports/www/rt2). > > I currently am using postgresql 7.3.1 and Apache 1.3.27 > > psql (PostgreSQL) 7.3.1 > > [Wed Jan 22 04:20:04 2003] [notice] Apache/1.3.27 (Unix) mod_fastcgi/2.2.12 > mod_ssl/2.8.12 OpenSSL/0.9.6g mod_perl/1.27 PHP/4.2.3 configured -- resuming > normal operations > > I am getting errors in the way that I am unable to create a new ticket via > the web page for RT. > > RT via the web gives me an error that says: RT Error. > > If I do a tail on my postgresql logfile I get: ERROR: pg_atoi: zero-length > string > > If I do a tail on my rt.log0 file I get: > > [Wed Jan 22 04:08:19 2003] [error]: WebRT: () > [Wed Jan 22 04:08:37 2003] [err]: RT::Ticket=HASH(0x8e92b78) ->Create > couldn't set EffectiveId: No value sent to _Set! > > > [Wed Jan 22 04:08:37 2003] [error]: WebRT: () > > I have dropped the database, dropped the user, recreated both multiple times > and deinstalled and reinstalled yet to no avail. > > I have the apache httpd.conf file configured correctly, I have checked this > multiple times. > > I have also run the 'make testdeps' and this gives me the all clear. > > If anyone has seen this and / or may have some ideas on how to fix this, > this would be greatly appreciated. > > I am going bald very quickly. > > Thanks in advance, > > Matthew. > > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm From mark.a.swayne at xo.com Wed Jan 22 02:26:43 2003 From: mark.a.swayne at xo.com (Swayne, Mark A) Date: Wed, 22 Jan 2003 01:26:43 -0600 Subject: [rt-users] RT Possibilites? Message-ID: <07CB76E4DED40047AC6E15F00D3367DB171FF9@utsaltex801.internal.nextlink.net> There are a number of ways to do this. The one that requires the least messing about (as far as I can tell) would be to subclass Mason's resolver. The resolver is the object that takes a component path and finds the component, among other things. See http://masonbook.com/book/chapter-12.mhtml#TOC-ANCHOR-4 for more info. The idea would be to have the resolver determine if the component exists in a Queue specific directory. If there is a special Queue version, return that component. If there isn't, return the normal component. The big question is, "How does the resolver know what queue the request is for?" I think the resolver is initialized once and reused for multiple requests (in a mod_perl environment). So you'll need to check the Request object ($HTML::Mason::Commands::m) to get the queue to look for. You'll You'll need to update the RT::Web::Interface module to use your new resolver. The 1.1x versions of Mason are written with subclassing in mind, so it shouldn't be too hairy. The other options I could think of required making changes to every file in the RT web interface. This seemed like a bad idea. I thought a bit about using multiple component roots. This is how the local component directory is set up. The problem is that each component root is checked in the order it is listed, and there doesn't seem to be a way for a component to decline to handle the request and force further searching of the component root list. Good luck. --Mark -----Original Message----- From: John Gedeon [mailto:jgedeon at qualcomm.com] Sent: Friday, January 17, 2003 4:56 PM To: rt-users at fsck.com Subject: Re: [rt-users] RT Possibilites? Would it be possible to have the directory structure like such WebRT/html/ Default/ Ticket/ User/ .... Queue1/ include only files I changed Queue2/ include only files I changed and have html_mason look at for the file in the queue's directory and if not found use the one in the Default? I would want this to also work for the .html files (IE so i could rearrage the forms or change some of the form names on the outside, like owner to assigned to) But I would want html mason to hide the Default or Queue1 part of the url from everything else. so a link like http://www.example.com/Ticket/History.html?id=42 would take them to the queue specific view of that ticket which would have the files in WebRT/html/Queue2/Ticket/History.html Is that possible? John At 02:01 PM 1/17/2003, Bruce Campbell wrote: >On Fri, 17 Jan 2003, John Gedeon wrote: > > > I have a request for a queue with the look of rt a little different. Thing > > is only people using that queue want the change. Is there a way to make > > different mason files show up for specific queues? Has this been done? > >Interesting. It certainly can be done. > >What you want to be doing is to have your collection of files for Queue >'foo'. For simplicity, give them the extension '.foo'. > >Then, you can change your main pages to include files based on the queue >name, eg: > > <& /Elements/TitleBoxEnd.$queuename &> > >( This is a quick example, and I'm skipping over a lot of stuff, such as > how you're setting $queuename etc ). > >If you wanted to be more tricky, you could have your magic include file, >like: > > <& /Elements/DefInclude, queue => $queuename, include => > '/Elements/TitleBoxEnd &> > >Where /Elements/DefInclude looked for the requested_file.$queuename, or >the requested_file in the former's absence. > > > Main point is how complex is it to have it done? > >Its not that complex, it would just be annoying to set this up (in >changing all the files that did includes in the appropriate manner). > >-- > Bruce Campbell RIPE > Systems/Network Engineer NCC > www.ripe.net - PGP562C8B1B Operations/Security > >_______________________________________________ >rt-users mailing list >rt-users at lists.fsck.com >http://lists.fsck.com/mailman/listinfo/rt-users > >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -- <>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on your own understanding;" _______________________________________________ rt-users mailing list rt-users at lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm -------------- next part -------------- An HTML attachment was scrubbed... URL: From hwagener at hamburg.fcb.com Wed Jan 22 03:31:43 2003 From: hwagener at hamburg.fcb.com (Harald Wagener) Date: Wed, 22 Jan 2003 09:31:43 +0100 Subject: [rt-users] RT and RedHat 8 In-Reply-To: Message-ID: Am Dienstag, 21.01.03 um 22:40 Uhr schrieb Ray Thompson: > >> >> Are there any known pitfalls to installing RT on a RH 8 box? >> I have tried twice with no luck. Just wondering if there is >> a compatibility issue that I missed. >> >> Thaks! >> >> matt >> > I believe RHL 8.0 ships with Apache 2.0. > I've heard that Apache 2.0 is flaky with Perl. Or is that PHP. Or > both. I forget which... RH8's mod_perl is an experimental release, which is not known to be stable at all times. You could ry driving RT via fastcgi. Regards, Harald -- Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg From hwagener at hamburg.fcb.com Wed Jan 22 03:33:00 2003 From: hwagener at hamburg.fcb.com (Harald Wagener) Date: Wed, 22 Jan 2003 09:33:00 +0100 Subject: [rt-users] On assign, send text of ticket to new owner In-Reply-To: <5.2.0.9.0.20030121133017.00bba048@localhost> Message-ID: <1DDC7F80-2DE4-11D7-81C9-003065DC18B8@hamburg.fcb.com> Am Dienstag, 21.01.03 um 22:31 Uhr schrieb Russ Johnson: > Is there a way to do this? > > What I need is when a ticket is given to a new owner, the body of the > ticket is included in the notification email. There is an OnOwnerChange scrip condition in the contrib files, and displaying the full history of a ticket has been discussed on the list recently. You should find it when checking the archive. Regards, Harald -- Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg From ian.gilmour at ffei.co.uk Wed Jan 22 04:52:55 2003 From: ian.gilmour at ffei.co.uk (Ian Gilmour) Date: Wed, 22 Jan 2003 09:52:55 -0000 Subject: [rt-users] RT and RedHat 8 Message-ID: <334D05460466D311A5E8009027AC788603880995@hhmail1.hh.ffei.co.uk> On a similar thread.... I'm currently still running with good ol' RT 1.0.7. I'm going to be attempting to install RT2.xx.xx (whatever the latest version is in 4-6 weeks time) on a Linux box in the near future. I don't really care which version of Linux I use providing it's a reasonably recent one. But I'd like to know the installation is going to work before I start. I've got experience with Mandrake and easy access to Redhat CD's. So, . what version of RT are people using? . and on what version of Linux? . and (if known) what specific hoops did you have to jump through to get it to install on your version of Linux? Presumably this could make a useful addition to the installation notes, which when discussing specifics, just seem to talk you through installing on Debian (unknown version, or maybe I just missed it), Redhat7.2, and Solaris 8? cheers, Ian > -----Original Message----- > From: Harald Wagener [mailto:hwagener at hamburg.fcb.com] > Sent: Wednesday, January 22, 2003 8:32 AM > To: rt-users at lists.fsck.com > Subject: Re: [rt-users] RT and RedHat 8 > > > > Am Dienstag, 21.01.03 um 22:40 Uhr schrieb Ray Thompson: > > > >> > >> Are there any known pitfalls to installing RT on a RH 8 box? > >> I have tried twice with no luck. Just wondering if there is > >> a compatibility issue that I missed. > >> > >> Thaks! > >> > >> matt > >> > > I believe RHL 8.0 ships with Apache 2.0. > > I've heard that Apache 2.0 is flaky with Perl. Or is that PHP. Or > > both. I forget which... > > RH8's mod_perl is an experimental release, which is not known to be > stable at all times. You could ry driving RT via fastcgi. > > Regards, > Harald > > -- > Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm From binand at gmx.net Wed Jan 22 05:14:34 2003 From: binand at gmx.net (Binand Raj S.) Date: Wed, 22 Jan 2003 15:44:34 +0530 Subject: [rt-users] RT and RedHat 8 In-Reply-To: <334D05460466D311A5E8009027AC788603880995@hhmail1.hh.ffei.co.uk> References: <334D05460466D311A5E8009027AC788603880995@hhmail1.hh.ffei.co.uk> Message-ID: <20030122101434.GA5091@binand.cysphere.com> On Wed, Jan 22, 2003 at 09:52:55AM -0000, Ian Gilmour wrote: > I don't really care which version of Linux I use providing it's a reasonably > recent one. But I'd like to know the installation is going to work before I > start. > > I've got experience with Mandrake and easy access to Redhat CD's. > > So, > . what version of RT are people using? I am running 2.0.15 here. > . and on what version of Linux? RedHat 7.3 + All updates. Apache is 1.3.27. mod_fastcgi 2.2.12. perl-5.6.1-34.99.6. RHDB 2.1 (which is essentially postgresql 7.2.3). > . and (if known) what specific hoops did you > have to jump through to get it to install on your > version of Linux? The RT dependency tree - no question about it :) Some of them are available as RPMs in RedHat 7.3, but some are not. Unfortunately, I didn't save the order in which I installed them. All are available from CPAN, but somehow the CPAN shell never works for me. Installed from Sources: ApacheDBI-0.88 Apache-Session-1.54 Attribute-Handlers-0.77 Cache-Cache-1.01 CGI.pm-2.81 Class-Data-Inheritable-0.02 DBIx-DataSource-0.02 DBIx-SearchBuilder-0.60 Devel-StackTrace-0.9 Digest-SHA1-2.01 Error-0.15 Exception-Class-1.01 FCGI-0.65 File-Spec-0.82 File-Temp-0.12 FreezeThaw-0.41 Getopt-Long-2.31 HTML-Mason-1.02 IPC-ShareLite-0.08 libapreq-1.0 Log-Dispatch-2.00 MIME-tools-5.411a MLDBM-2.00 Params-Validate-0.16 Storable-2.06 Text-Template-1.43 Text-Wrapper-1.000 Tie-IxHash-1.21 Installed from RPMs (RedHat CD): gcc-2.96-110.i386.rpm binutils-2.11.93.0.2-11.i386.rpm cpp-2.96-110.i386.rpm glibc-devel-2.2.5-42.i386.rpm glibc-kernheaders-2.4-7.16.i386.rpm perl-libnet-1.0703-6.noarch.rpm apache-devel-1.3.20-16.i386.rpm perl-IO-stringy-1.220-1.i386.rpm perl-MailTools-1.15-4.i386.rpm Binand From mglover at chem.ufl.edu Wed Jan 22 08:51:58 2003 From: mglover at chem.ufl.edu (Matt Glover) Date: Wed, 22 Jan 2003 08:51:58 -0500 Subject: [rt-users] RT and RedHat 8 In-Reply-To: Message-ID: ~> -----Original Message----- ~> From: rt-users-admin at lists.fsck.com ~> [mailto:rt-users-admin at lists.fsck.com]On Behalf Of Harald Wagener ~> Sent: Wednesday, January 22, 2003 3:32 AM ~> To: rt-users at lists.fsck.com ~> Subject: Re: [rt-users] RT and RedHat 8 ~> ~> ~> ~> Am Dienstag, 21.01.03 um 22:40 Uhr schrieb Ray Thompson: ~> > ~> >> ~> >> Are there any known pitfalls to installing RT on a RH 8 box? ~> >> I have tried twice with no luck. Just wondering if there is ~> >> a compatibility issue that I missed. ~> >> ~> >> Thaks! ~> >> ~> >> matt ~> >> ~> > I believe RHL 8.0 ships with Apache 2.0. ~> > I've heard that Apache 2.0 is flaky with Perl. Or is that PHP. Or ~> > both. I forget which... ~> ~> RH8's mod_perl is an experimental release, which is not known to be ~> stable at all times. You could ry driving RT via fastcgi. Thanks for all the replies. I read in another post that someone was able to set it up with a pretty standard RH 7.2 install so I'm going to try that first. matt From charon at cyc.com Wed Jan 22 11:39:26 2003 From: charon at cyc.com (Charles Smith) Date: Wed, 22 Jan 2003 10:39:26 -0600 Subject: [rt-users] FastCGI/Mason: "could not find component for initial path..." Message-ID: <01aa01c2c234$d3e98660$4308cfcf@cyc.com> Figured I should try this list instead. I've held my breath for quite some time going though these list archives, but I am now stuck. I have new versions of everything (RT, Mason, FastCGI/mod_fastcgi, Perl, MySQL, Apache [not 2]). Running SuSE 8.1. I have a problem described earlier, but the fix posted did not help me. It is: could not find component for initial path '/opt/rt2/WebRT/html/index.html' Stack: [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166] [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:216] [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:279] [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:228] [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:222] [/opt/rt2/bin/mason_handler.fcgi:208] I, however, also get this error in the error_log: [error] [client 207.207.8.67] FastCGI: server "/opt/rt2/bin/mason_handler.fcgi" stderr: Your component path (/opt/rt2/WebRT/html/index.html) matches a real file on disk (/opt/rt2/WebRT/html/index.html). Have you read about the component root in the Administrator's Manual (HTML::Mason::Admin)? at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Resolver/File.pm line 91, line 28. And yes, I have read it. That doesn't mean I completely understood it, however :) Anyway, here is my config: From jesse at bestpractical.com Wed Jan 22 12:04:34 2003 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 22 Jan 2003 12:04:34 -0500 Subject: [rt-users] FastCGI/Mason: "could not find component for initial path..." In-Reply-To: <01aa01c2c234$d3e98660$4308cfcf@cyc.com> References: <01aa01c2c234$d3e98660$4308cfcf@cyc.com> Message-ID: <20030122170434.GI12365@pallas.fsck.com> > I have a problem described earlier, but the fix posted did not help me. It > is: > could not find component for initial path '/opt/rt2/WebRT/html/index.html' So, when I go to a page I know to be undefined "/Foo", I get the message could not find component for initial path '/Foo.html' Is it perhaps the case that you're typing http://host/opt/rt2/WebRT/html/index.html into you browser, rather than http://host/ ? -- ?|? http://www.bestpractical.com/rt -- Trouble Ticketing. Free. From charon at cyc.com Wed Jan 22 12:11:30 2003 From: charon at cyc.com (Charles Smith) Date: Wed, 22 Jan 2003 11:11:30 -0600 Subject: [rt-users] FastCGI/Mason: "could not find component for initial path..." References: <01aa01c2c234$d3e98660$4308cfcf@cyc.com> <20030122170434.GI12365@pallas.fsck.com> Message-ID: <01d101c2c239$4e64aba0$4308cfcf@cyc.com> No, I'm actually going to ~http://rt.foo.com The login page comes up and I can log in as root, but whenever I go to any of the subpages, such as home, configuration, search, etc. then that message comes up, as either index.html, prefs.html, or whatever. Do I have the MasonComponentRoots set incorrectly? Thanks, -Charles > So, when I go to a page I know to be undefined "/Foo", I get the message > could not find component for initial path '/Foo.html' Is it perhaps > the case that you're typing http://host/opt/rt2/WebRT/html/index.html > into you browser, rather than http://host/ ? From mrz at intelenet.net Wed Jan 22 12:48:59 2003 From: mrz at intelenet.net (matthew zeier) Date: Wed, 22 Jan 2003 09:48:59 -0800 Subject: [rt-users] postgres status, mysql -> postgres migration Message-ID: <003d01c2c23e$8af024f0$6d180a0a@MRZTP> I haven't paid attention to RT's production status with Postgres 7.3 - any feedback? I'm also looking for any notes on migrating a RT installation on mysql to postgres. Thanks. -- matthew zeier | "Nothing in life is to be feared. InteleNet Communications, Inc. | It is only to be understood." (949) 784-7904 | - Marie Curie From jesse at bestpractical.com Wed Jan 22 13:19:30 2003 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 22 Jan 2003 13:19:30 -0500 Subject: [rt-users] FastCGI/Mason: "could not find component for initial path..." In-Reply-To: <01d101c2c239$4e64aba0$4308cfcf@cyc.com> References: <01aa01c2c234$d3e98660$4308cfcf@cyc.com> <20030122170434.GI12365@pallas.fsck.com> <01d101c2c239$4e64aba0$4308cfcf@cyc.com> Message-ID: <20030122181930.GL12365@pallas.fsck.com> On Wed, Jan 22, 2003 at 11:11:30AM -0600, Charles Smith wrote: > No, I'm actually going to ~http://rt.foo.com > The login page comes up and I can log in as root, but whenever I go to any > of the subpages, such as home, configuration, search, etc. then that message > comes up, as either index.html, prefs.html, or whatever. what's the full path that it's pointing you to for "Prefs.html"? > > Do I have the MasonComponentRoots set incorrectly? > > Thanks, > -Charles > > > So, when I go to a page I know to be undefined "/Foo", I get the message > > could not find component for initial path '/Foo.html' Is it perhaps > > the case that you're typing http://host/opt/rt2/WebRT/html/index.html > > into you browser, rather than http://host/ ? > > > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > -- ?|? http://www.bestpractical.com/rt -- Trouble Ticketing. Free. From charon at cyc.com Wed Jan 22 19:26:56 2003 From: charon at cyc.com (Charles Smith) Date: Wed, 22 Jan 2003 18:26:56 -0600 Subject: [rt-users] FastCGI/Mason: "could not find component for initial path..." References: <01aa01c2c234$d3e98660$4308cfcf@cyc.com> <20030122170434.GI12365@pallas.fsck.com> <01d101c2c239$4e64aba0$4308cfcf@cyc.com> <20030122181930.GL12365@pallas.fsck.com> Message-ID: <00b901c2c276$233858e0$4308cfcf@cyc.com> > what's the full path that it's pointing you to for "Prefs.html"? http://rt.cyc.com/opt/rt2/WebRT/html/User/Prefs.html It does that with all links. I understand that since rt.cyc.com resolves to the path aready, it is doubling the paths (so essentially it is looking for /opt/rt2/WebRT/html/opt/rt2/WebRT/html/User/Prefs.html). So I guess it's a matter of understanding which path variables are absolute and which are relative. If I type in all the correct links manually, it works fine. I'm not sure if this explains the odd error_log message about Mason though. Thanks, -Charles From russj at dimstar.net Wed Jan 22 13:53:31 2003 From: russj at dimstar.net (Russ Johnson) Date: Wed, 22 Jan 2003 10:53:31 -0800 Subject: [rt-users] On assign, send text of ticket to new owner In-Reply-To: <1DDC7F80-2DE4-11D7-81C9-003065DC18B8@hamburg.fcb.com> References: <5.2.0.9.0.20030121133017.00bba048@localhost> Message-ID: <5.2.0.9.0.20030122104920.01899bd8@localhost> At 09:33 AM 1/22/2003 +0100, Harald Wagener wrote: >Am Dienstag, 21.01.03 um 22:31 Uhr schrieb Russ Johnson: > >>Is there a way to do this? >> >>What I need is when a ticket is given to a new owner, the body of the >>ticket is included in the notification email. > >There is an OnOwnerChange scrip condition in the contrib files, and >displaying the full history of a ticket has been discussed on the list >recently. You should find it when checking the archive. Thanks for your help. I already have the OnOwnerChange installed. I found what I think you were referring to for a template. However, the rendering of the archive leaves a lot to be desired. Here's what I see: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3DFULL TICKET HISTORY=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D {my $transactions =3D $Ticket->Transactions; while (my $trans =3D $transactions->Next) { $OUT .=3D $trans->CreatedObj->AsString . ": " . $trans->Description; if ($trans->TimeTaken) { $OUT .=3D " (".$trans->TimeTaken." min)"; } $OUT .=3D "\n"; if ($trans->Content) { $OUT .=3D $trans->Content . "\n"; } $OUT .=3D ('-'x78)."\n"; } 1; } I'm assuming that those =3D's are supposed to be something else. Unfortunately, I couldn't tell you what they are. Anyone who knows, please let me know. Thanks! Russ Johnson From darren at boston.com Wed Jan 22 14:01:58 2003 From: darren at boston.com (darren chamberlain) Date: Wed, 22 Jan 2003 14:01:58 -0500 Subject: [rt-users] On assign, send text of ticket to new owner In-Reply-To: <5.2.0.9.0.20030122104920.01899bd8@localhost> References: <5.2.0.9.0.20030121133017.00bba048@localhost> <5.2.0.9.0.20030122104920.01899bd8@localhost> Message-ID: <20030122-70396b5c1de5fc81a98da81b36709f94@mail.boston.com> * Russ Johnson [2003-01-22 13:55]: > I found what I think you were referring to for a template. However, > the rendering of the archive leaves a lot to be desired. Here's what I > see: All those =3D's should be =; a little global search and replace should fix that for you. > I'm assuming that those =3D's are supposed to be something else. > Unfortunately, I couldn't tell you what they are. Anyone who knows, > please let me know. I think that's quoted-printable encoding, which is pretty common for mailers. (darren) -- All is fear in love and war. From bpinksto at centenary.edu Wed Jan 22 14:36:12 2003 From: bpinksto at centenary.edu (Brad Pinkston) Date: Wed, 22 Jan 2003 13:36:12 -0600 Subject: [rt-users] Additional database fields Message-ID: <005f01c2c24d$852a56d0$8d5ac4cc@gents.centenary.edu> Has anyone experimented with adding extra fields to the rt database? I have a user requesting that a location field be added to our work request system. Currently the location is just written into the history/comments of the ticket. If anyone has had any experience with this or would like to help me tackle it, I would greatly appreciate it. Brad Pinkston Centenary College of LA Firewall/Network Administrator IT Department (318) 869-5003 bpinksto at centenary.edu From les at futuresource.com Wed Jan 22 14:49:03 2003 From: les at futuresource.com (Les Mikesell) Date: Wed, 22 Jan 2003 13:49:03 -0600 Subject: [rt-users] per-queue autoreply? Message-ID: I'm using email aliases to direct different addresses to different queues and would like a few to have custom autoreply messages. Is there a better way to accomplish this than deleting the global scrip that sends the autoreply and adding it back into each queue so I can control the template? (I.e. is there any way to leave the global setting but override it in some of the queues?). -- Les Mikesell les at futuresource.com From jesse at bestpractical.com Wed Jan 22 14:47:51 2003 From: jesse at bestpractical.com (Jesse Vincent) Date: Wed, 22 Jan 2003 14:47:51 -0500 Subject: [rt-users] FastCGI/Mason: "could not find component for initial path..." In-Reply-To: <00b901c2c276$233858e0$4308cfcf@cyc.com> References: <01aa01c2c234$d3e98660$4308cfcf@cyc.com> <20030122170434.GI12365@pallas.fsck.com> <01d101c2c239$4e64aba0$4308cfcf@cyc.com> <20030122181930.GL12365@pallas.fsck.com> <00b901c2c276$233858e0$4308cfcf@cyc.com> Message-ID: <20030122194751.GW12365@pallas.fsck.com> Well, you didn't paste in your "WebPath" "WebBaseURL" and "WebURL" variables, but I bet you have one of those set to include the filessytem path On Wed, Jan 22, 2003 at 06:26:56PM -0600, Charles Smith wrote: > > what's the full path that it's pointing you to for "Prefs.html"? > > http://rt.cyc.com/opt/rt2/WebRT/html/User/Prefs.html > > It does that with all links. I understand that since rt.cyc.com resolves to > the path aready, it is doubling the paths (so essentially it is looking for > /opt/rt2/WebRT/html/opt/rt2/WebRT/html/User/Prefs.html). So I guess it's a > matter of understanding which path variables are absolute and which are > relative. If I type in all the correct links manually, it works fine. > > I'm not sure if this explains the odd error_log message about Mason though. > > Thanks, > -Charles > > > > _______________________________________________ > rt-users mailing list > rt-users at lists.fsck.com > http://lists.fsck.com/mailman/listinfo/rt-users > > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm > -- ?|? http://www.bestpractical.com/rt -- Trouble Ticketing. Free. From tony at ics.com Wed Jan 22 15:11:30 2003 From: tony at ics.com (Tony Aiuto) Date: Wed, 22 Jan 2003 15:11:30 -0500 Subject: [rt-users] Additional database fields Message-ID: <200301222011.PAA12251@frito> >Has anyone experimented with adding extra fields to the rt database? >I have a user requesting that a location field be added to our work request >system. ... If anyone has had any experience with this or would like to >help me tackle it, I would greatly appreciate it. Yes. It's not too difficult if it's just a simple text field. I added a 'Department' to my Users table so that I could make the home page appear differently for people in different departments within our company. Here it is in a nutshell. YMMV Add the column ALTER TABLE Users Add Department varchar(16); User.pm Add the column to the %Cols block in _Accessible # {{{ ICS additions Department => 'public/read/write', # }}} CurrentUser.pm same kind of thing Pick a page where I can edit it (WebRT/html/Admin/Users/Modify.html in this case) Unix login:
+ Department: +
Extra info: