I am trying to run some RT queries using the RT boilerplate
from the O' Reilly All About RT presentation page 188 by Jesse Vincent
as a normal user on a existing RT installation.
#!/usr/bin/perl -w
use strict;
use lib qw(/opt/rt3/local/lib /opt/rt3/lib);
use RT;
# Load the config file
On Fri, Feb 24, 2012 at 12:49 PM, Richard McMahon r...@ast.cam.ac.uk wrote:
I am trying to run some RT queries using the RT boilerplate
from the O' Reilly All About RT presentation page 188 by Jesse Vincent
as a normal user on a existing RT installation.
#!/usr/bin/perl -w
use strict;
use
This produces the error.
Log file '/local/rt3/var/log/rt.log' couldn't be written or created.
RT can't run. at /local/rt3/lib/RT.pm line 318.
Is there a way to change the location of the of rt.log from within a perl
script. I do not have root priveledges and only want read access for
On 02/24/2012 12:49 PM, Richard McMahon wrote:
#!/usr/bin/perl -w
use strict;
use lib qw(/opt/rt3/local/lib /opt/rt3/lib);
use RT;
# Load the config file
RT::LoadConfig();
Between RT::LoadConfig() and RT::Init(), you should be able to insert
lines like so to change the variables you need:
On Fri, Feb 24, 2012 at 1:26 PM, Richard McMahon r...@ast.cam.ac.uk wrote:
This produces the error.
Log file '/local/rt3/var/log/rt.log' couldn't be written or created.
RT can't run. at /local/rt3/lib/RT.pm line 318.
Is there a way to change the location of the of rt.log from within a