Installation problem

Hello,

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?

Thanks,

Wagner Sartori Junior

Wagner Sartori Junior wrote:

Hello,

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.

— RT-IR-2.4.1/lib/RT/IR.pm 2009-01-12 15:22:19.000000000 -0700
+++ RT-IR-2.4.2/lib/RT/IR.pm 2009-11-24 13:55:53.000000000 -0700
@@ -46,7 +46,7 @@
package RT::IR;

-our $VERSION = ‘2.4.1’;
+our $VERSION = ‘2.4.2’;

use 5.008003;
use warnings;
@@ -190,7 +190,7 @@
sub States {
my %arg = ( Queue => undef, Active => 1, Inactive => 0, @_ );

  • my @queues = !$arg{‘Queue’} ? ( values %STATES )
  • my @queues = !$arg{‘Queue’} ? (@QUEUES)
    : ref $arg{‘Queue’}? @{ $arg{‘Queue’} } : ( $arg{‘Queue’} );

Randy Smith


http://perlstalker.blogspot.com/

I’m getting the following error when running “make install” - could you give me a pointer as to what
I’ve done wrong please?

rm -f /opt/rt/bin/cgi/webrt.cgi
ln  /opt/rt/bin/suid_wrapper /opt/rt/bin/cgi/webrt.cgi
chmod 4755 /opt/rt/bin/cgi/webrt.cgi
rm -f /opt/rt/bin/cgi/admin-webrt.cgi
ln  /opt/rt/bin/suid_wrapper /opt/rt/bin/cgi/admin-webrt.cgi
chmod 4755 /opt/rt/bin/cgi/admin-webrt.cgi
#  Main, read-only directories.
chown -R root /opt/rt
chown: /opt/rt: Numerical result out of range
make: *** [fixperms] Error 1

I’m using:

GNU make 3.78.1
perl 5.005_03

Best regards

Kevin Golding

Sounds like the permissions on either /opt /opt/rt or and/or
/opt/rt/transactions are wrong.

Now sorted thanks, my root user is actually an admin user (I’m running on a virtual server you see)
and wasn’t in the rt group.

Kevin Golding

Hello,

I am having trouble installing RT onto Redhat Linux 7. This is the order
that I am installing dependencies:

  1. installed mysql server v3.23.41
  2. installed the following perl modules for mysql:
    Data Dumper
    DBI 1.20
    Msql-Mysql module v 1.2216
  3. Install Apache server with mod_per according to the instructions in
    www.helgrim.com/rtdocs/installation.html
  4. Install rest of perl module dependencies that are listed using the
    ’make testdeps’ command in the rt installation directory.
  5. Configure a servername to loop back to my machine’s IP address by adding
    the appropriate line in /etc/hosts
  6. 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

Michael D.

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Yo!

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

The rtracker-db is not created yet at this point.

cheers
– vbi

signature.asc (240 Bytes)

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.

– vbi

signature.asc (240 Bytes)

Hi

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.de www.netways.de

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)

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)


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

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

Matt Kirk - mkirk@sonic.net Sonic.net, Inc.
Business Development Manager 2260 Apollo Way
707.522.1000 x244 (Voice) Santa Rosa, CA 95407
707.547.2199 (Fax) http://www.sonic.net/

-----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


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm

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

read the error.

are you sure that vg-linux.corp.varistygold.com is the right host? it
looks like a typo to me.

seph

That is the correct hostname.

There is both an “A” record and a “CNAME” record for “vg-linux” and
"vg-linux-01" respectively.

Rebecca Kastl
Network Administrator
480-926-1887 x157
Varsity Gold, Inc.

That is the correct hostname.

There is both an “A” record and a “CNAME” record for “vg-linux” and
"vg-linux-01" respectively.

Original error: dbi:Pg:dbname=template1;host=vg-linux.corp.varistygold.com

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:

varistygold.com

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. :slight_smile:

Greg White

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:

varistygold.com

The problem is partly concealed by someone (http://dp.information.com/
?)
sitting on the mis-spelled domain name, so the mis-typed address
vg-linux.corp.varistygold.com does in fact resolve.

Thanks to everyone for your help. It appears that my typo was the source
of my frustration–or at least part of my frustration. :wink:

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

SELECT * FROM RT.PRINCIPALS returned no rows.

Configure options:
./configure --prefix /usr/local/rt --with-db-type=Oracle --with-db-
dba=rt --with-db-database=easit --with-db-rt-user=rt --with-db-rt-
pass=pass

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.

Thanks!
-Micah

smime.p7s (3.63 KB)