<br><font size=2 face="sans-serif">Hey all,</font>
<br>
<br><font size=2 face="sans-serif">A bit of background --</font>
<br><font size=2 face="sans-serif">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>
<br>
<br><font size=2 face="sans-serif">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>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br>
<br><font size=2 face="sans-serif">Matthew T. Hartwell<br>
Lead Systems Analyst<br>
Lanier Worldwide, Inc.<br>
Ph: (770) 723-4229<br>
Fx: (770) 723-4284<br>
</font>
<div align=center>
<br><font size=3 face="Verdana"><b>System error</b></font></div>
<p>
<table width=100%>
<tr valign=top>
<td width=9%><font size=1 face="Verdana"><b>error:</b> </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>
<tr valign=top>
<td><font size=1 face="Verdana"><b>context:</b> </font>
<td><font size=2><br>
</font>
<table width=100%>
<tr valign=top>
<td width=4%><font size=1 face="Verdana"><b>...</b> </font>
<td width=95%>
<tr valign=top>
<td><font size=1 face="Verdana"><b>66:</b> </font>
<td><font size=1 face="Verdana">if ($self->{lock}) {</font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>67:</b> </font>
<td><font size=1 face="Verdana">local $self->{dbh}->{RaiseError}
= 1;</font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>68:</b> </font>
<td>
<tr valign=top>
<td><font size=1 face="Verdana"><b>69:</b> </font>
<td><font size=1 face="Verdana">my $sth = $self->{dbh}->prepare_cached(q{SELECT
RELEASE_LOCK(?)}, {}, 1);</font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>70:</b> </font>
<td><font size=1 color=red face="Verdana">$sth->execute($self->{lockid});</font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>71:</b> </font>
<td>
<tr valign=top>
<td><font size=1 face="Verdana"><b>72:</b> </font>
<td><font size=1 face="Verdana">$self->{lock} = 0;</font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>73:</b> </font>
<td><font size=1 face="Verdana">} </font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>74:</b> </font>
<td><font size=1 face="Verdana">}</font>
<tr valign=top>
<td><font size=1 face="Verdana"><b>...</b> </font>
<td></table>
<br>
<tr valign=top>
<td><font size=1 face="Verdana"><b>code stack:</b> </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>
<br><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>
<br><font size=3><tt>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<br>
</tt></font>
<br>