I’d installed a brand new RT, RTFM installation. Everything works OK I
can login my tickets are being created, …
Then I installed RTIR exactly how README file says, now I’m getting in
apache error_log:
[Tue Nov 24 15:42:35 2009] [error] [client x.x.x.x] Global symbol
"@QUEUES" requires explicit package name at
/opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 193.\nBEGIN not safe
after errors–compilation aborted at
/opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 240.\nCompilation
failed in require at /opt/rt3/bin/…/lib/RT.pm line 627.\n
My RT_SiteConfig.pm has:
Set(@Plugins, ‘RT::FM’, ‘RT::IR’);
I’d installed a brand new RT, RTFM installation. Everything works OK I
can login my tickets are being created, …
Then I installed RTIR exactly how README file says, now I’m getting in
apache error_log:
[Tue Nov 24 15:42:35 2009] [error] [client x.x.x.x] Global symbol
“@QUEUES” requires explicit package name at
/opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 193.\nBEGIN not safe
after errors–compilation aborted at
/opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 240.\nCompilation
failed in require at /opt/rt3/bin/…/lib/RT.pm line 627.\n
My RT_SiteConfig.pm has:
Set(@Plugins, ‘RT::FM’, ‘RT::IR’);
Do you have any clue?
I reverted line 193 to what it was in 2.4.1. I don’t what the correct
answer is but that “works” for me.
Install rest of perl module dependencies that are listed using the
‘make testdeps’ command in the rt installation directory.
Configure a servername to loop back to my machine’s IP address by adding
the appropriate line in /etc/hosts
Add the virtual host in apache’s httpd.conf file as described in the
documentation at www.helgrim.com/rtdocs/installation.html. Note: the same
servername that added to /etc/hosts is used as the servername directive in
the virtualhost entry. Similarly, the IP address in the opening virtualhost
tag is the same IP address that specified in the /etc/hosts file
Is there a particular order I should install modules or applications? Are
there any module versions I should stay away from? Does the ‘make testdeps’
command accurately display what modules I have or don’t have?
Any help would be appreciated. I need to set this bad boy up for my company
and I am running out of time. Thanks
I’m trying to install rt (2.0.13) on a Debian/testing box (when will the
debian pkg be ready?)
As I am not a perl programmer at all, I’ve not investigated further. But
I haven’t found anything relevant on the archives on a quick search,
either.
any hints?
[rtracker@atlas rt-2-0-13]$ make install
mkdir -p //lhome/rtracker/rt/bin
mkdir -p //lhome/rtracker/rt/WebRT/data
mkdir -p //lhome/rtracker/rt/WebRT/sessiondata
mkdir -p //lhome/rtracker/rt/etc
mkdir -p //lhome/rtracker/rt/lib
mkdir -p //lhome/rtracker/rt/WebRT/html
mkdir -p //lhome/rtracker/rt/local/WebRT/html
/usr/bin/perl tools/initdb ‘Pg’ ‘/usr’ ‘localhost’ ‘’ ‘rtracker’
‘rtracker-db’ create
Now creating a database for RT.
Enter the Pg password for rtracker:
Creating Pg database rtracker-db.
DBD::Pg::db do failed: ERROR: parser: parse error at or near “-” at
/usr/share/perl5/DBIx/DataSource/Driver.pm line 77, line 1.
ERROR: parser: parse error at or near “-” at
/usr/share/perl5/DBIx/DataSource/Driver.pm line 77, line 1.
make: *** [createdb] Error 2
Creating Pg database rtracker-db.
DBD::Pg::db do failed: ERROR: parser: parse error at or near “-” at
/usr/share/perl5/DBIx/DataSource/Driver.pm line 77, line 1.
ERROR: parser: parse error at or near “-” at
/usr/share/perl5/DBIx/DataSource/Driver.pm line 77, line 1.
make: *** [createdb] Error 2
This problem solved itself by me using the Debian pkg instead of
installing myself.
I’m trying to install rt (2.0.13) on a Debian/testing box (when will the debian pkg be ready?)
I don´t know when the debian package will be ready, but i just installed rt on a sililar System (woddy). I worked without any problems. Check the dependencies, surly on or two will not be fullfilled. You can do this with the testdeps tool in the /tools directory, as descibed in the README. If you have all dependencies satisfied, check your installtion of mysql.
Nik Engel NETWAYS GmbH
Senior Systems Engineer Deutschherrnstr. 47a
Fon.0911/92885-13 D-90429 Nürnberg
Fax.0911/92885-33 nengel@netways.dewww.netways.de
perl sbin/rt-test-dependencies shows everyting is ok, but
during ‘make initialize-database’ it dies:
–8<--------------------------------------------
Creating mysql database rt3.
Now populating database schema.
Creating database schema.
schema sucessfully inserted
Now inserting database ACLs
Now inserting RT core system objects
Checking for existing system user…not found. This appears to be a new
installation.
Creating system user…Can’t locate object method “begin_work” via
package “DBI::db” (perhaps you forgot to load “DBI::db”?) at
/usr/local/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line
497, line 416.
*** Error code 255
Stop in /root/downloads/rt-3-0-0.
–8<--------------------------------------------
I have mysql 3.23.55, DBD::mysql installed, Bundle::DBI (without
RPC::PlClient based on Net::Daemon)
What DBD::mysql? You need a recent DBD::mysql to support database
transactions. RT 3.0.0 doesn’t enforce a recent enough dependency.
Does bringing up DBD::mysql to current help?On Thu, Apr 03, 2003 at 11:29:54AM +0300, Aleksandr Guidrevitch wrote:
Hi, all
perl sbin/rt-test-dependencies shows everyting is ok, but
during ‘make initialize-database’ it dies:
–8<--------------------------------------------
Creating mysql database rt3.
Now populating database schema.
Creating database schema.
schema sucessfully inserted
Now inserting database ACLs
Now inserting RT core system objects
Checking for existing system user…not found. This appears to be a new
installation.
Creating system user…Can’t locate object method “begin_work” via
package “DBI::db” (perhaps you forgot to load “DBI::db”?) at
/usr/local/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line
497, line 416.
*** Error code 255
Stop in /root/downloads/rt-3-0-0.
–8<--------------------------------------------
I have mysql 3.23.55, DBD::mysql installed, Bundle::DBI (without
RPC::PlClient based on Net::Daemon)
I have successfully installed RT 3.03 on a non-production box to get
familiar with it and had no problems. I am now installing it on a Redhat
7.3 running kernel 2.4.21 and keep getting the error listed below. I’m at a
loss as to why this is failing. The rt3 database is being created and
populated with some records.
I have all the correct modules installed per “make perl
sbin/rt-test-dependencies --with-mysql --with-modperl1”. I reinstalled the
DBD::mysql-2.1028 just to make sure it wasn’t a mysql lib problem.
Here is the error. Any ideas?
[root@admin rt-3-0-3]# make initialize-database
/usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba root
–prompt-for-dba-password
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: Now creating a database for RT.
Creating mysql database rt3.
Now populating database schema.
Creating database schema.
schema sucessfully inserted
Now inserting database ACLs
Now inserting RT core system objects
Checking for existing system user…not found. This appears to be a new
installation.
Creating system user…[Wed Jul 9 05:35:52 2003] [crit]: Found a principal
(1) that was neither a user nor a group
(/opt/rt3/lib/RT/Principal_Overlay.pm:93)
Can’t call method “Id” on an undefined value at
/opt/rt3/lib/RT/Group_Overlay.pm line 541.
make: *** [initialize-database] Error 9
Anyone have any ideas regarding this error I’m getting during installation?
Creating system user…[Wed Jul 9 05:35:52 2003] [crit]: Found a principal
(1) that was neither a user nor a group
(/opt/rt3/lib/RT/Principal_Overlay.pm:93)
Can’t call method “Id” on an undefined value at
/opt/rt3/lib/RT/Group_Overlay.pm line 541.
make: *** [initialize-database] Error 9
-----Original Message-----
From: Matt Kirk [mailto:mkirk@sonic.net]
Sent: Tuesday, July 08, 2003 10:56 PM
To: ‘rt-users@lists.fsck.com’
Subject: [rt-users] Installation problem
I have successfully installed RT 3.03 on a non-production box to get
familiar with it and had no problems. I am now installing it
on a Redhat
7.3 running kernel 2.4.21 and keep getting the error listed
below. I’m at a
loss as to why this is failing. The rt3 database is being created and
populated with some records.
I have all the correct modules installed per “make perl
sbin/rt-test-dependencies --with-mysql --with-modperl1”. I
reinstalled the
DBD::mysql-2.1028 just to make sure it wasn’t a mysql lib problem.
Here is the error. Any ideas?
[root@admin rt-3-0-3]# make initialize-database
/usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init
–dba root
–prompt-for-dba-password
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: Now creating a database for RT.
Creating mysql database rt3.
Now populating database schema.
Creating database schema.
schema sucessfully inserted
Now inserting database ACLs
Now inserting RT core system objects
Checking for existing system user…not found. This appears
to be a new
installation.
Creating system user…[Wed Jul 9 05:35:52 2003] [crit]:
Found a principal
(1) that was neither a user nor a group
(/opt/rt3/lib/RT/Principal_Overlay.pm:93)
Can’t call method “Id” on an undefined value at
/opt/rt3/lib/RT/Group_Overlay.pm line 541.
make: *** [initialize-database] Error 9
Everything appears to be unpacked and installed correctly. However, when
I finally go to perform the “make --initialize-database” and am prompted
for the dba password, I get nothing. This means that I type the
password, hit enter, and get no response from the system. After a few
minutes, I get the following error message:
DBI
connect(‘dbname=template1;host=vg-linux.corp.varistygold.com’,‘postgres’
,…) failed: could not connect to server: Connection timed out at
//opt/rt3/sbin/rt-setup-database line 80
Failed to connect to
dbi:Pg:dbname=template1;host=vg-linux.corp.varistygold.com as postgres:
could not connect to server: Connection timed out at
//opt/rt3/sbin/rt-setup-database line 80, line 1.
make: *** [initialize-database] Error 255
OS is RH Linux 9.0
The database in use is Postgres 7.3
Help would be appreciated as I’ve been struggling for acouple weeksnow
with getting RT installed and working.
Rebecca Kastl
Network Administrator
480-926-1887 x157
Varsity Gold, Inc.
DBI
connect(‘dbname=template1;host=vg-linux.corp.varistygold.com’,‘postgres’
,…) failed: could not connect to server: Connection timed out at
//opt/rt3/sbin/rt-setup-database line 80
Failed to connect to
dbi:Pg:dbname=template1;host=vg-linux.corp.varistygold.com as postgres:
could not connect to server: Connection timed out at
//opt/rt3/sbin/rt-setup-database line 80, line 1.
make: *** [initialize-database] Error 255
Either you’ve made a cut’n’paste error transcribing the error in your
original message, or your mail headers are misleading us as to the
nature of your internal DNS structure - I highly doubt that your
internal DNS structure contains:
N.B. the transposition of characters. If your DNS structure is put
together this way, please accept my apologies and smack those who
administer your DNS.
Either you’ve made a cut’n’paste error transcribing the error in your
original message, or your mail headers are misleading us as to the
nature of your internal DNS structure - I highly doubt that your
internal DNS structure contains:
Thanks to everyone for your help. It appears that my typo was the source
of my frustration–or at least part of my frustration.
Re-running ‘make initialize-database’ this morning after correcting
everything (essentially re-'make’ing the package) has allowed me to
progress a bit.
Rebecca Kastl
Network Administrator
480-926-1887 x157
Varsity Gold, Inc.
Attempting fresh installation of RT 3.4.4 (along with 3.5.2 just in
case) onto Mac OS X 10.4.2 Server with Oracle 10g (10.1.0.3.0). All
dependencies installed successfully, make install returns cleanly.
make initdb fails, however, with the following:
Checking for existing system user…not found. This appears to be a
new installation.
Creating system user…[Thu Sep 1 11:45:39 2005] [crit]: Found a
principal () that was neither a user nor a group (/usr/local/rt/lib/
RT/Principal_Overlay.pm:127)
[Thu Sep 1 11:45:39 2005] [crit]: Can’t call method “Id” on an
undefined value at /usr/local/rt/lib/RT/Group_Overlay.pm line 574.
(/usr/local/rt/lib/RT.pm:293)
make: *** [initialize-database] Error 255
Any suggestions? This is actually a dry run for a migration target –
I hope to migrate from Postgres/Fedora, so if principal creation is
failing that would be resolved by sucking in data from postgres, that
will happen eventually.