Problems with install

Trying to install RT 3.6.7 on CentOS,MYSQL box. When trying to run the
make initialize-database I get
DBI connect(’;host=localhost’,‘root’,…) failed: Access denied for user
’root’@‘localhost’ (using password: YES) at
//opt/rt3/sbin/rt-setup-database line 105
Failed to connect to dbi:mysql:;host=localhost as root: Access denied for
user ‘root’@‘localhost’ (using password: YES) at
//opt/rt3/sbin/rt-setup-database line 105, line 1.
make: *** [initialize-database] Error 255

I am able to login to mysql as root with the password that I supplied with
make. Could someone point me in the right direction.
Thanks
Bo

Bo, you need to edit the etc/RT_SiteConfig.pm file to include the
database connection info ( as well as other critical config info ).

Set($DatabaseName , ‘rt3’);
Set($DatabaseType , ‘mysql’);
Set($DatabaseUser, “root”);
Set($DatabasePassword , ‘yourpassword’);

Have another look at the install doc - the RT_SiteConfig configuration
step comes before initializing the db.

Bo Lynch wrote:

OK i got that to work and installed RT and initialized the databse with no
problems. But when I restart httpd it fails. In the error_log i get
Tue Jul 08 13:03:31 2008] [error] \nRT couldn’t load RT config file
/etc/rt3/RT_SiteConfig.pm as:\n user: root \n group: root\n\nThe
file is owned by user root and group root. \n\nThis usually means that
the user/group your webserver is running\nas cannot read the file. Be
careful not to make the permissions\non this file too liberal, because it
contains database passwords.\nYou may need to put the webserver user in
the appropriate group\n(root) or change permissions be able to run
succesfully.\n\nUnrecognized character \xE2 at /etc/rt3/RT_SiteConfig.pm
line 32.\nCompilation failed in require at
/usr/lib/perl5/vendor_perl/5.8.8/RT.pm line 152.\nBEGIN
failed–compilation aborted at /usr/sbin/webmux.pl line 78.\nCompilation
failed in require at (eval 2) line 1.\n
[Tue Jul 08 13:03:31 2008] [error] Can’t load Perl file:
/usr/sbin/webmux.pl for server 127.0.0.1:0, exiting…

In my httpd conf file apache is the user that my webserver is running. The
/usr/sbin/webmux.pl file exists and has permissions of 755 root.root.On Tue, July 8, 2008 11:35 am, J.P. Racine wrote:

Bo, you need to edit the etc/RT_SiteConfig.pm file to include the
database connection info ( as well as other critical config info ).

Set($DatabaseName , ‘rt3’);
Set($DatabaseType , ‘mysql’);
Set($DatabaseUser, “root”);
Set($DatabasePassword , ‘yourpassword’);

Have another look at the install doc - the RT_SiteConfig configuration
step comes before initializing the db.

Bo Lynch wrote:

Trying to install RT 3.6.7 on CentOS,MYSQL box. When trying to run the
make initialize-database I get
DBI connect(‘;host=localhost’,‘root’,…) failed: Access denied for user
‘root’@‘localhost’ (using password: YES) at
//opt/rt3/sbin/rt-setup-database line 105
Failed to connect to dbi:mysql:;host=localhost as root: Access denied
for
user ‘root’@‘localhost’ (using password: YES) at
//opt/rt3/sbin/rt-setup-database line 105, line 1.
make: *** [initialize-database] Error 255

I am able to login to mysql as root with the password that I supplied
with
make. Could someone point me in the right direction.
Thanks

I have gotton the make initialize-databse to work and have the
web-interface setup and is working but I cannot login. It tells me uknown
user or password. I have tries root,and rt_user. looked in mysql database
and see the user root under the users table not sure if I’m doing
something wrong.
Thanks
BoOn Tue, July 8, 2008 11:35 am, J.P. Racine wrote:

Bo, you need to edit the etc/RT_SiteConfig.pm file to include the
database connection info ( as well as other critical config info ).

Set($DatabaseName , ‘rt3’);
Set($DatabaseType , ‘mysql’);
Set($DatabaseUser, “root”);
Set($DatabasePassword , ‘yourpassword’);

Have another look at the install doc - the RT_SiteConfig configuration
step comes before initializing the db.

Bo Lynch wrote:

Trying to install RT 3.6.7 on CentOS,MYSQL box. When trying to run the
make initialize-database I get
DBI connect(‘;host=localhost’,‘root’,…) failed: Access denied for user
‘root’@‘localhost’ (using password: YES) at
//opt/rt3/sbin/rt-setup-database line 105
Failed to connect to dbi:mysql:;host=localhost as root: Access denied
for
user ‘root’@‘localhost’ (using password: YES) at
//opt/rt3/sbin/rt-setup-database line 105, line 1.
make: *** [initialize-database] Error 255

I am able to login to mysql as root with the password that I supplied
with
make. Could someone point me in the right direction.
Thanks