Friday, July 11, 2008

Helpski

Anyone out there who has successfully installed RT Tickets on HardyHeron release of Ubuntu please can you get in touch as ism currently in need of assistance... I'm attempting to set up a database using the scripts... Here is the bash gubbins and the error:


root@ralph:~# /usr/sbin/rt-setup-database-3.6 --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 rtdb.
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
[Fri Jul 11 15:54:12 2008] [crit]: Connect Failed Access denied for user 'rtuser'@'localhost' (using password: YES)
at /usr/sbin/rt-setup-database-3.6 line 428 (/usr/share/request-tracker3.6/lib/RT.pm:361)
Connect Failed Access denied for user 'rtuser'@'localhost' (using password: YES)
at /usr/sbin/rt-setup-database-3.6 line 428
root@ralph:~#



The password is correct by the way, as i can login as that user... I have tried using the wiki on: Best Practical's Wiki


Email me at mcparty @ gmail.com (spaces added for security purposes.

Cheers all.

Adz

2 Comments:

Blogger McParty said...

Sorted it. There was another file with database details which had some stupid default values which contridicted with another file. If anyones interested in hearing more let me know.

9:38 AM  
Blogger junglistposse said...

Hey McParty, thanks for the post. your solution is probably the same as mine. took me ages to find it, but thought i'd post so it's out there.

i'd made an error in RT_SiteConfig, i had:

Set($DatabaseHost , '');
Set($DatabaseRTHost , '');

so it didnt know where to look for the db.

so replaced it with

Set($DatabaseHost , 'localhost');
Set($DatabaseRTHost , 'localhost');

now all working fine

4:18 PM  

Post a Comment

<< Home