AW: Re: Re: RT not connecting to database?

No, firewall was not my idea behind, have you tried from rtwww to rtdb with mysql -uusername -p -h rtdb and this works? Are the rights granded correctly during the installation?

TorstenFrom: rt-users-bounces@lists.bestpractical.com rt-users-bounces@lists.bestpractical.com
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com
Sent: Tue Jul 24 19:20:27 2007
Subject: Re: Re: [rt-users] RT not connecting to database?

Is the server at the same box or on a separated box? How does your setup looks like?

The database is on a separate host. It can be accessed with mysqladmin
from the host running RT, so there isn’t a firewall or anything.

-----Original Message-----

Does this error happen all the time or after a longer time without any usage?

All the time.

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com rt-users-bounces@lists.bestpractical.com
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com
Sent: Mon Jul 23 22:25:23 2007
Subject: [rt-users] RT not connecting to database?

When I hit my RT install in a browser, I get an Internet Server Error.
The error_log says:

DBI connect(‘dbname=rt3;host=10.12.14.149’,‘rt_user’,…) failed: Can’t
connect to MySQL server on ‘10.12.14.149’ (13) at
/usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106
Connect Failed Can’t connect to MySQL server on ‘10.12.14.149’ (13)
at /usr/lib/perl5/vendor_perl/5.8.8/RT.pm line 205
[Mon Jul 23 13:20:52 2007] [warn] (104)Connection reset by peer:
mod_fcgid: read data from fastcgi server error.
[Mon Jul 23 13:20:52 2007] [error] [client 192.168.2.231] Premature end
of script headers: mason_handler.fcgi

I can run mason_handler.fcgi from the command line and get results,
so… some issue with the Apache configuration?

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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