[rt-users] Web UI Error immediately upon login

2016-11-26 Thread Odhiambo Washington
Hi,

I am stuck at a point with RT (4.4.1). When I login, I get this error: *An
internal RT error has occurred. Your administrator can find more details in
RT's log files.*

My rt.log has the following:

[90276] [Sat Nov 26 12:18:54 2016] [info]: Successful login for root from
105.58.149.231 (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:831)
[90276] [Sat Nov 26 12:18:54 2016] [error]: encountered object '1', but
neither allow_blessed, convert_blessed nor allow_tags settings are enabled
(or TO_JSON/FREEZE method missing) at
/usr/local/lib/perl5/site_perl/JSON.pm line 154,  line 25.

Stack:
  [/usr/local/lib/perl5/site_perl/JSON.pm:154]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:193]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:4396]
  [/opt/rt4/share/html/Elements/JavascriptConfig:87]
  [/opt/rt4/share/html/Elements/Header:64]
  [/opt/rt4/share/html/index.html:4]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:696]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:375]
  [/opt/rt4/share/html/autohandler:53]
(/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)
[90276] [Sat Nov 26 12:18:54 2016] [error]: encountered object '1', but
neither allow_blessed, convert_blessed nor allow_tags settings are enabled
(or TO_JSON/FREEZE method missing) at
/usr/local/lib/perl5/site_perl/JSON.pm line 154,  line 43.


Any ideas how I can fix the problem will be appreciated.




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - January 9-11 2017

[rt-users] Error after upgrade from 4.4.1rc1 to 4.4.1

2016-09-22 Thread Odhiambo Washington
Hi,

I have upgraded my RT and now I get an error immediately after I enter the
login details.

The error from rt.log says:

[78365] [Thu Sep 22 10:48:30 2016] [error]: encountered object '1', but
neither allow_blessed, convert_blessed nor allow_tags settings are enabled
(or TO_JSON/FREEZE method missing) at
/usr/local/lib/perl5/site_perl/JSON.pm line 154.

Stack:
  [/usr/local/lib/perl5/site_perl/JSON.pm:154]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:193]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:4396]
  [/opt/rt4/share/html/Elements/JavascriptConfig:87]
  [/opt/rt4/share/html/Elements/Header:64]
  [/opt/rt4/share/html/index.html:4]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:696]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:375]
  [/opt/rt4/share/html/autohandler:53]
(/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)

Not sure exactly what is wrong. Could it be something in RT_SiteConfig.pm,
much as it was working well with 4.4.1rc??



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

Re: [rt-users] Problem to integrate exim4 with request tracker 4.0

2014-09-14 Thread Odhiambo Washington
You probably need to run some command to regenerate your configs for Exim4
so that the transport can be detected. I only know how to use the
monolithic Exim4 configuration, not the split config. Maybe:

sudo dpkg-reconfigure exim4-config





On 14 September 2014 11:49, Theodotos Andreou t...@ubuntucy.org wrote:

 Hi all,

 I am trying to setup an RT 4.0 system with exim4. I want it to be queue
 agnostic, so the manual advised to use this setup:

 # cat /etc/exim4/conf.d/main/90_exim4-config_requesttracker
 RT_USER=www-data
 RT_URL=https://logs.markouassociates.com

 rt_transport:
  driver = pipe
  user = RT_USER
  command = rt-mailgate \
  --action '${if def:local_part_suffix {comment}{correspond}}' \
  --queue $local_part \
  --url RT_URL --no-verify-ssl

 rt_router:
  driver = accept
  local_part_prefix = rt-
  administration
  local_part_suffix_optional
  local_part_suffix = -comment
  transport = rt_transport

 But when I try to restart exim4 this is what I get:

 # service exim4 restart
  * Stopping MTA for restart
 2014-09-14 10:06:32 Exim configuration error in line 218 of
 /var/lib/exim4/config.autogenerated.tmp:
   main option rt_transport unknown
 Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not
 installing
 /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.
 autogenerated

 I know I must be doing something fundamentally wrong here but as an exim
 noob, I can't  figure it out.

 I am using RT 4.0.19 and exim4 4.82 both installed from the stock Ubuntu
 14.04 (64 bit) packages.

 Any ideas?


 --
 RT Training - Boston, September 9-10
 http://bestpractical.com/training




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] Problem to integrate exim4 with request tracker 4.0

2014-09-14 Thread Odhiambo Washington
Can we take this offlist, please? I can help you set it up from there.

First I don't understand why your file is named .tmp. In a monolithic
config, you should be getting something like 'error in line XXX of
exim4.config

I am on skype as odhia...@outlook.com or pipind. Please catch me on that if
possible, else let's move into private e-mail I help you troubleshoot.





On 14 September 2014 12:36, Theodotos Andreou t...@ubuntucy.org wrote:

  OK I used dpkg-reconfigure to switch to a monolithic format. Now I get:

 # dpkg-reconfigure exim4-config
  * Stopping MTA for restart
...done.
  * Restarting MTA
...done.
 ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system 
 possibly broken

 The panilog says:

 # cat /var/log/exim4/paniclog
 2014-09-13 08:20:06 Exim configuration error in line 218 of 
 /var/lib/exim4/config.autogenerated.tmp:
   main option rt_transport unknown
 2014-09-14 04:00:43 Exim configuration error in line 218 of 
 /var/lib/exim4/config.autogenerated.tmp:
   main option rt_transport unknown
 2014-09-14 10:06:32 Exim configuration error in line 218 of 
 /var/lib/exim4/config.autogenerated.tmp:
   main option rt_transport unknown

 What now?


 On 14/09/2014 12:14 μμ, Odhiambo Washington wrote:

 You probably need to run some command to regenerate your configs for Exim4
 so that the transport can be detected. I only know how to use the
 monolithic Exim4 configuration, not the split config. Maybe:

  sudo dpkg-reconfigure exim4-config





 On 14 September 2014 11:49, Theodotos Andreou t...@ubuntucy.org wrote:

 Hi all,

 I am trying to setup an RT 4.0 system with exim4. I want it to be queue
 agnostic, so the manual advised to use this setup:

 # cat /etc/exim4/conf.d/main/90_exim4-config_requesttracker
 RT_USER=www-data
 RT_URL=https://logs.markouassociates.com

 rt_transport:
  driver = pipe
  user = RT_USER
  command = rt-mailgate \
  --action '${if def:local_part_suffix {comment}{correspond}}' \
  --queue $local_part \
  --url RT_URL --no-verify-ssl

 rt_router:
  driver = accept
  local_part_prefix = rt-
  administration
  local_part_suffix_optional
  local_part_suffix = -comment
  transport = rt_transport

 But when I try to restart exim4 this is what I get:

 # service exim4 restart
  * Stopping MTA for restart
 2014-09-14 10:06:32 Exim configuration error in line 218 of
 /var/lib/exim4/config.autogenerated.tmp:
   main option rt_transport unknown
 Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not
 installing
 /var/lib/exim4/config.autogenerated.tmp to
 /var/lib/exim4/config.autogenerated

 I know I must be doing something fundamentally wrong here but as an exim
 noob, I can't  figure it out.

 I am using RT 4.0.19 and exim4 4.82 both installed from the stock Ubuntu
 14.04 (64 bit) packages.

 Any ideas?


 --
 RT Training - Boston, September 9-10
 http://bestpractical.com/training




  --
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 I can't hear you -- I'm using the scrambler.





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] Problem to integrate exim4 with request tracker 4.0

2014-09-14 Thread Odhiambo Washington
On 14 September 2014 15:15, Theodotos Andreou t...@ubuntucy.org wrote:

  Another think to have in mind. The Reply and Comment email addresses
 must have the following format in order to work:

 rt-queue@rt.example.com
 rt-queue-comme...@rt.example.com



Not quite.

For Exim4 and RT since 3.x, here is what you need in Exim's config when
using MySQL:

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=229052

Should work for RT4 with very minimal customizations.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] (no subject)

2013-03-27 Thread Odhiambo Washington
On 27 March 2013 01:38, Sergio Mesquita sergio.mesqui...@gmail.com wrote:

 Dear Sirs!

 Can you help me in one question.

 I try to configure send email to an account, so this can create
 automaticaly ticket on RT.
 I have exchange, where I have my account and postfix on RT System.

 I can create local tickets, works fine.

 But by this way don´t work.

 I configure on /etc/aliases

 helpdesk: |/opt/rt4/bin/rt-mailgate --queue helpdesk --action correspond
 --url http://192.168.254.190/rt;


 Can you give me some help.
 Need help urgently.


Which installation guide were you following and where do you find them
wanting?
What error message are you getting when you say this way don't work?
What errors does Postfix show?
What errors does Apache show?

There is nothing _urgent_ when you provide no clues as to what you're doing.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.


Re: [rt-users] RT Visual Interface Enhancements Enquiry

2012-07-11 Thread Odhiambo Washington
On Wed, Jul 11, 2012 at 3:19 PM, Nafiesa Allie nafie...@kromco.co.zawrote:

 Did you not get my mail with the attachment?

 Ok, I will put it in writing:  the file that I created is
 /svr/rt4/local/html/Callbacks/SLAC/Elements/Header/Head and its contents is:

 %INIT
 jQuery('table.myrt td.boxcontainer  div').detach().appendTo('table.myrt 
 tbody  tr').wrap('td class=boxcontainer /');
 /%INIT
 %ARGS
 /%ARGS

 Please bear in mind that I have never programmed in Java/Jquery or HTML
 before.


That's why you should consider paying Bestpractical to do this
customizations for you, I think. That's how the likes of Ruslan make their
living.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.


Re: [rt-users] re configure rt

2012-02-28 Thread Odhiambo Washington
On Tue, Feb 28, 2012 at 11:23, john s. firesk...@emailn.de wrote:


 Hello guys

 I have an simple question

 How can i reconfigure an existing Rt instance  without a new install


Reconfigure so that you achieve what exactly?



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
image001.png
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

[rt-users] ExtUtils-MakeMaker-6.58

2011-07-29 Thread Odhiambo Washington
I am having a strange problem with ExtUtils-MakeMaker-6.58 while trying to
update to rt-4.0.1
Seems like my perl installation is messed up somewhere.
ExtUtils-MakeMaker-6.58 always gets stuck at test 1/20 and I have to kill
it, which messes everything else.
Is there a way out??


Manifying blib/man3/Version::Requirements.3
Manifying blib/man3/CPAN::Meta::Validator.3
Manifying blib/man3/version.3
Manifying blib/man3/ExtUtils::MM_Any.3
  MSCHWERN/ExtUtils-MakeMaker-6.58.tar.gz
  /usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-MExtUtils::Command::MM -e test_harness(0, 'blib/lib', 'blib/arch')
t/*.t
t/00compile.t . ok
t/arch_check.t  ok
t/backwards.t . ok
t/basic.t . ok
t/build_man.t . ok
t/cd.t  ok
t/config.t  ok
t/dir_target.t  ok
t/FIRST_MAKEFILE.t  ok
t/fix_libs.t .. ok
t/fixin.t . ok
t/hints.t . ok
t/INST.t .. ok
t/INST_PREFIX.t ... ok
t/INSTALL_BASE.t .. 1/20

I kill it with ctrl+c and I get this:

^C  MSCHWERN/ExtUtils-MakeMaker-6.58.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MSCHWERN/ExtUtils-MakeMaker-6.58.tar.gz
Running make install
  make test had returned bad status, won't install without force
Running make for A/AV/AVAR/YAML-Syck-1.17.tar.gz
Warning: Prerequisite 'ExtUtils::MakeMaker = 6.42' for
'AVAR/YAML-Syck-1.17.tar.gz' failed when processing
'MSCHWERN/ExtUtils-MakeMaker-6.58.tar.gz' with 'make_test = NO'.
Continuing, but chances to succeed are limited.

  CPAN.pm: Going to build A/AV/AVAR/YAML-Syck-1.17.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite ExtUtils::MakeMaker 6.42 not found. We have unknown
version.
Writing Makefile for YAML::Syck
Warning: Prerequisite 'ExtUtils::MakeMaker = 6.42' for
'AVAR/YAML-Syck-1.17.tar.gz' failed when processing
'MSCHWERN/ExtUtils-MakeMaker-6.58.tar.gz' with 'make_test = NO'.
Continuing, but chances to succeed are limited.
.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
image001.png

2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] Modify actions menu

2011-06-24 Thread Odhiambo Washington
On Fri, Jun 24, 2011 at 13:24, Obando, David DE - EV d.oba...@ehapa.dewrote:

  Hi,

 ** **

 on a rt 4.0.1 installation I want to modify the actions menu shown when
 editing a ticket. I would like to hide some actions like Extract Article.
 Which file(s) do I have to edit?




Configuration - Global - User Rights

What happens when you deny the user the Create articles in this class
right?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.


2011 Training: http://bestpractical.com/services/training.html

Re: [rt-users] RT 4 - install on Debian Squeeze

2011-05-19 Thread Odhiambo Washington
On Thu, May 19, 2011 at 00:10, Gilbert Rebeiro gilb...@dido.ca wrote:

 Thanks Alex,

 That's what I would like to do, does anyone have a list of deps that are
 available under squeeze?


You can grab the RT4 source, run configure, then do:

make testdeps

That will tell you the modules you require.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
image001.png

Re: [rt-users] Avoiding backscatter enabling self help

2011-04-01 Thread Odhiambo Washington
On Sat, Apr 2, 2011 at 05:06, Kurt Zeilenga k...@openldap.org wrote:

 We've been experimenting with RT this week at OpenLDAP.org for servicing
 various help and contact by email services... i...@opendlap.org,
 webmas...@openldap.org, etc.   We have a general policy here at
 OpenLDAP.org to avoid email auto-responders, so as not to contribute to the
 backscatter problem.  But we also like self help services.

 We presently have the 'On Create Autoreply To Requestors' scrip disabled.

 I see there is a suggestion in the Wiki article 
 http://requesttracker.wikia.com/wiki/AutogeneratedPassword for generating
 passwords on first create (from email) from the user, and including this in
 the autoreply on create message.  I'm wondering if I might apply this patch
 to the response ticket so that on response to a user without a password will
 cause a password to be generated.  That would provide some self help
 opportunities to the user.  Any thoughts on how best to do this?

 For all other possible emails to the requestor, never send if the password
 hasn't ever been set.  Any thoughts on how to accomplish this?


Without even reading the Wiki, what I recall off the top of my head is that
you need to replace the default Autoreply Template with the one  from the
Wiki. After that, you need to enable the scrip you disabled. This will have
your desired action.

Again, what we want is to never send an email to a requestor without a human
 generating a correspondence to that requestor (and hence setting up their
 password).  Until then, we want to assume the email had a forged from
 address.  Am I on the right track above?  or is there a better way to setup
 RT to behave in this manner?

 In that case, I believe you want full human intervention on creating users
and assigning them passwords. In that case, there is no need for using a
scrip. That is not the way I know RT to work. Until then, we want to assume
the email had a forged from address - makes me wonder how the human will
verify that the e-mail address is legit. Perhaps you need some custom
condition that will send out a mail to the address, with a url with captcha,
let the recipient follow the captcha... scratch that. I think what you need
is a customized registration page somewhere, which uses captcha, submits
the details to a custom script that then injects the details into RT and
generates a response to the registrant with their password, and details on
how to track their request via your RT.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


Re: [rt-users] RT 3.8.8 on CentOS 5.5 slows down/hangs

2011-01-08 Thread Odhiambo Washington
On Sat, Jan 8, 2011 at 11:47 AM, Gregory Greafers
greg...@accesskenya.comwrote:

 Hullo RT Community,
 I finally have my RT 3.8.8 running on CentOS 5.5. It works fine but
 usually slows down at some point, whereby the RT page take long to load,
 even on refresh. This forces me to restart my Apache web server service
 for it to respond fast enough. I have done this like 4 times now.

 I thought our local DNS was slow in name resolution, so I tried
 accessing the RT page using its IP but nothing changes.

 Any ideas on where I could start troubleshooting? I need to pinpoint
 what exactly slows it at some random point, say in the evening or
 midmorning.


RT's performance is somehow pegged to the performance of the database server
(MySQL, PgSQL or Oracle). So I suggest you take a tour of
mysqltuner.pl(this is a website that also leads you to a script to
help tune your MySQL
server).
That is a specific shot in only one aspect. There are others but you did not
say much about your Apache, MySQL server, server specs...



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


Re: [rt-users] RT 4.0rc1 install error

2011-01-06 Thread Odhiambo Washington
You really have more problems not related to RT!
I'd be surprised if your Apache instance runs when you exclude RT
configuration from it. Does it??
First thing is you must have a running instance of Apache. Thereafter you
ensure that it meets RTs requirements in terms of either mod_perl.
I am afraid you have to follow that, though I must say I don't speak for RT
Team.


On Fri, Jan 7, 2011 at 1:04 AM, seb...@gmail.com seb...@gmail.com wrote:

 Thanks guys, i did the changes, and now apache starts fine but i cant
 access the RT Web.

 error.log says:

 [Thu Jan 06 18:56:42 2011] [error] (1)Operation not permitted:
 mod_mime_magic: can't read magic file /opt/rt4/conf/magic
 [Thu Jan 06 18:56:42 2011] [notice] Digest: generating secret for
 digest authentication ...
 [Thu Jan 06 18:56:42 2011] [notice] Digest: done
 [Thu Jan 06 18:56:42 2011] [notice] mod_python: Creating 4 session
 mutexes based on 256 max processes and 0 max threads.
 [Thu Jan 06 18:56:42 2011] [error] (2)No such file or directory: could
 not create /opt/rt4/run/httpd.pid
 [Thu Jan 06 18:56:42 2011] [error] httpd: could not log pid to file
 /opt/rt4/run/httpd.pid


 On Thu, Jan 6, 2011 at 6:36 PM, Kevin Falcone falc...@bestpractical.com
 wrote:
  On Thu, Jan 06, 2011 at 06:32:02PM -0300, seb...@gmail.com wrote:
  Hello, I'm installing a 4.0rc1 instance for test purposes.
 
  All steps when fine but when restarting apache i get this error:
  Can't locate /opt/rt4/bin/webmux.pl in @INC (@INC contains:
  /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
  /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
 
  My apache setup is this (same as running 3.6:
 
  Please have a look through the README when upgrading.
  It points to the new deployment documentation.  That is not a valid
  apache config for 4.0.
 
  -kevin
 
  VirtualHost *:80
  DocumentRoot /opt/rt4/share/html
  ErrorLog logs/rt
 PerlRequire /opt/rt4/bin/webmux.pl
 Location /NoAuth/images
 SetHandler default
 /Location
 Directory /opt/rt4/share/html
 Order allow,deny
 Allow from all
 SetHandler perl-script
 PerlResponseHandler RT::Mason
 /Directory
  /VirtualHost
 
  Thanks!
  Seb.-
 




-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


Re: [rt-users] RT 4.0rc1 install error

2011-01-06 Thread Odhiambo Washington
On Fri, Jan 7, 2011 at 1:51 AM, seb...@gmail.com seb...@gmail.com wrote:

 On Thu, Jan 6, 2011 at 7:13 PM, Odhiambo Washington odhia...@gmail.com
 wrote:
  You really have more problems not related to RT!
  I'd be surprised if your Apache instance runs when you exclude RT
  configuration from it. Does it??

 My apache runs 4 other applications normally. When i configure the
 apache as the docs i got the apache to crash.
 Maybe someone can paste his apache setup to compare with?


As it was pointed to you, please have a look through the README when
upgrading.
It points to the new deployment documentation.

cd rt-4.0.0rc1
perldoc docs/web_deployment.pod

Copy the one you want verbatim and change the paths only.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


[rt-users] Error after 3.9.7 Upgrade

2010-12-21 Thread Odhiambo Washington
I upgraded my test RT installation from 3.9.6 to 3.9.7 and now I get the
following error during login:

Can't locate object method host via package URI::_generic at
/opt/rt-3.9/sbin/../lib/RT/Interface/Web.pm line 658.

Is this something known, but whose solution I missed?

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


Re: [rt-users] Error after 3.9.7 Upgrade

2010-12-21 Thread Odhiambo Washington
On Tue, Dec 21, 2010 at 7:53 PM, Kevin Falcone falc...@bestpractical.comwrote:

 On Tue, Dec 21, 2010 at 07:41:34PM +0300, Odhiambo Washington wrote:
 I upgraded my test RT installation from 3.9.6 to 3.9.7 and now I get
 the following error
 during login:
 
 Can't locate object method host via package URI::_generic at
 /opt/rt-3.9/sbin/../lib/RT/Interface/Web.pm line 658.
 

 Sounds like your WebURL is invalid


I didn't change anything in RT_SiteConfig.pm during upgrade. 3.9.6 was
working with it well.
My config is http://inetpro.org/pastebin/10613
For some reason, this config makes Apache overload the server when I launch
RT and log in. to an extent even the DashBoard display get's so messed up.
Maybe some corrections I should make?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


[rt-users] Please help with rt-3.9.6

2010-11-29 Thread Odhiambo Washington
I have installed all perl modules, and I am using Apache22+modperl2.

I am able to launch rt-3.9.6 web UI when I use /opt/rt-3.9/sbin/rt-server
--port 8080

However, when I try using Apache on port 80, I get the error:


[error] [client 192.168.40.79] Mandatory parameter 'ah' missing in call to
RT::Interface::Web::Request-new()\n\t...propagated at
/usr/local/lib/perl5/site_perl/5.10.1/HTML/Mason/PSGIHandler/Streamy.pm line
53.\n

My virtualhost is:

VirtualHost *:80
ServerName rt.testdomain.com
DocumentRoot /opt/rt-3.9/share/html

# optional apache logs for RT
ErrorLog /opt/rt-3.9/var/log/apache2.error
TransferLog /opt/rt-3.9/var/log/apache2.access
# LogLevel debug

Directory /
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
/Directory

AddDefaultCharset UTF-8
PerlSetEnv RT_SITE_CONFIG /opt/rt-3.9/etc/RT_SiteConfig.pm
RedirectMatch permanent (.*)/$ $1/index.html
DocumentRoot /opt/rt-3.9/share/html
Directory /opt/rt-3.9/share/html
Order allow,deny
Allow from all
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt-3.9/sbin/rt-server
/Directory
/VirtualHost


Someone please tell me what could be causing this. I have looked all weekend
but cannot nail it down.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


Re: [rt-users] Please help with rt-3.9.6

2010-11-29 Thread Odhiambo Washington
On Mon, Nov 29, 2010 at 4:54 PM, Chia-liang Kao cl...@bestpractical.comwrote:

 Hi,

 Odhiambo Washington odhiambo at gmail.com writes:
 
  [error] [client 192.168.40.79] Mandatory parameter 'ah' missing in call
 to
  RT::Interface::Web::Request-new()\n\t...propagated at


 This seems to be caused by webmux-based modperl handlers being loaded to
 the same
 apache instance.  Do you have other vhost configuring rt using the old
 config?



Goddamit!! And all this time I thought I'd moved the file rt-3.8.conf away
from Apache!!

Thank you so much. I am now live on my testbox :-)



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


[rt-users] Error with rt-3.9.6

2010-11-26 Thread Odhiambo Washington
[Fri Nov 26 20:57:29 2010] [error] [client 192.168.40.79] Mandatory
parameter 'ah' missing in call to
RT::Interface::Web::Request-new()\n\t...pr
opagated at
/usr/local/lib/perl5/site_perl/5.10.1/HTML/Mason/PSGIHandler/Streamy.pm line
53.\n

And in Apache, I have:

VirtualHost *:80
ServerName rt.testdomain.com
DocumentRoot /opt/rt-3.9/share/html

# optional apache logs for RT
ErrorLog /opt/rt-3.9/var/log/apache2.error
TransferLog /opt/rt-3.9/var/log/apache2.access
# LogLevel debug

Directory /
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
/Directory

AddDefaultCharset UTF-8
PerlSetEnv RT_SITE_CONFIG /opt/rt-3.9/etc/RT_SiteConfig.pm

RedirectMatch permanent (.*)/$ $1/index.html

DocumentRoot /opt/rt-3.9/share/html
Directory /opt/rt-3.9/share/html
Order allow,deny
Allow from all
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt-3.9/sbin/rt-server
/Directory
/VirtualHost


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


[rt-users] Slight Problem with RT Display

2010-11-25 Thread Odhiambo Washington
I installed 3.9.6 as upgrade from 3.9.4 on my test machine. Now when I login
to RT, the main screen (what do I call it) displays as if some css is
missing.
i just don't seem to find any reason.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


Re: [rt-users] Slight Problem with RT Display

2010-11-25 Thread Odhiambo Washington
On Thu, Nov 25, 2010 at 5:09 PM, Kevin Falcone falc...@bestpractical.comwrote:

 On Thu, Nov 25, 2010 at 05:04:48PM +0300, Odhiambo Washington wrote:
 On Thu, Nov 25, 2010 at 4:54 PM, Kevin Falcone [1]
 falc...@bestpractical.com wrote:
 
   On Thu, Nov 25, 2010 at 03:20:10PM +0300, Odhiambo Washington wrote:
  I installed 3.9.6 as upgrade from 3.9.4 on my test machine.
 Now when I login to RT,
   the main
  screen (what do I call it) displays as if some css is missing.
  i just don't seem to find any reason.
 
   Other folks have reported this when running the old
 mason_handler.fcgi
   and reviewing docs/web_deployment.podf helped
 
 I use modperl2, not FCGI :-)

 This document still applies for mod_perl


Kevin,

You are so right! In my unwise counsel, I did not even realize the existence
of the doc/ folder, although looking at README and UPGRADING left me
wondering where some notes had disappeared to.
I am now going through RT_Config for 3.9.6 to craft out my own. I see some
new parameters already.
I now feel so stupid that I made so much assumptions, basing my
RT_SiteConfig.pm on the one from 3.8.8.

Thanks.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


Re: [rt-users] memory leak after search

2010-10-12 Thread Odhiambo Washington
On Tue, Oct 12, 2010 at 4:56 PM, Raed El-Hames raed.el-ha...@vialtus.comwrote:

  Thanks for you replies ..

 Because of the heavy customisation I have on my production enviroment , its
 not simple for me to upgrade RT versions,

 Do you know where the fix have been applied? Which modules/Elements ??




Nice point you have raised there, but I have a question.

1. Did you conform to RT localization rules from the word go?
2. Are your localizations standard?

I am asking because you've raised an issue that would bother everyone - that
you've done customizations that have now jailed you into a particular
version of RT. Perhaps you should have contributed your customizations back
to the developers to see if they could be incorporated into the main branch,
aka giving back to the community:)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
   -- Lucky Dube

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!

Re: [rt-users] memory leak after search

2010-10-12 Thread Odhiambo Washington
On Tue, Oct 12, 2010 at 8:48 PM, Raed El-Hames raed.el-ha...@vialtus.comwrote:

  My mistake every one, 00 too many .. (5)

 I was amused by the original question ..



 If everyone is happy with my set up  now, can they actually help with where
 the fixes for the memory leak are in 3.8.8



Ruslan, hopefully, will help:-)





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
   -- Lucky Dube

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!

Re: [rt-users] RT 3.8.8 segfaults apache 2 on OpenSUSE 11.x

2010-10-05 Thread Odhiambo Washington
On Tue, Oct 5, 2010 at 8:48 AM, Bruce Ferrell bferr...@baywinds.org wrote:

 This is too weird.

 At first I thought it was a bad upgrade from 3.6.3 but I installed again on
 a blank system and Apache didn't seem to start so I tried httpd2-prefork -X
 to see what Apache was doing.  nothing is dropped in the error log and
 Apache just terminates with a segfault. Anyone have any suggestions?


You mean that incorporating RT configuration into Apache causes Apache to
segfault?? Does Apache start normally without RT configurations added?
Catch the segfault and see what is causing it?

gdb `which httpd` httpd.core
bt full

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
   -- Lucky Dube

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!

Re: [rt-users] Installation Help

2010-08-20 Thread Odhiambo Washington
On Thu, Aug 19, 2010 at 10:49 PM, fba...@metlife.com wrote:

 I am looking at testing out RT and RTIR any suggestions on the best/easiest
 platform to test on.  I was thinking about using CentOS 5, but would like to
 use the latest version 3.8 but that does not seem like its available.  Is a
 manual installation the preferred method?  The WIKI seem to be a bit behind
 on installation directions.

 I already have MySql/Apache/PHP installed and running..


I can also imagine that perl comes installed by default on your CentOS. If
so, then manual install is the best. RT developers have made it so easy to
manually install/wipe out:-)
Just install mod_perl2 then grab RT sources and you are ready to roll! The
documentation provided in the tarball is quite ok, when combined with a bit
of common sense around your Apache configuration. PHP is not required at
all.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
   -- Lucky Dube

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!

Re: [rt-users] Mail Alias Setup

2009-09-03 Thread Odhiambo Washington
On Thu, Sep 3, 2009 at 3:22 PM, Baskaraganesan Natarajan banat...@hcl.inwrote:

  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/



The | is a pipe.

And you don't need the ! before yout http in that line.

What documentation is this you are reading?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
  -- Lucky Dube
___
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] Allow client to see their requested tickets

2009-04-02 Thread Odhiambo Washington
On Thu, Apr 2, 2009 at 2:53 PM, Dave Wells dave.we...@foreshore.net wrote:

 Hi,

 We have a requirement to allow our clients to have access to our
 ticketing system.

 We only want to allow them to see tickets that they are the requester
 for.

 We would also like them to have the ability to reply within their
 tickets.

 Its highly important that they obviously cant see any tickets that they
 are not the requester for.

 What would be the best way to go about this?


IIRC, there is something in the Wiki to help you do this: A template that
you use to autorespond, which gives the requestor a username and password
and a link to follow their request, some scrips and some configuration
(Privilege grants) in RT.
It's long since I did this, but I am sure I used to do it. Check the Addons
too.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
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] Database relocated onto alternate server

2009-04-01 Thread Odhiambo Washington
On Tue, Mar 31, 2009 at 4:59 PM, Keith A McDermott kmcde...@purdue.eduwrote:

 Hi there,

 I'm moving forward with my testing of RT 3.8.2.

 Setup:
 Virtual machine (Virtualbox) running RT3.8.2 in Debian Etch.  Web port
 is forwarded to the virtual machine through the host but otherwise there
 is no access to the VM.  I moved the database onto a production database
 server.

 RT_SiteConfig.pm has been altered to say:
 $DatabaseHost is set to dbproductionserver
 $DatabaseRTHost is set to the hostname of the vm host machine

 Problem:
 In the apache error logs, I get:
 DBI connect('dbname=rt;host=dbproductionhost','rt_user',...) failed:
 Access denied for user: 'rt_u...@hostmachinehostname' (Using password:
 YES) at /usr/local/share/perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106
 [Tue Mar 31 08:58:05 2009] [error] [client hostmachine.ip.goes.here]
 Connect Failed Access denied for user: 'rt_u...@hostmachinehostname'
 (Using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n

 And I get a 500 server error page returned to me.  However, I can use
 the mysql command line tools from the virtual machine and connect just
 fine.

 Is there possibly a port that's being expected to be open that i need to
 forward or something else that I'm missing?  This seemed like a pretty
 straightforward change in the beginning...


It should be straighforward just as you say.
Have you tested manually connecting to the DB like:

mysql -h dbproductionserver -urt_u...@hostmachinehostname -pSec3t rt

?? Did it work?

If not, then go to the dbproductionserver and give the necessary privileges
for rt_user to connect:

mysql GRANT ALL ON rt.* TO rt_u...@hostmachinehostname IDENTIFIED BY
Sec3t;
mysql flush privileges;


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
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] shipwright tarball for RT 3.8.1 ?

2009-01-16 Thread Odhiambo Washington
On Fri, Jan 16, 2009 at 4:00 PM, Andrew Cobaugh phale...@gmail.com wrote:

 On Fri, Jan 16, 2009 at 1:42 AM, Odhiambo Washington odhia...@gmail.com
 wrote:
  On Thu, Jan 15, 2009 at 7:38 PM, sunnavy sunn...@bestpractical.com
 wrote:
 
  hmm, seems some dists don't like gmake.
  I suggest get around this by another way, i.e. cp gmake to make:
  $ cd ( to home dir )
  $ mkdir bin
  $ cp /usr/local/bin/gmake bin/make
  $ cd ( to rt dir )
  $ PATH=~/bin:$PATH ./bin/shipwright-builder --install-base
  /tmp/vessel_3.8.2 --skip-test
 
  Good luck!
 
  It fails at the exact same point with the exact same message, so this
 method
  does not make a difference.
  Anything else I can try?

 Actually, the error you posted before looks like a problem with sed.
 What sed are you using? Do you have gnu sed laying around somewhere
 that you could try the same thing with (copying gsed to sed under
 ~/bin).


How do I find out sed version?
This is default sed in FreeBSD 7.x


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
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] shipwright tarball for RT 3.8.1 ?

2009-01-16 Thread Odhiambo Washington
On Fri, Jan 16, 2009 at 4:13 PM, Andrew Cobaugh phale...@gmail.com wrote:

 On Fri, Jan 16, 2009 at 8:08 AM, Odhiambo Washington odhia...@gmail.com
 wrote:
  How do I find out sed version?
  This is default sed in FreeBSD 7.x

 sed --version, at least with GNU sed.


I tried that b4 posting. It did not work.
gw# sed --version
sed: illegal option -- -
usage: sed script [-Ealn] [-i extension] [file ...]
   sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file
...]


 I'm not as familiar with freebsd as I should be, so I don't know what sed
 they use by default.

 Might be worth trying to see if you can get gsed installed.


I don't think it's worth breaking a system that much, so I will continue to
install RT the old way.

I give up on this test of shipwright, as installing gsed does not conform to
KISS principle.

Thanks though for the suggestions.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
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] shipwright tarball for RT 3.8.1 ?

2009-01-15 Thread Odhiambo Washington
On Thu, Jan 15, 2009 at 10:48 AM, sunnavy sunn...@bestpractical.com wrote:


 On Jan 15, 2009, at 1:19 PM, Andrew Cobaugh wrote:

  On Wed, Jan 14, 2009 at 11:44 PM, sunnavy
  sunn...@bestpractical.com wrote:
  Hi Andrew
 
  maybe some tests of deps failed?
 
  please try to use this cmd to build:
  $ ./bin/shipwright-builder --install-base /tmp/vessel_3.8.2 --skip-
  test
 
  # then we can run rt's own tests this way:
  $ /tmp/vessel_3.8.2/bin/rt-self-test
 
  Nope, same thing as before.  Perhaps I have an incomplete or outdated
  tarball? What do you get when you use
  http://fsck.com/~jesse/rt-3.8-vessel.tgzhttp://fsck.com/%7Ejesse/rt-3.8-vessel.tgz
   ?
 
  --andy

 I think I have found the DBIx-SearchBuilder problem, and I've updated
 our vessel.
 I set up a tmp web server for you to download the latest version:

 http://fsck.com:8081/vessels/3.8.tar.gz

 thanks very much!


I have been lurking around, but this I had to try, but wonder what I
missed...

gw# ./bin/shipwright-builder --install-base /opt/rt38
start to build and install freetype
running shipwright build command: ./configure --prefix=/opt/rt38
GNU make (= 3.79.1) or makepp (= 1.19) is required to build FreeType2.
Please try
  `GNUMAKE=GNU make command name ./configure'.
or 2
  `GNUMAKE=makepp --norc-substitution ./configure'.
build freetype configure part with failure.
 at ./bin/shipwright-builder line 379
main::_install('freetype', 'GLOB(0x8329524)') called at
./bin/shipwright-builder line 287
main::install() called at ./bin/shipwright-builder line 200

gw# gmake -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-portbld-freebsd7.0
gw# which gmake
/usr/local/bin/gmake

gw# ./bin/shipwright-builder --make /usr/local/bin/gmake --install-base
/opt/rt38
start to build and install freetype
running shipwright build command: ./configure --prefix=/opt/rt38
GNU make (= 3.79.1) or makepp (= 1.19) is required to build FreeType2.
Please try
  `GNUMAKE=GNU make command name ./configure'.
or 2
  `GNUMAKE=makepp --norc-substitution ./configure'.
build freetype configure part with failure.
 at ./bin/shipwright-builder line 379
main::_install('freetype', 'GLOB(0x8329530)') called at
./bin/shipwright-builder line 287
main::install() called at ./bin/shipwright-builder line 200

gw# uname -a
FreeBSD gw.crownkenya.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Dec
18 09:13:33 EAT 2008 r...@freebsd-7:/usr/obj/usr/src/sys/BEASTIE-7.x
i386



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Failure is the opportunity to begin again more intelligently. --Henry Ford
___
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] shipwright tarball for RT 3.8.1 ?

2009-01-15 Thread Odhiambo Washington
On Thu, Jan 15, 2009 at 5:43 PM, sunnavy sunn...@bestpractical.com wrote:

 as the error msg said, have you tried this?
 GNUMAKE=gmake ./bin/shipwright-builder --install-base /tmp/vessel_3.8.2
 --skip-test


Aah now ...

configure: creating ./config.status
config.status: creating unix-cc.mk
config.status: creating unix-def.mk
config.status: creating freetype-config
config.status: creating freetype2.pc
config.status: creating ftconfig.h
config.status: executing libtool commands
gmake: Nothing to be done for `unix'.
running shipwright build command: make
./builds/toplevel.mk, line 50: Need an operator
./builds/toplevel.mk, line 52: Missing dependency operator
./builds/toplevel.mk, line 54: Need an operator
./builds/toplevel.mk, line 55: Need an operator
./builds/toplevel.mk, line 64: Could not find ./objs/modules.cfg
./builds/toplevel.mk, line 86: Missing dependency operator
./builds/toplevel.mk, line 88: Need an operator
Error expanding embedded variable.
build freetype make part with failure.
 at ./bin/shipwright-builder line 379
main::_install('freetype', 'GLOB(0x8329548)') called at
./bin/shipwright -builder line
287
main::install() called at ./bin/shipwright-builder line 200


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Failure is the opportunity to begin again more intelligently. --Henry Ford
___
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] shipwright tarball for RT 3.8.1 ?

2009-01-15 Thread Odhiambo Washington
On Thu, Jan 15, 2009 at 6:28 PM, sunnavy sunn...@bestpractical.com wrote:

 Hi Odhiambo

 seems gmake can work, now try this one, with telling shipwright-builder the
 right 'make' cmd:

 $ GNUMAKE=gmake ./bin/shipwright-builder --make gmake --install-base
 /tmp/vessel_3.8.2 --skip-test


Now this one is running ...

According to the README, I am now on:
2. Get some coffee; it'll be a while

So I will go sleep and wake up on it tomorrow.

Thank you so much.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Failure is the opportunity to begin again more intelligently. --Henry Ford
___
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] shipwright tarball for RT 3.8.1 ?

2009-01-15 Thread Odhiambo Washington
On Thu, Jan 15, 2009 at 6:58 PM, Odhiambo Washington odhia...@gmail.comwrote:



 On Thu, Jan 15, 2009 at 6:28 PM, sunnavy sunn...@bestpractical.comwrote:

 Hi Odhiambo

 seems gmake can work, now try this one, with telling shipwright-builder
 the right 'make' cmd:

 $ GNUMAKE=gmake ./bin/shipwright-builder --make gmake --install-base
 /tmp/vessel_3.8.2 --skip-test


 Now this one is running ...

 According to the README, I am now on:
 2. Get some coffee; it'll be a while

 So I will go sleep and wake up on it tomorrow.


I spoke too soon. Maybe it heard me... and failed:)

snip
Finding dependencies for perlio.o.
Finding dependencies for perlapi.o.
Finding dependencies for numeric.o.
Finding dependencies for locale.o.
Finding dependencies for pp_pack.o.
Finding dependencies for pp_sort.o.
Finding dependencies for miniperlmain.o.
Finding dependencies for perlmain.o.
Finding dependencies for opmini.o.
echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH
makedir.SH my config.SH
writemain.SH pod/Makefile.SH | tr ' ' '\n' .shlist
Updating makefile...
test -s perlmain.c  touch perlmain.c
cd x2p; make depend
sh ../makedepend MAKE=make
echo hash.c  str.c util.c walk.c | tr ' ' '\n' .clist
Finding dependencies for hash.o.
Finding dependencies for str.o.
Finding dependencies for util.o.
Finding dependencies for walk.o.
echo Makefile.SH cflags.SH | tr ' ' '\n' .shlist
Updating makefile...
Now you must run 'make'.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

sed: 1: ./x2p/makefile: invalid command code .
build perl configure part with failure.
 at ./bin/shipwright-builder line 379
main::_install('perl', 'GLOB(0x8329560)') called at
./bin/shipwright-bui lder line
287
main::install() called at ./bin/shipwright-builder line 200


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Failure is the opportunity to begin again more intelligently. --Henry Ford
___
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] shipwright tarball for RT 3.8.1 ?

2009-01-15 Thread Odhiambo Washington
On Thu, Jan 15, 2009 at 7:38 PM, sunnavy sunn...@bestpractical.com wrote:

 hmm, seems some dists don't like gmake.
 I suggest get around this by another way, i.e. cp gmake to make:
 $ cd ( to home dir )
 $ mkdir bin
 $ cp /usr/local/bin/gmake bin/make
 $ cd ( to rt dir )
 $ PATH=~/bin:$PATH ./bin/shipwright-builder --install-base
 /tmp/vessel_3.8.2 --skip-test

 Good luck!


It fails at the exact same point with the exact same message, so this method
does not make a difference.
Anything else I can try?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Failure is the opportunity to begin again more intelligently. --Henry Ford
___
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] Scrip to selectively autorespond?

2008-12-07 Thread Odhiambo Washington
On Sun, Dec 7, 2008 at 4:28 PM, Atro Tossavainen [EMAIL PROTECTED]wrote:

 I was wondering if anybody has already dealt with the issue of RT either
 autoresponding to all incoming messages or not autoresponding to any at
 all.  Specifically, I'd like to try to implement recommendations of RFC
 3834 in the autoresponder - such as, if RT gets mail from another auto-
 responder that is easily identifiable as such, to stop generating loops.
 Any pointers will be welcome.

 --
 Atro Tossavainen (Mr.)


Not sure if I remember this correctly, but autoresponse e-mails should
have/contain a header with something like Precedence: bulk.
I am not sure what it is between bulk|junk|list, but given that, you can
check for the existence of that header in your MTA or procmail rule and stop
that mail from getting to RT.

My RT usage knowledge is quite rusty after over 1 year not using it, so
you'll excuse me. I am just catching up. There might be other elegant ways
than this.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Okay guys. This is Kenya. You pay taxes because you feel philanthropic,
unlike our MPs!
-- Kenneth Marende, Speaker, 10th Parilament.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Re: [rt-users] new install 3.8.1 old database

2008-10-26 Thread Odhiambo Washington
On Mon, Oct 27, 2008 at 7:38 AM, slamp slamp [EMAIL PROTECTED] wrote:
 hello everyone, i installed rt to a new directory and new database.
 imported all data from my old database and i am not able to login.
 what can i be doing wrong?

 mysqldumped the old database for 3.6.7.

 installed 3.8.1 to different dir and database.

 imported mysqldumped db from 3.6.7 to 3.8.1

 restarted httpd (after updating the new location)

 i am unable to login.

It's because you did NOT follow the instructions on UPGRADING:-)
Once you do that to the letter, I believe it will work.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Life must be understood backwards; but... it must be lived forward.
- Soren Kierkegaard
Oh My God! They killed init! You Bastards!
--from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] 3.6.1 - how to set default language for all users ?

2007-01-01 Thread Odhiambo Washington
* On 21/12/06 09:29 -0200, Dario Luis Coneglian Oliveros wrote:
| Does anyone know how to set a default language for all users ?
| I wonder if there's any property to set in RT_SiteConfig.pm or via web.

I could set the language for 1 user, then lookup the user properties in
the DB and see what has been put on the column for language. I'd then
just run a query to update that field for all users. Here is what I am
talking about:

1. I have logged into the web UI and changed my language from English to 
   French.
2. I then logged into the RT database and run a query to show me the
   columns in the table Users.
   I found that the field that contains the language setting is called
   'Lang'

sql select Lang from Users where EmailAddress = '[EMAIL PROTECTED]';

It returned 'fr' as the language.

So, for you, depending on the language you want (say if you wanted 
everyone to use French as the display language):


UPDATE Users SET Lang = 'fr';

That would do it.

PS: I did not check on RT_SiteConfig.pm whether there is a setting 
there.


cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Order of actions on ticket

2006-12-26 Thread Odhiambo Washington
* On 23/12/06 18:40 +0100, Ing. Tomas Valenta wrote:
| 
| Hello there,
| 
| when I add comment or corespondence to ticket AND change the owner, the 
message
| is recorded first and then the owner changed. This is problem. I have a scrip
| that sends any new entry to owner so I need the owner change to come first.
| Now I first have to change owner in ticket properties and then add the 
message.
| 
| Could anyone help with this? I was unable to find solution in ML or hack it 
myself.

Why do you think RT should be able to read your mind? It follows the 
order of events, but cannot contemplate that order.


cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] One requirement for RT notifications

2006-10-23 Thread Odhiambo Washington
Hi Roy,

Thank you so much for this valuable clue.

Before I posted this question, I had thoroughly scoured the wiki for 
clues, because I do remember seeing such a discussion, but I just could 
not find it!
Perhaps there is something Jesse will do to secure the wiki.


* On 23/10/06 10:53 +0100, Roy El-Hames wrote:
| Odhiambo;
| This been discussed few times before, and its on the wiki (but it 
| appears the wiki been attacked again) ..
| To add the initial request to the mail message what you need is to 
| change the Transaction template to something similar to:
| 
| RT-Attach-Message: yes
| 
| 
| This is an admin correspondence:
| {$RT::WebURL}Ticket/Display.html?id={$Ticket-id}
| 
| {$Transaction-CreatedAsString}: Request {$Ticket-id} was acted upon.
| Transaction: {$Transaction-Description}
|   Queue: {$Ticket-QueueObj-Name}
| Subject: {$Transaction-Subject || $Ticket-Subject || (No subject 
| given)}
|   Owner: {$Ticket-OwnerObj-Name}
|   Ticket Queue = {$Ticket-QueueObj-Name}
|  Requestors: {$Ticket-RequestorAddresses}
|  Status: {$Ticket-Status}
| Ticket URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket-id} 
| 
| 
| This ticket is now assigned to {$Ticket-OwnerObj-Name}
| =
| The initial request was:
| 
| {
| my $cont  = '';
| my $trans = $Ticket-Transactions;
| $trans-Limit(FIELD = 'Type', VALUE = 'Create');
| while (my $tran = $trans-Next) {
|my $attach = $tran-Attachments;
|while (my $msg = $attach-Next){
|  next unless $msg-ContentType =~ m!^(text/plain|message|text$)!i;
|  my $content = $msg-Content;
|  next unless $content;
|  next if $cont eq $content;
|  $cont = $content;
|  my $wrapper = Text::Wrapper-new(columns=70);
|  $cont = $wrapper-wrap($cont);
| }  
| }
|  $cont ;
| }
| =
| 
| Barry L. Kline wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
| 
| Odhiambo WASHINGTON wrote:
|   
| * On 22/10/06 12:54 -0400, Barry L. Kline wrote:
| | -BEGIN PGP SIGNED MESSAGE-
| | Hash: SHA1
| | 
| | Odhiambo Washington wrote:
| |  Hello All,
| |  
| |  I need to implement a request my users have raised regarding RT. 
| |  These are mainly to do with scrips, templates and display.
| |  My RT instance has been running so smoothly that my grasp of these 
| |  things has somehow faded ;)
| |  
| | [snip]
| |  
| |  This transaction appears to have no content
| |  
| |  cut
| |  
| |  My scrip for this is:
| |  
| |  On Owner Change Notify Owner with template Transaction
| |  
| |  My Transaction template has a last line: {$Transaction-Content()}
| |  
| |  
| |  Q: Why could it be failing to pull the ticket content?
| | 
| | I'm no expert, but I believe it's because the $Transaction object refers
| | to the transaction where the owner was changed.  The Content() of this
| | transaction is empty.  What you need to do is retrieve the ticket object
| | that this transaction refers to and pull its content.
| 
| 
| Hi Barry,
| 
| Your explanation seems very correct!
| Do you have any pointers how I can achieve that though?
| 
| 
| 
| I'm afraid not.  As I said, I'm no expert on this.  You can find out
| some more by studying the various templates in the software itself, or
| by looking at the wiki:  http://wiki.bestpractical.com
| 
| Barr
| -BEGIN PGP SIGNATURE-
| Version: GnuPG v1.2.6 (GNU/Linux)
| 
| iD8DBQFFO/fpCFu3bIiwtTARAkOIAJwPxkaBnRuQT46Y4qjdsslzVn+HtQCfd9dS
| HrekJEPylKlo/f426axL7NI=
| =z+lp
| -END PGP SIGNATURE-
| ___
| http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
| 
| Community help: http://wiki.bestpractical.com
| Commercial support: [EMAIL PROTECTED]
| 
| 
| Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
| Buy a copy at http://rtbook.bestpractical.com
| 
|   

cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] One requirement for RT notifications

2006-10-21 Thread Odhiambo Washington
Hello All,

I need to implement a request my users have raised regarding RT. 
These are mainly to do with scrips, templates and display.
My RT instance has been running so smoothly that my grasp of these 
things has somehow faded ;)

I have been asked to modify RT to achieve the following:

1. Whenever a ticket is assigned to a user by our RT mistress, the new 
   owner is notified by e-mail. However, the new owners would like the
   contents of the ticket within the notification mail. Currently, they
   receive something like this:

cut
From: JohnDoe via RT [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed, 18 Oct 2006 15:28:43 +0300
Subject: [domain.tld #49113] Else Thing Some Subject


Wed Oct 18 15:28:42 2006: Request 9113 was acted upon.
Transaction: Given to wash by JohnDoe
   Queue: info
 Subject: Else Thing Some Subject
   Owner: wash
  Requestors: [EMAIL PROTECTED]
  Status: open
 Ticket URL: http://rt.wananchi.com/Ticket/Display.html?id=49113 


This transaction appears to have no content

cut

My scrip for this is:

On Owner Change Notify Owner with template Transaction

My Transaction template has a last line: {$Transaction-Content()}


Q: Why could it be failing to pull the ticket content?



cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] migrating to a different host, maintaining MySQL data, but changing $rtname

2006-10-18 Thread Odhiambo Washington
* On 17/10/06 13:56 -0400, Lee Whalen wrote:
|   Hello all, so I'm in a bit of a pickle.  I rolled out RT 3.4.5 on a 
| testing-only basis to a low-end desktop server running Debian Etch 
| called, cleverly enough, 'betart', fully intending to purchase better 
| server-grade hardware and migrate over to it once we worked all our 
| initial mistakes out.  I then purchased RT Essentials which, in 
| hindsight, I should've done first.
| 
|   After we'd been using RT on the beta system for a month or so, got 
| all the wrinkles ironed out and got a whole bunch of really useful 
| ticketing data on it, we purchased a shiny new Proliant box and slapped 
| Debian Etch on it as well.  We were able to get RT, Apache, and all the 
| fixin's up and running without incident, but now it came time to migrate 
| the data over.  I followed the method described in RT Essentials on pgs 
| 73-75 regarding backing up and restoring the MySQL DB, but then I 
| noticed the paragraph that says Make sure RT's configuration file has 
| the same values it had before the crash.  It's particularly important to 
| get the $rtname and $Organization variables right, or RT won't work 
| properly.  Well, $Organization is no problem, that stays the same from 
| the beta to the deployed box.  However, $rtname is definitely changing 
| from 'betart.nellymoser.com' to 'rt.nellymoser.com'.  Other than that 
| change, RT_SiteConfig.pm remains the same.
| 
|   My question for you guys is, what does changing $rtname break between 
| RT instances, and is it possible to just do a recursive search through 
| the dump of the beta mysql db before importing it into the 
| soon-to-be-production box and change all instances of betart to rt 
| without causing the whole thing to crash and burn horribly?  Second 
| question, there's a small amount of entries (such as deleted or 
| unprivileged accounts, queues, etc) that we created that we don't use 
| any more.  Is it possible to manually zap those from the MySQL DB and 
| not hurt anything?  I think the Perl snippet on page 71-72 of RT 
| Essentials would do it, but that appears to be on a per-transaction 
| basis.  I don't know if that could be modified to delete entire queues, 
| groups, or users.  Would it?
| 
| Many thanks in advance for all your assistance!

http://wiki.bestpractical.com/index.cgi?RenameInstance


cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] rt-3.6.1 glitch - Transactions not supported by database

2006-08-24 Thread Odhiambo Washington
* On 23/08/06 11:55 -0600, David Oberlitner wrote:
| Point of clarification: Recompiling DBD::mysql
| must be against the updated MySQL client library.
| One approach may be to update the MySQL install on
| the RT box prior to recompiling DBD::mysql.

Hi David,

You win!

I had upgraded from mysql 4.1.19 to 4.1.21 on the RT host box. I did not
think this would change much, but I recompiled DBD::mysql and now it 
works again.

Thank you.


cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] rt-3.6.1 glitch

2006-08-20 Thread Odhiambo Washington
* On 19/08/06 21:32 +0300, Alexandr Ciornii wrote:
| Hello!
| 
| 2006/8/19, Odhiambo Washington [EMAIL PROTECTED]:
| I have rt-3.6.1 installed on a host different than the DB server. Today
| I moved my database from one server to the other (dump then import).
| MySQL-4.0.26 was in the old box, while the new box is MySQL-4.0.27.
| Both support InnoDB.
| 
| error:  Transactions not supported by database at
| 
| Did you check that new DB is using InnoDB engine?
| Maybe that information was not stored in the dump, and it was
| recreated as MyISAM.

Yes, I did. I used 'show create table and it tells me the tables are 
InnoDB. The new db server supports InnoDB by default.

BTW, I left out an important detail. With native rt-3.4.5, this error
is not there at all. It's only when I use rt-3.6.1 web UI to access the
same DB.

I just realized that the change of the DB server does not really count.
I pointed back to old DB server and same error pops up. So it's 
something I need to fix with rt-3.6.1, perhaps one of the deps is broken 
on my test box.


cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] rt-3.6.1 glitch

2006-08-19 Thread Odhiambo Washington

I have rt-3.6.1 installed on a host different than the DB server. Today 
I moved my database from one server to the other (dump then import).
MySQL-4.0.26 was in the old box, while the new box is MySQL-4.0.27.
Both support InnoDB.

Now when I try to Take a ticket, the following error pops up:


error:  Transactions not supported by database at 
/usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm line 1657.
context:
... 
1653:   sub begin_work {
1654:   my $dbh = shift;
1655:   return $dbh-set_err(1, Already in a transaction)
1656:   unless $dbh-FETCH('AutoCommit');
1657:   $dbh-STORE('AutoCommit', 0); # will croak if driver doesn't support it
1658:   $dbh-STORE('BegunWork', 1); # trigger post commit/rollback action
1659:   return 1;
1660:   }
1661:   
... 
code stack: /usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm:1657
/usr/local/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm:682
/opt/rt3/lib/RT/Ticket_Overlay.pm:3044
/opt/rt3/lib/RT/Ticket_Overlay.pm:3111
/opt/rt3/share/html/Ticket/Display.html:128
/opt/rt3/share/html/autohandler:279


Not sure what changed, really, and neither can I figure out the fix..



cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] RT as customer facing ticketing system.

2006-08-11 Thread Odhiambo WASHINGTON
* On 10/08/06 20:38 -0700, Sudhir Damle wrote:
| Hi All, 
| 
| We need to install customer facing ticketing system so that customers can
| create / check status / comment on the ticket using web interface. Once
| ticket is created our admins will work to resolve it. 
| 
| Checking if anybody has implemented RT in above fashion. 
| 
| Thanks for any inputs, suggestions, thoughts, 
| 

Hello Sudhir,

Next time, please don't hijack a threat. Start your own.
Now that you know, please see the following Wiki entry:

http://wiki.bestpractical.com/index.cgi?AutogeneratedPassword

PS: There are other considerations you have to make when using
this, regarding permissions to Create Ticket, View Tickets...
but those are basic RT stuff that you must know.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Experience is what causes a person to make new mistakes instead of old
ones.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Autoreply template for each queue

2006-06-27 Thread Odhiambo Washington
* On 27/06/06 11:51 -0400, Serge Bianda wrote:
| How can I configure an autoreply template in RT to send emails
| out based on the queue. For instance if I have a queue called support 
| and the email alias associated to it is [EMAIL PROTECTED] and 
| another queue called suggestion with the email alias associated to it 
| is [EMAIL PROTECTED] and so forth. Basically when I send an 
| email to [EMAIL PROTECTED] I should get an autoreply from 
| [EMAIL PROTECTED] and if I send it to [EMAIL PROTECTED] I 
| should get an autoreply from [EMAIL PROTECTED] How do I make 
| that happen?

The last time I created templates (it was rt-2.x) it was as simple as 

1. create the templates with unique names and unique content
2. Disable the global autoreply scrip
3. create a scrip for each queue based on the template you've
   created for it.

I hope that applies even today, with rt-3.6.0.


HTH

cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


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


Re: [rt-users] rt-3.4.5 - rt-3.6.0

2006-06-26 Thread Odhiambo Washington
* On 25/06/06 11:27 +0300, Alexandr Ciornii wrote:
| Hello, Odhiambo.
| 
| You wrote:
| 
|  Having read the notes that came with rt-3.6.0, I realized that there 
|  were no changes to the schema and the acls from 3.4.5 so I decided
|  I could test out rt-3.6.0
| There are no changes in DB schema, new content only.
| Code you quoted looks for this content. Look at etc/upgrade/3.5.1/content.
| File 'UPGRADING' does not have information about this.
| 
| run
| sbin/rt-setup-database --action insert --datadir etc/upgrade/3.5.1

Hello Alexandr,

That did solve my problem. I hope Jesse notices this thread and includes 
that important bit in the UPGRADING document, which I read over and over
after I hit this snag. I was initially ashamed of posting to the list,
but well, I am happy it was Jesse's mistake ;)


cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


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