<br><font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">I never received a response to my initial
question so I wiped out the entire machine and started from scratch. It's
now running Fedora Core 5, mysql 5.0.22, apache 2.2.2, mod_perl 2.0.2,
and perl 5.8.8. I installed rt3.6.1, built the database and then loaded
it from an export I took before doing the upgrade. Everything seems fine,
but then I see the following error in /var/log/messages:</font>
<br><font size=2 face="sans-serif">Aug 22 10:56:13 eaisvr RT: DBD::mysql::st
execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm
line 492. (/usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm:492)</font>
<br>
<br><font size=2 face="sans-serif">This line seems to be before and after
the above line:</font>
<br><font size=2 face="sans-serif">Aug 22 10:51:55 eaisvr RT: RT::Handle=HASH(0xa9929e0)
couldn't execute the query 'SELECT main.* FROM Attributes main   WHERE
((main.ObjectId = 1)) AND ((main.ObjectType = 'RT::System')) ' at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm
line 505   DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xa9929e0)',
'SELECT main.* FROM Attributes main   WHERE ((main.ObjectId = ...')
called at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 231
   DBIx::SearchBuilder::_DoSearch('RT::Attributes=HASH(0xbdee4b0)')
called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 71      
 RT::Attributes::_DoSearch('RT::Attributes=HASH(0xbdee4b0)') called
at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 491  
DBIx::SearchBuilder::Next('RT::Attributes=HASH(0xbdee4b0)') called at /opt/rt3/lib/RT/Attributes_Overlay.pm
line 79     RT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xbdee4b0)')
called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 72     RT::Attributes::_DoSearch('RT::Attributes=HASH(0x</font>
<br>
<br><font size=2 face="sans-serif">Since I've changed out everything else
and I'm still getting the same results I'm starting to think this is related
to the mysqld config (my.cnf), the actual data, or the RT code. Can anyone
point me in some direction to narrow this down?</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif"><br>
Matthew T. Hartwell<br>
Lead Systems Analyst<br>
Lanier Worldwide, Inc.<br>
Ph: (770) 723-4229<br>
Fx: (770) 723-4284<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Matthew Hartwell <mhartwel@lanier.com></b>
</font>
<br><font size=1 face="sans-serif">Sent by: rt-users-bounces@lists.bestpractical.com</font>
<p><font size=1 face="sans-serif">08/17/2006 08:33 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">rt-users@lists.bestpractical.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[rt-users] Problems creating ticket
in RT v3.6.1</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Hey all,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
A bit of background --</font><font size=3> </font><font size=2 face="sans-serif"><br>
We've just upgraded our RT install from v3.4.5 to v3.6.1. We're running
Apache 2.0.54, mod_perl 2.0.1, perl 5.8.6, and mysql 4.1.20 under Fedora
Core 4.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Currently non-superusers are able to query and update the database, but
get the error below when trying to create a ticket on the 'Create a New
Ticket' page (or via email). The really odd thing is that when a superuser
tries to create a ticket the same way, no error occurs. I've checked the
mysqld.log and no errors are being shown there and the users can see the
rest of the tickets so I'm sure the database is actually still there are
running. Any thoughts?</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Thanks,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Matthew T. Hartwell<br>
Lead Systems Analyst<br>
Lanier Worldwide, Inc.<br>
Ph: (770) 723-4229<br>
Fx: (770) 723-4284</font>
<div align=center>
<br><font size=3 face="Verdana"><b><br>
System error</b></font></div>
<p>
<table width=100%>
<tr valign=top>
<td width=9%><font size=1 face="Verdana"><b>error:</b> </font><font size=3> </font>
<td width=90%><font size=1 face="Verdana">DBD::mysql::st execute failed:
MySQL server has gone away at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 70.</font><font size=3> </font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>context:</b> </font><font size=3> </font>
<td>
<br>
<table width=100%>
<tr valign=top>
<td width=6%><font size=1 face="Verdana"><b>...</b> </font><font size=3> </font>
<td width=93%>
<tr valign=top>
<td><font size=1 face="Verdana"><b>66:</b> </font><font size=3> </font>
<td><font size=1 face="Verdana">if ($self->{lock}) {</font><font size=3>
</font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>67:</b> </font><font size=3> </font>
<td><font size=1 face="Verdana">local $self->{dbh}->{RaiseError}
= 1;</font><font size=3> </font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>68:</b> </font><font size=3> </font>
<td>
<tr valign=top>
<td><font size=1 face="Verdana"><b>69:</b> </font><font size=3> </font>
<td><font size=1 face="Verdana">my $sth = $self->{dbh}->prepare_cached(q{SELECT
RELEASE_LOCK(?)}, {}, 1);</font><font size=3> </font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>70:</b> </font><font size=3> </font>
<td><font size=1 color=red face="Verdana">$sth->execute($self->{lockid});</font><font size=3>
</font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>71:</b> </font><font size=3> </font>
<td>
<tr valign=top>
<td><font size=1 face="Verdana"><b>72:</b> </font><font size=3> </font>
<td><font size=1 face="Verdana">$self->{lock} = 0;</font><font size=3>
</font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>73:</b> </font><font size=3> </font>
<td><font size=1 face="Verdana">} </font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>74:</b> </font><font size=3> </font>
<td><font size=1 face="Verdana">}</font><font size=3> </font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>...</b> </font><font size=3> </font>
<td></table>
<br>
<tr valign=top>
<td><font size=1 face="Verdana"><b>code stack:</b> </font><font size=3> </font>
<td><font size=1 face="Verdana">/usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:70<br>
/usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:81<br>
/usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:87<br>
/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1259</font></table>
<br><font size=3><br>
</font><font size=3 color=blue><u><br>
</u></font><a href=http://eaisvr.lanier.com/Ticket/Create.html#raw><font size=3 color=blue><u>raw
error</u></font></a><font size=3><br>
<br>
<br>
<br>
<br>
</font><font size=3><tt><br>
DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 70.<br>
<br>
<br>
Trace begun at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Exceptions.pm
line 129<br>
HTML::Mason::Exceptions::rethrow_exception('DBD::mysql::st execute failed:
MySQL server has gone away at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 70.^J') called at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 70<br>
Apache::Session::Lock::MySQL::release_read_lock('Apache::Session::Lock::MySQL=HASH(0xb80dba0)')
called at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm line
81<br>
Apache::Session::Lock::MySQL::release_all_locks('Apache::Session::Lock::MySQL=HASH(0xb80dba0)')
called at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm line
87<br>
Apache::Session::Lock::MySQL::DESTROY('Apache::Session::Lock::MySQL=HASH(0xb80dba0)')
called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1259<br>
eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1259<br>
HTML::Mason::Request::comp(undef, undef, undef, 'TimeEstimated', '', 'Status',
'new', 'new-DependsOn', '', 'Queue', 'General', 'AdminCc', '', 'Requestors',
'', 'Object-RT::Ticket--CustomField-2-Values', '', 'InitialPriority', 0,
'Starts', '', 'Attach', '', 'TimeWorked', '', 'id', 'new', 'Object-RT::Ticket--CustomField-4-Value',
'', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '', 'Subject', 'Test ticket
4', 'Object-RT::Ticket--CustomField-4-Values-Magic', 1, 'new-RefersTo',
'', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft-TimeUnits', 'minutes',
'TimeLeft', '', 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '', 'MemberOf-new',
'', 'Content', 'This is test ticket 4', 'Due', '', 'TimeWorked-TimeUnits',
'minutes', 'Object-RT::Ticket--CustomField-2-Values-Magic', 1) called at
/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 460<br>
eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
460<br>
eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
412<br>
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb6602f8)')
called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm line
168<br>
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb6602f8)')
called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm line
826<br>
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa551970)',
'Apache2::RequestRec=SCALAR(0xbb5c2f4)') called at /opt/rt3.6.1/bin/webmux.pl
line 123<br>
eval {...} at /opt/rt3.6.1/bin/webmux.pl line 123<br>
RT::Mason::handler('Apache2::RequestRec=SCALAR(0xbb5c2f4)') called at -e
line 0<br>
eval {...} at -e line 0</tt></font><font size=3><br>
</font><font size=2><tt>_______________________________________________<br>
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users<br>
<br>
Community help: http://wiki.bestpractical.com<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 http://rtbook.bestpractical.com</tt></font>
<br>