Recently installed the latest RTIR over the RT AMI Image.
Install and configuration appear to be correct however I am not able to create incidents, investigations or anything else but tickets with both a regular and admin users. Just get a permission denied error.
Perhaps I am doing something wrong. Any assistance is much appreciated.
Is there anything in the logs when you perform this action? Can you confirm that the root user still has superuser? Its possible the rights were changed
Seems like I found a solution. I created Queues for the incidents, investigations, countermeasure lifecycles and now I can create records for each of these. Assuming this is a good fix.’
By the way, I used the AWS AMI for RT as the base for this which overwrites the default root password.
This may have been an issue that I missed with initdb. The admin password set by the RT AMI does not appear to work.
sudo make initdb
/usr/bin/perl -I. -Ilib -I/opt/rt5/local/lib -I/opt/rt5/lib /opt/rt5/sbin/rt-setup-database --action insert --datadir etc --datafile etc/initialdata --dba admin --prompt-for-dba-password --package RT::IR --ext-version 5.0.1
In order to create or update your RT database, this script needs to connect to your mysql instance on localhost (port ‘’) as admin
Please specify that user’s database password below. If the user has no database
password, just press return.
Password:
Working with:
Type: mysql
Host: localhost
Port:
Name: rt5
User: rt_user
DBA: admin
Failed to connect to dbi:mysql:dbname=rt5;host=localhost as user ‘admin’: Access denied for user ‘admin’@‘localhost’ (using password: YES)…returned with error: 65280
I believe I figured it out. initdb was looking for a password for the admin user, however there was no password set in MySQL. Went into the MySQL shell and and set a password for admin, now initdb ran.
Looks like it skipped over the queues I had manually created:
Now inserting data.
[24242] [Thu Feb 17 15:33:39 2022] [error]: Queue already exists (/opt/rt5/sbin/…/lib/RT/Handle.pm:1088)
[24242] [Thu Feb 17 15:33:39 2022] [error]: Queue already exists (/opt/rt5/sbin/…/lib/RT/Handle.pm:1088)
[24242] [Thu Feb 17 15:33:39 2022] [error]: Queue already exists (/opt/rt5/sbin/…/lib/RT/Handle.pm:1088)
[24242] [Thu Feb 17 15:33:39 2022] [error]: Queue already exists (/opt/rt5/sbin/…/lib/RT/Handle.pm:1088)
Done inserting data.