<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I had success by using Debian’s snapshot server and downgrading MySQL 5.6.27-2 and then running rt-setup-fulltext-index. That worked perfectly.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You can safely “upgrade” back to your current version after the setup script runs – the fulltext index maintenance script will run fine.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If downgrading worked, please update my Debian bug report with the version that did not work for you:
</span><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840780">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840780</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">James
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> rt-users [mailto:rt-users-bounces@lists.bestpractical.com]
<b>On Behalf Of </b>Alex Hall<br>
<b>Sent:</b> Monday, November 14, 2016 7:57 AM<br>
<b>To:</b> martin.wheldon@greenhills-it.co.uk<br>
<b>Cc:</b> rt-users<br>
<b>Subject:</b> Re: [rt-users] Enabling full text index, getting "MySQL server has gone away"<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thanks for the correction. I hate to say it, but this didn't change the results I'm seeing at all. I just updated /etc/mysql/conf.d/mysql.cnf, restarted MySQL, and ran the full-text index command again. I got
the exact same errors as before.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Nov 14, 2016 at 11:50 AM, Martin Wheldon <<a href="mailto:martin.wheldon@greenhills-it.co.uk" target="_blank">martin.wheldon@greenhills-it.co.uk</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Hi Alex,<br>
<br>
I think the mysql configuration be "max_allowed_packet" rather than "max_packet_size".<br>
<br>
Best Regards<br>
<br>
Martin<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
On 2016-11-14 13:54, Alex Hall wrote:<o:p></o:p></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I should also say that I've already tried setting my MySQL<br>
max_packet_size. 500M didn't do it, so I upped it to 5000M, restarting<br>
the service both times. That hasn't changed the warnings I'm getting,<br>
and I really don't think any attachments are over 5GB. Plus, the first<br>
few warnings are that "st execute failed", not about attachments not<br>
being indexed.<br>
<br>
On Mon, Nov 14, 2016 at 7:46 AM, Alex Hall <<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Hi all,<br>
As the subject says, I'm trying to enable full text indexing. I've<br>
updated MySQL to 5.7 (on Debian 8) and ran<br>
<br>
/opt/rt4/sbin/rt-setup-fulltext-index --dba root --dba-password pwd<br>
<br>
However, I get a bunch of warnings about executing the SQL<br>
statements and, after that, that attachments can't be indexed. In<br>
all cases, the main problem is the same: "the MySQL server has gone<br>
away". The initial connection was successful, so I'm not sure what<br>
the problem is. I also tested the root login after the 5.7 update,<br>
just to be sure it worked, and it was fine. Has anyone ever seen<br>
this happen? Any suggestions on what to do about it? Thanks!<br>
<br>
--<br>
<br>
Alex Hall<br>
Automatic Distributors, IT department<br>
<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
--<br>
<br>
Alex Hall<br>
Automatic Distributors, IT department<br>
<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">---------<br>
RT 4.4 and RTIR training sessions, and a new workshop day!<br>
<a href="https://bestpractical.com/training" target="_blank">https://bestpractical.com/training</a><br>
* Los Angeles - January 9-11 2017<o:p></o:p></p>
</blockquote>
<p class="MsoNormal">---------<br>
RT 4.4 and RTIR training sessions, and a new workshop day! <a href="https://bestpractical.com/training" target="_blank">
https://bestpractical.com/training</a><br>
* Los Angeles - January 9-11 2017<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Alex Hall<o:p></o:p></p>
</div>
<p class="MsoNormal">Automatic Distributors, IT department<o:p></o:p></p>
</div>
<p class="MsoNormal"><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>