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

2009-11-13 Thread Baskaraganesan Natarajan
Folks,

I am running RT 3 in Fedora 10.

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

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



Template:
===Create-Ticket: Child

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

 ENDOFCONTENT

Error description: Log file

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



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

Thanks,


DISCLAIMER:
---

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

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

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


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


Re: [rt-users] Documentation on RT Objects

2009-09-23 Thread Baskaraganesan Natarajan
Hi Matthew,

Thanks much for your reply. I have got this installed and searched thru it.
It shows same page except for the choosen help topic in the title something 
like below.
perl5::vendor_perl::5::10::0::HTML::Mason::Compiler::ToObject

But it doesn't seem to contain details of members of the run-time objects like 
$TicketObj or any info on how to get the members of a group etc.  Can you 
please let me know.

Thanks,
Baskar N



-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Matthew Keller
Sent: Tuesday, September 08, 2009 6:31 PM
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Documentation on RT Objects

Baskaraganesan Natarajan wrote:
 I have RT 3.8.2 running in Fedora 9 and trying to configure by writing
 scrips. I am looking for documentation on using different runtime
 objects like $TicketObj / $TransactionObj etc. Can you please let me
 know if it is available somewhere in the web.

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

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


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

DISCLAIMER:
---

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

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

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


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


Re: [rt-users] Permission Denied Error - Ticket creation using mail

2009-09-16 Thread Baskaraganesan Natarajan
Hi,

I found that my sendmail configuration was wrong. When I get this corrected in 
my sendmail.cf file, I got rid of this error.  But getting a different error 
this time (Log below).  Searching thru, I see the following line in 
http://mail.python.org/pipermail/mailman-users/2000-June/005182.html. Any help 
from here...

Sendmail won't deliver to a setuid program unless the directory where the
process resides is writable only by the owner.  That means no group write
or `other' write priviledges.  Mailman requires that the `s' bit be set
for the group.


Changed 
Mprog,  P=/etc/smrsh/
To 
Mprog,  P=/usr/sbin/smrsh

Log
===
Sep 16 12:15:01 localhost sendmail[15363]: n8G6j0O6015363: from=root, size=0, 
class=0, nrcpts=1, relay=r...@localhost
Sep 16 12:15:13 localhost sendmail[15365]: n8G6jAvi015365: from=root, size=11, 
class=0, nrcpts=1, msgid=200909160645.n8g6javi015...@localhost.localdomain, 
relay=r...@localhost
Sep 16 12:15:13 localhost sendmail[15366]: n8G6jDAd015366: 
from=r...@localhost.localdomain, size=300, class=0, nrcpts=1, 
msgid=200909160645.n8g6javi015...@localhost.localdomain, proto=ESMTP, 
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 16 12:15:13 localhost sendmail[15365]: n8G6jAvi015365: to=helpdesk, 
ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:00, mailer=relay, pri=30011, 
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8G6jDAd015366 Message 
accepted for delivery)
Sep 16 12:15:13 localhost sendmail[15367]: n8G6jDAd015366: to=|rt-mailgate 
--queue 'CI new' --action correspond, ctladdr=helpd...@localhost.localdomain 
(8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30543, dsn=5.3.0, 
stat=unknown mailer error 1
Sep 16 12:15:13 localhost sendmail[15367]: n8G6jDAd015366: n8G6jDAd015367: DSN: 
unknown mailer error 1
Sep 16 12:15:13 localhost sendmail[15367]: n8G6jDAd015367: 
to=r...@localhost.localdomain, delay=00:00:00, xdelay=00:00:00, mailer=local, 
pri=31567, dsn=2.0.0, stat=Sent

Thanks,
Baskar N

-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Tuesday, September 15, 2009 10:21 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Permission Denied Error - Ticket creation using mail

On Tue, Sep 15, 2009 at 01:20:07PM +0530, Baskaraganesan Natarajan wrote:
Retrying...
[r...@localhost log]# ls -ltr /etc/ | grep smr

drwxrwxrwx  2 root root4096 2009-08-28 18:11 smrsh

Sep 15 10:38:34 localhost sendmail[8712]: n8EA3n3F006454: Warning: program 
 /etc/smrsh/ unsafe:
World writable directory

Read the error messages, you can't have a world writable /etc/smrsh

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

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


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

DISCLAIMER:
---

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

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

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


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


Re: [rt-users] Permission Denied Error - Ticket creation using mail

2009-09-16 Thread Baskaraganesan Natarajan
Hi Kevin,

I found that my sendmail configuration was wrong. When I get this corrected in 
my sendmail.cf file, I got rid of this error.  But getting a different error 
this time (Log below).  Searching thru, I see the following line in 
http://mail.python.org/pipermail/mailman-users/2000-June/005182.html. Any help 
from here...

Sendmail won't deliver to a setuid program unless the directory where the
process resides is writable only by the owner.  That means no group write
or `other' write priviledges.  Mailman requires that the `s' bit be set
for the group.


Changed 
Mprog,  P=/etc/smrsh/
To 
Mprog,  P=/usr/sbin/smrsh

Log
===
Sep 16 12:15:01 localhost sendmail[15363]: n8G6j0O6015363: from=root, size=0, 
class=0, nrcpts=1, relay=r...@localhost
Sep 16 12:15:13 localhost sendmail[15365]: n8G6jAvi015365: from=root, size=11, 
class=0, nrcpts=1, msgid=200909160645.n8g6javi015...@localhost.localdomain, 
relay=r...@localhost
Sep 16 12:15:13 localhost sendmail[15366]: n8G6jDAd015366: 
from=r...@localhost.localdomain, size=300, class=0, nrcpts=1, 
msgid=200909160645.n8g6javi015...@localhost.localdomain, proto=ESMTP, 
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 16 12:15:13 localhost sendmail[15365]: n8G6jAvi015365: to=helpdesk, 
ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:00, mailer=relay, pri=30011, 
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8G6jDAd015366 Message 
accepted for delivery)
Sep 16 12:15:13 localhost sendmail[15367]: n8G6jDAd015366: to=|rt-mailgate 
--queue 'CI new' --action correspond, ctladdr=helpd...@localhost.localdomain 
(8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30543, dsn=5.3.0, 
stat=unknown mailer error 1
Sep 16 12:15:13 localhost sendmail[15367]: n8G6jDAd015366: n8G6jDAd015367: DSN: 
unknown mailer error 1
Sep 16 12:15:13 localhost sendmail[15367]: n8G6jDAd015367: 
to=r...@localhost.localdomain, delay=00:00:00, xdelay=00:00:00, mailer=local, 
pri=31567, dsn=2.0.0, stat=Sent

Thanks,
Baskar N

-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Tuesday, September 15, 2009 10:21 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Permission Denied Error - Ticket creation using mail

On Tue, Sep 15, 2009 at 01:20:07PM +0530, Baskaraganesan Natarajan wrote:
Retrying...
[r...@localhost log]# ls -ltr /etc/ | grep smr

drwxrwxrwx  2 root root4096 2009-08-28 18:11 smrsh

Sep 15 10:38:34 localhost sendmail[8712]: n8EA3n3F006454: Warning: program 
 /etc/smrsh/ unsafe:
World writable directory

Read the error messages, you can't have a world writable /etc/smrsh

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

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


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

DISCLAIMER:
---

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

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

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


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


Re: [rt-users] Permission Denied Error - Ticket creation using mail

2009-09-15 Thread Baskaraganesan Natarajan
Retrying...


From: Baskaraganesan Natarajan
Sent: Tuesday, September 15, 2009 11:07 AM
To: 'rt-users@lists.bestpractical.com'
Subject: Permission Denied Error - Ticket creation using mail

Hi,

I am trying to get ticket creation thru mail up in a Fedora 10 box. I am using 
RT 3.8.  I am getting the following error in my maillog.  I tried using 
rt-mailgate directly from /usr/sbin/rt-mailgate.  But the same result.  I am 
not sure why I get a permission denied error here.  Any pointers will be very 
useful.

[r...@localhost log]# ls -ltr /etc/ | grep smr
drwxrwxrwx  2 root root4096 2009-08-28 18:11 smrsh
[r...@localhost log]# ls -ltr /etc/smrsh
total 16
-rwxrwxrwx 1 root root 12700 2009-08-27 10:28 rt-mailgate
lrwxrwxrwx 1 root root 9 2009-08-28 18:11 mail - /bin/mail
[r...@localhost log]#

Sep 15 10:38:34 localhost sendmail[8685]: n8EA5iIq006474: 
to=|/etc/smrsh/rt-mailgate --queue General --action correspond --url 
http://10.108.39.72/ --debug, ctladdr=corresp...@localhost.localdomain 
(8/0), delay=19:02:50, xdelay=00:00:00, mailer=prog, pri=1830557, dsn=4.0.0, 
stat=Operating system error
Sep 15 10:38:34 localhost sendmail[8712]: n8EA3n3F006454: Warning: program 
/etc/smrsh/ unsafe: World writable directory
Sep 15 10:38:34 localhost sendmail[8712]: n8EA3n3F006454: SYSERR(root): Cannot 
exec /etc/smrsh/: Permission denied
Sep 15 10:38:34 localhost sendmail[8685]: n8EA3n3F006454: 
to=|/etc/smrsh/rt-mailgate --queue General --action correspond --url 
http://10.108.39.72/ --debug, ctladdr=corresp...@localhost.localdomain 
(8/0), delay=19:04:45, xdelay=00:00:00, mailer=prog, pri=1830748, dsn=4.0.0, 
stat=Operating system error

Thanks,
Baskar N

DISCLAIMER:
---

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

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

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


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

[rt-users] RT Extension Custom Field for Checkbox

2009-09-15 Thread Baskaraganesan Natarajan
Hi,

I am running RT 3.8.2 in a Fedora 10 box.  We are trying to use checkboxes 
custom field extension from 
http://search.cpan.org/~ruz/RT-Extension-CustomField-Checkbox/.  I followed the 
instruction specified in the location http://www.cpan.org/modules/INSTALL.html. 
After installing and restarting the web sever, I don't see this new custom 
field in my RT configuration.  I have also tried putting Checkbox.pm under 
perl5/vendor_perl/5.10.0/RT/CustomField/  and EditCustomFieldSelectCheckbox 
under rt3/html/Elements/ directories manually.  Is there anything that I am 
missing here, can you please let me know.

Thanks,
Baskar N



DISCLAIMER:
---

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

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

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


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

Re: [rt-users] RT Extension Custom Field for Checkbox

2009-09-14 Thread Baskaraganesan Natarajan
Thanks much Aaron.  It works.

Thanks,
Baskar N


From: gui...@gmail.com [mailto:gui...@gmail.com] On Behalf Of Aaron Guise
Sent: Monday, September 14, 2009 4:30 PM
To: Baskaraganesan Natarajan
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT Extension Custom Field for Checkbox

Have you enabled the extension in RT_SiteConfig.pm?

Look for/create a line like Set(@Plugins
On Sat, Sep 12, 2009 at 1:12 AM, Baskaraganesan Natarajan 
banat...@hcl.inmailto:banat...@hcl.in wrote:

Retrying...



Hi,



I am running RT 3.8.2 in a Fedora 10 box.  We are trying to use checkboxes 
custom field extension from 
http://search.cpan.org/~ruz/RT-Extension-CustomField-Checkbox/http://search.cpan.org/%7Eruz/RT-Extension-CustomField-Checkbox/.
  I followed the instruction specified in the location 
http://www.cpan.org/modules/INSTALL.html. After installing and restarting the 
web sever, I don't see this new custom field in my RT configuration.  I have 
also tried putting Checkbox.pm under perl5/vendor_perl/5.10.0/RT/CustomField/  
and EditCustomFieldSelectCheckbox under rt3/html/Elements/ directories 
manually.  Is there anything that I am missing here, can you please let me know.



Thanks,

Baskar N





DISCLAIMER:

---



The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.

It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in

this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.

Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of

this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have

received this email in error please delete it and notify the sender 
immediately. Before opening any mail and

attachments please check them for viruses and defect.



---


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

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


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

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

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


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

[rt-users] Permission Denied Error - Ticket creation using mail

2009-09-14 Thread Baskaraganesan Natarajan
Hi,

I am trying to get ticket creation thru mail up in a Fedora 10 box. I am using 
RT 3.8.  I am getting the following error in my maillog.  I tried using 
rt-mailgate directly from /usr/sbin/rt-mailgate.  But the same result.  I am 
not sure why I get a permission denied error here.  Any pointers will be very 
useful.

[r...@localhost log]# ls -ltr /etc/ | grep smr
drwxrwxrwx  2 root root4096 2009-08-28 18:11 smrsh
[r...@localhost log]# ls -ltr /etc/smrsh
total 16
-rwxrwxrwx 1 root root 12700 2009-08-27 10:28 rt-mailgate
lrwxrwxrwx 1 root root 9 2009-08-28 18:11 mail - /bin/mail
[r...@localhost log]#

Sep 15 10:38:34 localhost sendmail[8685]: n8EA5iIq006474: 
to=|/etc/smrsh/rt-mailgate --queue General --action correspond --url 
http://10.108.39.72/ --debug, ctladdr=corresp...@localhost.localdomain 
(8/0), delay=19:02:50, xdelay=00:00:00, mailer=prog, pri=1830557, dsn=4.0.0, 
stat=Operating system error
Sep 15 10:38:34 localhost sendmail[8712]: n8EA3n3F006454: Warning: program 
/etc/smrsh/ unsafe: World writable directory
Sep 15 10:38:34 localhost sendmail[8712]: n8EA3n3F006454: SYSERR(root): Cannot 
exec /etc/smrsh/: Permission denied
Sep 15 10:38:34 localhost sendmail[8685]: n8EA3n3F006454: 
to=|/etc/smrsh/rt-mailgate --queue General --action correspond --url 
http://10.108.39.72/ --debug, ctladdr=corresp...@localhost.localdomain 
(8/0), delay=19:04:45, xdelay=00:00:00, mailer=prog, pri=1830748, dsn=4.0.0, 
stat=Operating system error

Thanks,
Baskar N

DISCLAIMER:
---

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

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

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


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

Re: [rt-users] RT Extension Custom Field for Checkbox

2009-09-11 Thread Baskaraganesan Natarajan
Retrying...

Hi,

I am running RT 3.8.2 in a Fedora 10 box.  We are trying to use checkboxes 
custom field extension from 
http://search.cpan.org/~ruz/RT-Extension-CustomField-Checkbox/.  I followed the 
instruction specified in the location http://www.cpan.org/modules/INSTALL.html. 
After installing and restarting the web sever, I don't see this new custom 
field in my RT configuration.  I have also tried putting Checkbox.pm under 
perl5/vendor_perl/5.10.0/RT/CustomField/  and EditCustomFieldSelectCheckbox 
under rt3/html/Elements/ directories manually.  Is there anything that I am 
missing here, can you please let me know.

Thanks,
Baskar N



DISCLAIMER:
---

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

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

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


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

Re: [rt-users] RT Extension Custom Field for Checkbox

2009-09-11 Thread Baskaraganesan Natarajan
Hi,
To add to it, I also don't see it under Loaded perl modules under System 
Configuration.

Thanks,
Baskar N


From: Baskaraganesan Natarajan
Sent: Friday, September 11, 2009 6:43 PM
To: 'rt-users@lists.bestpractical.com'
Subject: RE: RT Extension Custom Field for Checkbox
Sensitivity: Confidential

Retrying...

Hi,

I am running RT 3.8.2 in a Fedora 10 box.  We are trying to use checkboxes 
custom field extension from 
http://search.cpan.org/~ruz/RT-Extension-CustomField-Checkbox/.  I followed the 
instruction specified in the location http://www.cpan.org/modules/INSTALL.html. 
After installing and restarting the web sever, I don't see this new custom 
field in my RT configuration.  I have also tried putting Checkbox.pm under 
perl5/vendor_perl/5.10.0/RT/CustomField/  and EditCustomFieldSelectCheckbox 
under rt3/html/Elements/ directories manually.  Is there anything that I am 
missing here, can you please let me know.

Thanks,
Baskar N



DISCLAIMER:
---

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

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

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


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

[rt-users] Documentation on RT Objects

2009-09-08 Thread Baskaraganesan Natarajan
Hi,

I have RT 3.8.2 running in Fedora 9 and trying to configure by writing scrips. 
I am looking for documentation on using different runtime objects like 
$TicketObj / $TransactionObj etc. Can you please let me know if it is available 
somewhere in the web.

Thanks,
Baskar N

DISCLAIMER:
---

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

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

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


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

[rt-users] Error - DBD::mysql::st execute failed: MySQL server has gone away

2009-09-04 Thread Baskaraganesan Natarajan
Hi,

I have RT up in a Fedora 9 box.  It was working properly.  All of a sudden I 
see the following error when trying to create a ticket.

DBD::mysql::st execute failed: MySQL server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71.

I saw the same message in the mail achieve. It says this error is related to 
loss of connection with the mysql sever.  But I see mysqld running before and 
after the error.  I don't see any error or message in the SQL server.

I see the following lines in

/var/log/rt3/rt.log

 [Fri Sep  4 08:17:23 2009] [debug]: RT::Ticket=HASH(0xbc4df9dc) tried to load 
a bogus ticket: 469 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:172)
[Fri Sep  4 08:17:23 2009] [crit]: HasRight called with no valid object 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

/var/log/httpd/error_log

[Fri Sep  4 08:17:23 2009] [crit]: HasRight called with no valid object 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

Am I missing something her, can someone please help.

Thanks,
Baskar N



DISCLAIMER:
---

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

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

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


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

[rt-users] Error - DBD::mysql::st execute failed: MySQL server has gone away

2009-09-04 Thread Baskaraganesan Natarajan
Hi,

I have RT up in a Fedora 9 box.  It was working properly.  All of a sudden I 
see the following error when trying to create a ticket.

DBD::mysql::st execute failed: MySQL server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71.

I saw the same message in the mail achieve. It says this error is related to 
loss of connection with the mysql sever.  But I see mysqld running before and 
after the error.  I don't see any error or message in the SQL server.

I see the following lines in

/var/log/rt3/rt.log

 [Fri Sep  4 08:17:23 2009] [debug]: RT::Ticket=HASH(0xbc4df9dc) tried to load 
a bogus ticket: 469 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:172)
[Fri Sep  4 08:17:23 2009] [crit]: HasRight called with no valid object 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

/var/log/httpd/error_log

[Fri Sep  4 08:17:23 2009] [crit]: HasRight called with no valid object 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

Am I missing something her, can someone please help.

Thanks,
Baskar N



DISCLAIMER:
---

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

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

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


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

[rt-users] Error - DBD::mysql::st execute failed: MySQL server has gone away

2009-09-04 Thread Baskaraganesan Natarajan
Retrying...


From: Baskaraganesan Natarajan
Sent: Friday, September 04, 2009 2:46 PM
To: 'rt-users@lists.bestpractical.com'
Subject: Error - DBD::mysql::st execute failed: MySQL server has gone away
Sensitivity: Confidential

Hi,

I have RT up in a Fedora 9 box.  It was working properly.  All of a sudden I 
see the following error when trying to create a ticket.

DBD::mysql::st execute failed: MySQL server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71.

I saw the same message in the mail achieve. It says this error is related to 
loss of connection with the mysql sever.  But I see mysqld running before and 
after the error.  I don't see any error or message in the SQL server.

I see the following lines in

/var/log/rt3/rt.log

 [Fri Sep  4 08:17:23 2009] [debug]: RT::Ticket=HASH(0xbc4df9dc) tried to load 
a bogus ticket: 469 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:172)
[Fri Sep  4 08:17:23 2009] [crit]: HasRight called with no valid object 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

/var/log/httpd/error_log

[Fri Sep  4 08:17:23 2009] [crit]: HasRight called with no valid object 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Principal_Overlay.pm:322)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 67. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:67)
[Fri Sep  4 08:17:23 2009] [warning]: DBD::mysql::st execute failed: MySQL 
server has gone away at 
/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm line 71. 
(/usr/lib/perl5/vendor_perl/5.10.0/Apache/Session/Lock/MySQL.pm:71)

Am I missing something her, can someone please help.

Thanks,
Baskar N



DISCLAIMER:
---

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

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

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


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

[rt-users] Logging into rt.log from Scrips

2009-09-04 Thread Baskaraganesan Natarajan
Hi,

I am writing scrips to customize my RT in Fedora 9 with MySQL back-end.  I have 
configured RT to log into a file (rt.log) in RT_SiteConfig.pm. Is it possible 
to get debug messages  printed into the log file.  I have added some print 
statements in scripts. I don't find them printed in rt.log or the http log. I 
searched the mail archives.  Couldn't locate. Can someone give me some pointers.

Thanks,
Baskar N


DISCLAIMER:
---

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

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

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


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

Re: [rt-users] Mail Alias Setup

2009-09-03 Thread Baskaraganesan Natarajan
Hi,

I need some help in understanding the line for mail alias setup.  I understand 
that when a mail is sent to the id rt, it gets redirected to the members 
specified in the second column.  I am not sure why this gets redirected and why 
the | is used in here.

rt: |/etc/smrsh/rt-mailgate --queue 'general' --action correspond --url 
!http://rt3-host/

Thanks,
Baskar N


DISCLAIMER:
---

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

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

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


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