RTIR 1.0.1 installation Problem

Dear all,

According the README File I removed the old RTIR directory:

  1. Remove the old RTIR files:
    rm -r /opt/rt3/local/html/RTIR

RTIR installs perfectly well, but while working I got the following error
Message below. When reinstalling a link in the html directory:

ln -s …/share/html/RTIR

RTIR comes back to work. It this a bug, or do I have to change a
configuration somewhere?

- Peter

error: could not find component for path '/RTIR/Elements/MakeClicky’
context:

149: die “Cannot make alias without caller"
150: unless defined $Exception::Class::Caller;
151:
152: no strict ‘refs’;
153: *{”$Exception::Class::Caller::$alias"} = sub { $subclass->throw(@_)
};
154: }
155:
156: eval $code;
157:

code stack: /usr/share/perl5/Exception/Class.pm:153
/usr/share/perl5/HTML/Mason/Request.pm:978
/usr/share/request-tracker3/html/Callbacks/RTIR/Ticket/Elements/ShowMessage
Headers/Default:2
/usr/share/request-tracker3/html/Elements/Callback:58
/usr/share/request-tracker3/html/Ticket/Elements/ShowMessageHeaders:28
/usr/share/request-tracker3/html/Ticket/Elements/ShowTransaction:70
/usr/share/request-tracker3/html/Ticket/Elements/ShowHistory:65
/usr/share/request-tracker3/html/Ticket/Display.html:37
/usr/share/request-tracker3/html/autohandler:163

_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag, Security Engineer, Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
SWITCH, Limmatquai 138, CH-8001 Zurich, Switzerland
E-mail: peter.haag@switch.ch Web: http://www.switch.ch/

Dear all,

According the README File I removed the old RTIR directory:

  1. Remove the old RTIR files:
    rm -r /opt/rt3/local/html/RTIR

RTIR installs perfectly well, but while working I got the following
error Message below. When reinstalling a link in the html directory:

ln -s …/share/html/RTIR

RTIR comes back to work. It this a bug, or do I have to change a
configuration somewhere?

  • Peter

error: could not find component for path '/RTIR/Elements/MakeClicky’
context:

149: die “Cannot make alias without caller"
150: unless defined $Exception::Class::Caller;
151:
152: no strict ‘refs’;
153: *{”$Exception::Class::Caller::$alias"} = sub { $subclass->throw(@_) };
154: }
155:
156: eval $code;
157:

code stack: /usr/share/perl5/Exception/Class.pm:153
/usr/share/perl5/HTML/Mason/Request.pm:978
/usr/share/request-tracker3/html/Callbacks/RTIR/Ticket/Elements/ShowMessage
Headers/Default:2
/usr/share/request-tracker3/html/Elements/Callback:58
/usr/share/request-tracker3/html/Ticket/Elements/ShowMessageHeaders:28
/usr/share/request-tracker3/html/Ticket/Elements/ShowTransaction:70
/usr/share/request-tracker3/html/Ticket/Elements/ShowHistory:65
/usr/share/request-tracker3/html/Ticket/Display.html:37
/usr/share/request-tracker3/html/autohandler:163


_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag, Security Engineer, Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
SWITCH, Limmatquai 138, CH-8001 Zurich, Switzerland
E-mail: peter.haag@switch.ch Web: http://www.switch.ch/


RTIR mailing list
RTIR@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rtir

Mhhhh,… the full path looks funny to me. normally it should have
the form: RT_ROOT ( where the “share” dir lives ) and
…/share/html/Ticket/…
(e.g. /usr/local/packages/rt3/share/html/Ticket/… or similar)

did you edit the RT_ROOT in the RTIR Makefile correctly?

I’m having some other problems here too with 1.0.1RC1:

I’ve send the follwing to rtir-bugs@bestpractical.com:

FYI:

At 12:38 +0100 29-10-2003, Jansen Robert wrote:

Jansen Robert wrote:

I’m having some other problems here too with 1.0.1RC1:

I’ve send the follwing to rtir-bugs@bestpractical.com:

FYI:

At 12:38 +0100 29-10-2003, Jansen Robert wrote:

Mhhh,… After some quick testing on a freash 1.0.1RC1 install:

  1. got some errors during install: in the creating ACL section:

foobar# make initdb
/usr/local/packages/rt3/sbin/rt-setup-database --datafile
etc/initialdata --dba root --prompt-for-dba-password --action
insert In order to create a new database and grant RT access
to that database,
this script needs to connect to your mysql instance on localhost as root.
Please specify that user’s database password below. If the user has no
database
password, just press return.

Password: unix passed to setlogsock, but path not available at
/usr/local/lib/perl5/site_perl/5.8.0/Log/Dispatch/Syslog.pm line 66

(known issue: ignore)

Creating groups…391.done.
Creating ACL…[Wed Oct 29 11:04:35 2003] [crit]: 1
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:884)
[Wed Oct 29 11:04:35 2003] [crit]: Can’t load a principal for id
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:885)
Principal not found…[Wed Oct 29 11:04:35 2003] [crit]: 1
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:884)
[Wed Oct 29 11:04:35 2003] [crit]: Can’t load a principal for id

… snipped about 40 similar lines …

Principal not found…[Wed Oct 29 11:04:36 2003] [crit]: 1
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:884)
[Wed Oct 29 11:04:36 2003] [crit]: Can’t load a principal for id
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:885)
Principal not found…done.
Creating queues…(Error: Queue already exists)0.(Error: Queue already
exists)0.(Error: Queue already exists)0.(Error: Queue already
exists)0.done.
Creating custom
fields…50.51.52.53.54.55.56.57.58.59.60.61.62.63.64.done.
Creating templates…19.20.done.
Creating
scrips…80.81.82.83.84.85.86.87.88.89.90.91.92.93.94.95.96.97.98.99.100.101.102.103.104.done.

You say a “fresh install”? Are you sure you are not trying to initdb
onto a database which has already been inititated with RTIR stuff?

From what I can see there was only 1 two line change between
initialdata from 1-0-0 to 1-0-1rc1 - to a scrip. You are probably best
of making this change manually from within the RT UI.

Worked fine here.

John
JANET-CERT

At 14:40 +0000 06-11-2003, John Green wrote:

Jansen Robert wrote:

I’m having some other problems here too with 1.0.1RC1:

I’ve send the follwing to rtir-bugs@bestpractical.com:

FYI:

At 12:38 +0100 29-10-2003, Jansen Robert wrote:

Mhhh,… After some quick testing on a freash 1.0.1RC1 install:

  1. got some errors during install: in the creating ACL section:

foobar# make initdb
/usr/local/packages/rt3/sbin/rt-setup-database --datafile
etc/initialdata --dba root --prompt-for-dba-password --action
insert In order to create a new database and grant RT
access to that database,
this script needs to connect to your mysql instance on localhost as root.
Please specify that user’s database password below. If the user
has no database
password, just press return.

Password: unix passed to setlogsock, but path not available at
/usr/local/lib/perl5/site_perl/5.8.0/Log/Dispatch/Syslog.pm line 66

(known issue: ignore)

Creating groups…391.done.
Creating ACL…[Wed Oct 29 11:04:35 2003] [crit]: 1
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:884)
[Wed Oct 29 11:04:35 2003] [crit]: Can’t load a principal for id
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:885)
Principal not found…[Wed Oct 29 11:04:35 2003] [crit]: 1
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:884)
[Wed Oct 29 11:04:35 2003] [crit]: Can’t load a principal for id

… snipped about 40 similar lines …

Principal not found…[Wed Oct 29 11:04:36 2003] [crit]: 1
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:884)
[Wed Oct 29 11:04:36 2003] [crit]: Can’t load a principal for id
(/usr/local/packages/rt3/lib/RT/ACE_Overlay.pm:885)
Principal not found…done.
Creating queues…(Error: Queue already exists)0.(Error: Queue
already exists)0.(Error: Queue already exists)0.(Error: Queue
already exists)0.done.
Creating custom fields…50.51.52.53.54.55.56.57.58.59.60.61.62.63.64.done.
Creating templates…19.20.done.
Creating
scrips…80.81.82.83.84.85.86.87.88.89.90.91.92.93.94.95.96.97.98.99.100.101.102.103.104.done.

You say a “fresh install”? Are you sure you are not trying to
initdb onto a database which has already been inititated with RTIR
stuff?

From what I can see there was only 1 two line change between
initialdata from 1-0-0 to 1-0-1rc1 - to a scrip. You are probably
best of making this change manually from within the RT UI.

Worked fine here.

John
JANET-CERT


RTIR mailing list
RTIR@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rtir

Well,… A RTIR 1.0.1RC1 install involves removing the old 1.0.0 tree.
That’s somewhat “fresh” to me. But,… point taken,… I already had
the old 1.0.0 data in my database, yes.

I didn’t figure that in this case an upgrade would do an “install
1.0.1RC1 and only check the old data in the database for
correctness”,… so I did a make install.

My fault.,… just checked the scrips in the 4 RTIR queues, yep,…
triple occurences… OK, deleted these extra scrips.

But there is still another issue, see below:

  1. seems that incidents, incident reports and blocks from version
    1.0.0 don’t have their “state” set.

In version 1.0.1RC1 they show in the incident view page as ( e.g. a
linked incident report) as “53: Testing RTIR 1 ((no value))”

Stealing or changing owner does not update these old incident’s state.

Via the Edit Incident page one can NOT edit their state. (feature request ??)

Newly created incidents in 1.0.1RC1 have their state set correctly…

… Nope,… their state changes to (no value) somewhere also.

I can’t seem to reproduce this for now, …

Hold on: When viewing the incident queue in RT !!! the incident
state is correct !!! but not in RTIR !!

Hope this helps debugging

P.S. please add me to the rtir-bugs list if such a seperate list exists. TIA

Regards

TIA

Regards

Brussels University
Pleinlaan 2
Computer Center VUB/ULB (VUBnet)
Ing. Robert Jansen
B-1050 Brussels
Belgium (Europe)

email: rjansen@vub.ac.be
Tel: +32-2-650.36.94
Secr: +32-2-650.37.38
Fax: +32-2-650.37.40