<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>AW: [rt-users] RT not connecting to database?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Does this error happen all the time or after a longer time without any usage?<BR>
<BR>
Torsten<BR>
<BR>
-----Original Message-----<BR>
From: rt-users-bounces@lists.bestpractical.com <rt-users-bounces@lists.bestpractical.com><BR>
To: rt-users@lists.bestpractical.com <rt-users@lists.bestpractical.com><BR>
Sent: Mon Jul 23 22:25:23 2007<BR>
Subject: [rt-users] RT not connecting to database?<BR>
<BR>
When I hit my RT install in a browser, I get an Internet Server Error.<BR>
The error_log says:<BR>
<BR>
DBI connect('dbname=rt3;host=10.12.14.149','rt_user',...) failed: Can't<BR>
connect to MySQL server on '10.12.14.149' (13) at<BR>
/usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106<BR>
Connect Failed Can't connect to MySQL server on '10.12.14.149' (13)<BR>
at /usr/lib/perl5/vendor_perl/5.8.8/RT.pm line 205<BR>
[Mon Jul 23 13:20:52 2007] [warn] (104)Connection reset by peer:<BR>
mod_fcgid: read data from fastcgi server error.<BR>
[Mon Jul 23 13:20:52 2007] [error] [client 192.168.2.231] Premature end<BR>
of script headers: mason_handler.fcgi<BR>
<BR>
But:<BR>
<BR>
[root@rt3 ~]# mysqladmin -h 10.12.14.149 -u rt_user -p ping<BR>
Enter password:<BR>
mysqld is alive<BR>
<BR>
The MySQL server is up, running, and available.<BR>
<BR>
--<BR>
***********************************************************************<BR>
* John Oliver <A HREF="http://www.john-oliver.net/">http://www.john-oliver.net/</A> *<BR>
* *<BR>
***********************************************************************<BR>
_______________________________________________<BR>
<A HREF="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</A><BR>
<BR>
Community help: <A HREF="http://wiki.bestpractical.com">http://wiki.bestpractical.com</A><BR>
Commercial support: sales@bestpractical.com<BR>
<BR>
<BR>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<BR>
Buy a copy at <A HREF="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</A><BR>
</FONT>
</P>
</BODY>
</HTML>