RT 3.6.4 Install Error Messages

Hello,

I’m installing RT 3.6.4 on RHEL 4 and ran into a problem that’s got me stumped:

“make initialize-database” gets part way through and then gives me this error:

Creating predefined searches…[Wed Jul 18 19:26:12 2007] [err]:
RT::System=HASH(0x9918c34) was created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)

Steve

Full log below:

/usr/bin/perl //var/local/rt364/sbin/rt-setup-database --action init
–dba root --prompt-for-dba-password
In order to create or update your RT 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 rt364.
Now populating database schema.
Creating database schema.
Done setting up database schema.
Now inserting database ACLs
Done setting up 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…done.
Now inserting RT data
Creating Superuser ACL…done.
Creating groups…3.4.5.6.7.8.9.done.
Creating users…10.12.done.
Creating queues…1.2.done.
Creating ACL…2.3.done.
Creating ScripActions…1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.
Creating ScripConditions…1.2.3.4.5.6.7.8.9.10.done.
Creating templates…1.2.3.4.5.6.7.8.9.10.11.12.done.
Creating scrips…1.2.3.4.5.6.7.8.9.10.11.12.13.14.done.
Creating predefined searches…[Wed Jul 18 19:26:12 2007] [err]:
RT::System=HASH(0x9918c34) was created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:12 2007] [err]: RT::Attribute=HASH(0x8ee2958) was
created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:12 2007] [err]: RT::Attribute=HASH(0x8ee2958) was
created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:12 2007] [err]: RT::Date=HASH(0x992fc30) was
created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:13 2007] [err]: RT::Attribute=HASH(0x8ee2958) was
created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:13 2007] [crit]: Can’t call method “id” without a
package or object reference at
/var/local/rt342/local/lib/RT/Record_Local.pm line 298, line
463. (/var/local/rt364/lib/RT.pm:361)
Can’t call method “id” without a package or object reference at
/var/local/rt342/local/lib/RT/Record_Local.pm line 298, line 463.
make: *** [initialize-database] Error 255

Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)

At Wednesday 7/18/2007 03:55 PM, Stephen Turner wrote:

Hello,

I’m installing RT 3.6.4 on RHEL 4 and ran into a problem that’s got
me stumped:

“make initialize-database” gets part way through and then gives me this error:

Creating predefined searches…[Wed Jul 18 19:26:12 2007] [err]:
RT::System=HASH(0x9918c34) was created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)

Steve

Answering my own question - debugging the database install script
showed me that some code from my old 3.4.2 install was being invoked

  • I had left PERL5LIB set pointing to the old install. Unsetting that
    variable solved the problem.

Steve

check customizations, I see Record_Local.pm in the logOn 7/18/07, Stephen Turner sturner@mit.edu wrote:

Hello,

I’m installing RT 3.6.4 on RHEL 4 and ran into a problem that’s got me stumped:

“make initialize-database” gets part way through and then gives me this error:

Creating predefined searches…[Wed Jul 18 19:26:12 2007] [err]:
RT::System=HASH(0x9918c34) was created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)

Steve

Full log below:

/usr/bin/perl //var/local/rt364/sbin/rt-setup-database --action init
–dba root --prompt-for-dba-password
In order to create or update your RT 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 rt364.
Now populating database schema.
Creating database schema.
Done setting up database schema.
Now inserting database ACLs
Done setting up 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…done.
Now inserting RT data
Creating Superuser ACL…done.
Creating groups…3.4.5.6.7.8.9.done.
Creating users…10.12.done.
Creating queues…1.2.done.
Creating ACL…2.3.done.
Creating ScripActions…1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.
Creating ScripConditions…1.2.3.4.5.6.7.8.9.10.done.
Creating templates…1.2.3.4.5.6.7.8.9.10.11.12.done.
Creating scrips…1.2.3.4.5.6.7.8.9.10.11.12.13.14.done.
Creating predefined searches…[Wed Jul 18 19:26:12 2007] [err]:
RT::System=HASH(0x9918c34) was created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:12 2007] [err]: RT::Attribute=HASH(0x8ee2958) was
created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:12 2007] [err]: RT::Attribute=HASH(0x8ee2958) was
created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:12 2007] [err]: RT::Date=HASH(0x992fc30) was
created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:13 2007] [err]: RT::Attribute=HASH(0x8ee2958) was
created without a CurrentUser
1 (/var/local/rt364/lib/RT/Base.pm:94)
[Wed Jul 18 19:26:13 2007] [crit]: Can’t call method “id” without a
package or object reference at
/var/local/rt342/local/lib/RT/Record_Local.pm line 298, line
463. (/var/local/rt364/lib/RT.pm:361)
Can’t call method “id” without a package or object reference at
/var/local/rt342/local/lib/RT/Record_Local.pm line 298, line 463.
make: *** [initialize-database] Error 255

Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

Best regards, Ruslan.